A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2016-June/144909.html below:

[Python-Dev] PEP: Ordered Class Definition Namespace

[Python-Dev] PEP: Ordered Class Definition Namespace [Python-Dev] PEP: Ordered Class Definition NamespaceRaymond Hettinger raymond.hettinger at gmail.com
Wed Jun 8 00:27:35 EDT 2016
> On Jun 7, 2016, at 4:12 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> By the time decorators run, the original execution namespace is no
> longer available - the contents have been copied into the class dict,
> which will still be a plain dict (and there's a lot of code that calls
> PyDict_* APIs on tp_dict, so replacing the latter with a subclass is
> neither trivial nor particularly safe in the presence of extension
> modules).

That makes sense.

+1 all around.


Raymond
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4