On Thu, May 10, 2012 at 2:57 AM, Antoine Pitrou wrote:
> sys.implementation.metadata looks like a completely over-engineered
> concept. Please, let's just make sys.implementation a dict and stop
> bothering about ordering and iterability.
I'm fine with ditching "metadata". The PEP will say
sys.i
The specific reason cache_tag is mandatory is so that importlib can rely on
it. Setting it to None for a given implementation will automatically
disable caching of bytecode files.
--
Sent from my phone, thus the relative brevity :)
___
Python-Dev mailing
On Thu, May 10, 2012 at 3:39 PM, Steven D'Aprano wrote:
>> Aye. Add a rule that all implementation specific (i.e. not defined in
>> the PEP) keys must be prefixed with an underscore and I'm sold.
>
>
> So now we're adding a new convention to single underscore names? Single
> underscore names are i
Thanks for bringing this up. I've added my opinion to the tracker
issue -- I think it's a bug and should be fixed. We should have a
uniform way of checking for issubclass/isinstance.
--Guido
On Fri, May 11, 2012 at 3:33 AM, George-Cristian Bîrzan
wrote:
> As per http://bugs.python.org/issue12029
ACTIVITY SUMMARY (2012-05-04 - 2012-05-11)
Python tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.
Issues counts and deltas:
open3418 (+19)
closed 23143 (+42)
total 26561 (+61)
Open issues wit
On Fri, 11 May 2012 10:16:42 -0400, Terry Reedy wrote:
> On 5/11/2012 2:21 AM, Mark Shannon wrote:
> > +1 to a pure Python version.
>
> Since new_class would be used rarely and not in inner loops, and (if I
> understand) should mostly contain branching logic rather than looping,
> speed hardly
On 5/11/2012 2:21 AM, Mark Shannon wrote:
Nick Coghlan wrote:
The question now moves to the implementation strategy - whether we
redirect to the C machinery as originally proposed (either via
__build_class__ or a new _types module) or just reimplement the
algorithm in pure Python. The latter i
As per http://bugs.python.org/issue12029 , ABC registration cannot be
used for exceptions. This was introduced in a commit that fixed a
recursion limit problem back in 2008
(http://hg.python.org/cpython/rev/d6e86a96f9b3/#l8.10). This was later
fixed in a different way and improved upon in the 2.x b