Re: [Python-ideas] The prohibition overrides the class method

Thank you all very much. Perhaps I'll leave that idea, Python too flexible language for such things.

Cython has a `final` for preventing a class from being overridden ( http://docs.cython.org/src/userguide/extension_types.html#subclassing). I don't know if Cython supports `final` methods outside of final classes. They might be more interested in implementing that feature. On Tue, Nov 17, 2015, 12:30 AM Иван Спиненко <spinenkoia@gmail.com> wrote:

On 18 November 2015 at 08:48, Michael Selik <mike@selik.org> wrote:
+1, as a lot of Cython's power comes from allowing developers to deliberately (and selectively) *opt out* of Python's dynamic features. They even provide an annotation mode that shows how far you've progressed in rendering a section of code entirely static: http://docs.cython.org/src/quickstart/cythonize.html#determining-where-to-ad... Regards, Nick. P.S. For folks interested in learning more about that, I'd recommend Caleb Hattingh's PyCon Australia talk about using Cython to speed up and parallelise code hotspots: http://docs.cython.org/src/quickstart/cythonize.html#determining-where-to-ad... -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia

On 18 November 2015 at 12:41, Nick Coghlan <ncoghlan@gmail.com> wrote:
Oops, the actual video link: https://www.youtube.com/watch?v=NfnMJMkhDoQ Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia

Cython has a `final` for preventing a class from being overridden ( http://docs.cython.org/src/userguide/extension_types.html#subclassing). I don't know if Cython supports `final` methods outside of final classes. They might be more interested in implementing that feature. On Tue, Nov 17, 2015, 12:30 AM Иван Спиненко <spinenkoia@gmail.com> wrote:

On 18 November 2015 at 08:48, Michael Selik <mike@selik.org> wrote:
+1, as a lot of Cython's power comes from allowing developers to deliberately (and selectively) *opt out* of Python's dynamic features. They even provide an annotation mode that shows how far you've progressed in rendering a section of code entirely static: http://docs.cython.org/src/quickstart/cythonize.html#determining-where-to-ad... Regards, Nick. P.S. For folks interested in learning more about that, I'd recommend Caleb Hattingh's PyCon Australia talk about using Cython to speed up and parallelise code hotspots: http://docs.cython.org/src/quickstart/cythonize.html#determining-where-to-ad... -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia

On 18 November 2015 at 12:41, Nick Coghlan <ncoghlan@gmail.com> wrote:
Oops, the actual video link: https://www.youtube.com/watch?v=NfnMJMkhDoQ Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (3)
-
Michael Selik
-
Nick Coghlan
-
Иван Спиненко