Eric Snow added the comment:
What ended up happening with this?
--
nosy: +eric.snow
versions: +Python 3.6 -Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue16
New submission from Eric Snow:
In Lib/importlib/_bootstrap.py, module_from_spec() specifies that the current
deprecation warning should be an error in 3.6. So, here's a patch.
--
assignee: eric.snow
components: Interpreter Core
files: module_from_spec.diff
keywords: patch
mes
Changes by Eric Snow :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
New submission from Eric Snow:
Doc/reference/compound_stmts.rst needs to be updated to reflect the changes
from PEP 468.
--
assignee: eric.snow
components: Documentation
messages: 275153
nosy: eric.snow
priority: normal
severity: normal
status: open
title: Update the language reference
Changes by Eric Snow :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue28030>
___
Eric Snow added the comment:
Note that most of the changes here have been reverted in changeset
103366:a964b8d2324e9f22a66e458ea72e6d5c8c1fcc93.
--
___
Python tracker
<http://bugs.python.org/issue24
Changes by Eric Snow :
--
Removed message: http://bugs.python.org/msg275185
___
Python tracker
<http://bugs.python.org/issue24254>
___
___
Python-bugs-list mailin
Eric Snow added the comment:
It may be worth refactoring the patch relative to the new C99 support.
--
nosy: +eric.snow
___
Python tracker
<http://bugs.python.org/issue22
Changes by Eric Snow :
--
assignee: eric.snow ->
___
Python tracker
<http://bugs.python.org/issue16221>
___
___
Python-bugs-list mailing list
Unsubscrib
Eric Snow added the comment:
Thanks for pointing this out, Alexander.
--
___
Python tracker
<http://bugs.python.org/issue27576>
___
___
Python-bugs-list mailin
Changes by Eric Snow :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Eric Snow :
--
assignee: eric.snow ->
___
Python tracker
<http://bugs.python.org/issue17421>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Eric Snow :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> behavior
___
Python tracker
<http://bugs.python
Eric Snow added the comment:
LGTM
--
___
Python tracker
<http://bugs.python.org/issue28053>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Changes by Eric Snow :
--
assignee: -> eric.snow
___
Python tracker
<http://bugs.python.org/issue28007>
___
___
Python-bugs-list mailing list
Unsubscrib
Eric Snow added the comment:
Here's a patch to soften the impact of pyc-related problems.
Note:
* Each pyc-related case that previously caused import to fail now results in an
ImportWarning. This applies to both reading and writing .pyc files.
* Each warning has __cause__ set to the c
Changes by Eric Snow :
Added file: http://bugs.python.org/file44604/issue28007.diff
___
Python tracker
<http://bugs.python.org/issue28007>
___
___
Python-bugs-list mailin
Changes by Eric Snow :
Removed file: http://bugs.python.org/file44601/issue28007.diff
___
Python tracker
<http://bugs.python.org/issue28007>
___
___
Python-bugs-list m
Eric Snow added the comment:
I was going to ask Ned, but I'm fine with holding off until 3.7. :)
--
___
Python tracker
<http://bugs.python.org/issue28007>
___
___
Eric Snow added the comment:
With issue #28007 wrapped up, there isn't a lot left to do here. I was
considering that we don't want to abort when we have problems loading a codec
during startup. However, Steve Dower made the point to me that a problem with
the main codec duri
Eric Snow added the comment:
To make sure I'm understanding:
* you are using PyDict_DelItemString() on sys.modules
* a module-level variable in the module is not getting cleaned up when the
module is deleted from sys.modules
* this worked in Python 3.3 but not in 3.5
It may help to h
Eric Snow added the comment:
I agree with Serhiy that __set_name__ should be looked up on the class like all
other special methods. Pickle is a great example why lookup (of __reduce__) on
the instance is a pain.
--
nosy: +eric.snow
___
Python
Eric Snow added the comment:
Hmm. It's not clear what you're after here. The error from your example code
is correct. The valid invocation is:
b.__getattribute__(abs, 'x')
That works just fine. If you want to look up *class* attributes then you must
call __getattrib
New submission from Eric Snow:
tl;dr PyInterpreterState does not need a "modules" field. Attached is a patch
that removes it.
During interpreter startup [1] the sys module is imported using the same C API
[2] as any other builtin module. That API only requires one bit of imp
Eric Snow added the comment:
What's the benefit to adding PyInterpreterState_GetModuleCache()? TBH, it
should only be needed in this short period during startup when the import
system hasn't been bootstrapped yet. After that code can import sys and access
sys.modules from there.
Eric Snow added the comment:
Hmm, actually _PyImport_GetModuleDict() isn't needed to solve the startup
issue. It's still rather internally focused but the same could be said for
PyImport_GetModuleDict(). I guess I'm still not sold on adding a new public
API function for wh
Eric Snow added the comment:
Meh, there really isn't any need for _PyImport_GetModuleDict(). I'll drop it.
Problem solved! :)
--
___
Python tracker
<http://bugs.python.o
Eric Snow added the comment:
The syntax is working correctly. Precedence rules are throwing you off. It
should be more clear if we use parentheses to demonstrate precedence explicitly.
You expected:
a, b = (obj.a, obj.b) if obj else [None, None]
However, what you wrote is equivalent to:
a
Changes by Eric Snow :
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue28550>
___
___
Python-bugs-list mailing list
Unsubscrib
2601 - 2629 of 2629 matches
Mail list logo