[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2013-10-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19331] Revise PEP 8 recommendation for class names

2013-10-31 Thread Ethan Furman
Ethan Furman added the comment: How's this? I liked Barry's simpler Overriding Principle combine with Nick's simpler Class Names. -- Added file: http://bugs.python.org/file32444/issue19331.stoneleaf.03.patch ___ Python tracker

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread Guido van Rossum
Guido van Rossum added the comment: OK. Let's have a function to select a default selector. Can you think of a better name for the parameter? Or maybe there should be two functions? -- ___ Python tracker __

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: > OK. Let's have a function to select a default selector. > Can you think of a better name for the parameter? Or > maybe there should be two functions? I prefer to leave the question to the author of the module, Charles-François :-) --

[issue19421] FileIO destructor imports indirectly the io module at exit

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: I misunderstood the gdb traceback. Display a warning does not reload the io module: in fact, the io module was unloaded and PyImport_ImportModuleLevelObject() already raises an ImportError in this case: ImportError("import of 'io' halted; None in sys.modules")

[issue19230] Reimplement the keyword module in C

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: Original: $ ./python -S -m timeit -s 'import sys' 'import keyword; keyword=None; del sys.modules["keyword"]' 1 loops, best of 3: 149 usec per loop Python patched with keyword_grammar.patch: $ ./python -S -m timeit -s 'import sys' 'import keyword; keyword

[issue19230] Reimplement the keyword module in C

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: "IMO this should be rejected. Failure to improve startup time + more complicated maintenance." What do you mean by "complicated maintenance"? The C module is short and doesn't use complex functions, I don't expect it to change. -- ___

[issue19467] asyncore documentation: redirect users t

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: haypo priority: normal severity: normal status: open title: asyncore documentation: redirect users t ___ Python tracker ___ _

[issue19467] asyncore documentation: redirect users t

2013-10-31 Thread STINNER Victor
New submission from STINNER Victor: The asyncore module is old and has an efficient design: it is not possible to use modern selectors like epoll() or kqueue() before asyncore.poll() function has to recreate a selector at each call. See a better explanation of its author: msg196995. The async

[issue19467] asyncore documentation: redirect users to the new asyncio module

2013-10-31 Thread STINNER Victor
Changes by STINNER Victor : -- title: asyncore documentation: redirect users t -> asyncore documentation: redirect users to the new asyncio module ___ Python tracker ___ ___

[issue16286] Use hash if available to optimize a==b and a!=b for bytes and str

2013-10-31 Thread STINNER Victor
STINNER Victor added the comment: Updated patch. -- Added file: http://bugs.python.org/file32445/compare_hash-2.patch ___ Python tracker ___ _

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Nick Coghlan
Nick Coghlan added the comment: Donald, could you upload an updated patch here that includes both your changes and my docs updates? We'll give people a day to look it over, and then go ahead and commit it and create the tracker issues to update pyvenv/venv and the Mac OS X and Windows install

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Changes by Donald Stufft : Added file: http://bugs.python.org/file32446/combined.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19406] PEP 453: add the ensurepip module

2013-10-31 Thread Donald Stufft
Donald Stufft added the comment: There you go Nick. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2013-10-31 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19468] Relax the type restriction on reloaded modules

2013-10-31 Thread Eric Snow
New submission from Eric Snow: The first thing that importlib.reload() does is to verify that the passed module is an instance of types.ModuleType (Lib/importlib/__init__.py:107). This check seems unnecessary to me. We really don't have a functional need for the check (that I know of). Furt

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2013-10-31 Thread Martin Panter
Martin Panter added the comment: I wrote a basic “urllib.request” handler class that I have been using for HTTP persistent connections. It is called PersistentConnectionHandler; see https://github.com/vadmium/python-iview/blob/80dc1b4/iview/hds.py#L442 I am happy for this to be used as the bas

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88c3a1a3c2ff by Eric Snow in branch 'default': Issue #19413: Restore pre-3.3 reload() semantics of re-finding modules. http://hg.python.org/cpython/rev/88c3a1a3c2ff -- nosy: +python-dev ___ Python tracker

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: As you can see, Nick, I came up with a test that did just about the same thing (which you had suggested earlier :-) ). For good measure I also added a test that replaces a namespace package with a normal one. -- assignee: -> eric.snow resolution: -> fixe

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Changes by Eric Snow : -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: Looks like this broke on windows: == FAIL: test_reload_namespace_changed (test.test_importlib.test_api.Source_ReloadTests) -- Trac

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78d36d54391c by Eric Snow in branch 'default': Issue #19413: Disregard duplicate namespace portions during reload tests. http://hg.python.org/cpython/rev/78d36d54391c -- ___ Python tracker

[issue19469] Duplicate namespace package portions (but not on Windows)

2013-10-31 Thread Eric Snow
New submission from Eric Snow: In changeset 88c3a1a3c2ff you'll find in test_api.py where I threw together a __path__ to compare against the one I was getting (which had 2 identical entries) on my Ubuntu 12.04 workstation. The XP buildbot (http://buildbot.python.org/all/builders/x86%20XP-4%20

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Eric Snow added the comment: Windows looks happy now. I'll look into the duplicate portions separately in issue19469. -- status: open -> pending ___ Python tracker ___

[issue19413] Reload semantics changed unexpectedly in Python 3.3

2013-10-31 Thread Eric Snow
Changes by Eric Snow : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

<    1   2