[issue17047] Fix double double words words

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: AFAIK libffi is maintained externally, so as soon as it gets updated your changes will simply get lost (see #17192). I replied on your python-checkins email. If you still have problems I can add the NEWS entry on 3.x. -- __

[issue17399] test_multiprocessing hang on Windows, non-sockets

2013-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: running kill-python results in Warning -- threading._dangling was modified by test_multiprocessing Warning -- multiprocessing.process._dangling was modified by test_multiprocessing test test_multiprocessing failed -- multiple errors occurred; run in verbose mod

[issue17047] Fix double double words words

2013-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should have made separate new in 3.3 and new in 3.4 patches to begin with. This suggests that we need to recheck with each version. Serhiy and Mathew, could you post your search re's or scripts to use again on occasion? I unlinked the 2.7 news notice, rev826

[issue14707] extend() puzzled me.

2013-03-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg184008 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17047] Fix double double words words

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: The files in Modules/_ctypes/libffi/* shouldn't have been changed, but it probably doesn't matter much. You also got the wrong issue id in Misc/NEWS (c162e2ff15bd). -- ___ Python tracker

[issue17066] Fix test discovery for test_robotparser.py

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue17066] Fix test discovery for test_robotparser.py

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa051c6276a0 by Ezio Melotti in branch '3.3': #17066: test_robotparser now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/fa051c6276a0 New changeset 8fdce849d0b3 by Ezio Melotti in branch 'default': #17

[issue14707] extend() puzzled me.

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset c162e2ff15bd by Terry Jan Reedy in branch '2.7': Issue #14707: add news entry http://hg.python.org/cpython/rev/c162e2ff15bd -- nosy: +python-dev ___ Python tracker ___

[issue17368] Python version of JSON decoder does not work with object_pairs_hook

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch. -- assignee: -> ezio.melotti keywords: +patch stage: test needed -> patch review Added file: http://bugs.python.org/file29384/issue17368.diff ___ Python tracker

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +benjamin.peterson, ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ __

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: `make touch` is now in 2.7, so the patch should be updated. -- ___ Python tracker ___ ___ Python-bugs-

[issue17375] Add docstrings to methods in the threading module

2013-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17323] Disable [X refs, Y blocks] ouput in debug builds

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: > If this is done, it should probably be on by default on all > --with-pydebug buildbots. With "on by default" you mean that the output should be disabled or enabled? > Otherwise I suspect nobody will _ever_ look at its output and we > should just remove the feat

[issue16774] Additional recipes for itertools docs

2013-03-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: I will add drop() to the recipes and possibly take_last() which I would rename add tail(). Sorry, I don't have interest in the others. I don't find them instructive or very useful. -- priority: normal -> low __

[issue17401] io.FileIO closefd parameter is not documented nor shown in repr

2013-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> docs@python components: +Documentation, IO, Library (Lib) nosy: +docs@python, pitrou type: -> enhancement versions: -Python 3.5 ___ Python tracker __

[issue17401] io.FileIO closefd parameter is not documented nor shown in repr

2013-03-11 Thread Robert Collins
New submission from Robert Collins: the docs (http://docs.python.org/3.x/library/io.html#io.FileIO) do not document closefd, and AFAICT it isn't possible to tell if closefd is set after the object is created. Specifically it does not show up in the repr(). >>> import sys >>> sys.stdout <_io.Te

[issue17400] ipaddress.is_private needs to take into account of rfc6598

2013-03-11 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17400] ipaddress.is_private needs to take into account of rfc6598

2013-03-11 Thread Lei Miao
New submission from Lei Miao: Currently: ipaddress.IPv4Network('100.64.1.0/24').is_private == False Given RFC6598, 100.64.0.0/10 is now approved for use as CGN space, and also for rfc1918-like private usage. Could the code be altered so that is_private will return true for 100.64.0.0/10 as we

[issue17345] Portable and extended type specifiers for array module

2013-03-11 Thread Meador Inge
Changes by Meador Inge : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue17399] test_multiprocessing hang on Windows, non-sockets

2013-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: For 3.3 and 3.4, test went on for several minutes putting out [## refs] lines but finally said '1 test OK'. I tried 3.2 again and it never outputs refs lines but fairly soon gives errors. -- ___ Python tracker

[issue17399] test_multiprocessing hang on Windows, non-sockets

2013-03-11 Thread Terry J. Reedy
New submission from Terry J. Reedy: test_multiprocessing is giving multiple errors like Process Process-21: Traceback (most recent call last): File "F:\Python\dev\py27\lib\multiprocessing\process.py", line 258, in _bootstrap self.run() File "F:\Python\dev\py27\lib\multiprocessing\process

[issue17047] Fix double double words words

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9ada209b67f by Terry Jan Reedy in branch '3.3': Issue #17047: remove doubled words added in 3.3 http://hg.python.org/cpython/rev/e9ada209b67f New changeset 908d45fdbecd by Terry Jan Reedy in branch 'default': Merge with 3.3, issue #17047: remove do

[issue17047] Fix double double words words

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd0191a9b5c9 by Terry Jan Reedy in branch '2.7': Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, http://hg.python.org/cpython/rev/cd0191a9b5c9 New changeset 3f5f961262ec by Terry Jan Reedy in branch '3.2': Issue #17047: remove doubled

[issue17047] Fix double double words words

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset e145dddb9d93 by Terry Jan Reedy in branch '2.7': Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, http://hg.python.org/cpython/rev/e145dddb9d93 New changeset e9ba9f21a828 by Terry Jan Reedy in branch '3.2': Issue #17047: remove doub

[issue17047] Fix double double words words

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Terry. -- assignee: docs@python -> terry.reedy ___ Python tracker ___ ___ Python-bugs-l

[issue17047] Fix double double words words

2013-03-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tools/gdb/libpython.py and some other doubles were fixed by rev81772 on the same day this issue was opened. I suspect that the copy had not been updated. -- ___ Python tracker ___

[issue17047] Fix double double words words

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ecb712fcf22 by Terry Jan Reedy in branch '2.7': Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/* http://hg.python.org/cpython/rev/1ecb712fcf22 New changeset e37647470fcf by Terry Jan Reedy in branch '3.2': Issue #17047: removed doubl

[issue17381] IGNORECASE breaks unicode literal range matching

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm working on the patch. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list m

[issue17381] IGNORECASE breaks unicode literal range matching

2013-03-11 Thread Matthew Barnett
Matthew Barnett added the comment: In issue #3511 the range was slightly unusual, so closing it seemed a reasonable approach, but the range in this issue is less clearly a problem. My preference would be to fix it, if possible. -- ___ Python tracker

[issue17299] Test cPickle with real files

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. You forgot to remove close() from some classes, I'll do it myself before committing. -- assignee: -> serhiy.storchaka stage: needs patch -> commit review ___ Python tracker

[issue17299] Test cPickle with real files

2013-03-11 Thread Aman Shah
Aman Shah added the comment: Version 3. -- keywords: +patch Added file: http://bugs.python.org/file29383/issue17299v3.patch ___ Python tracker ___ ___

[issue17353] Plistlib outputs empty data tags when deeply nested

2013-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17381] IGNORECASE breaks unicode literal range matching

2013-03-11 Thread Chris Adams
Chris Adams added the comment: Ezio: given the non-obvious failure, what do you think of at least documenting this and issuing a warning any time both re.UNICODE and re.IGNORECASE are set? -- ___ Python tracker __

[issue17381] IGNORECASE breaks unicode literal range matching

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: Matthew, should this be closed then? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue17392] Python installer for Windows packages wrong zipfile.py

2013-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17392] Python installer for Windows packages wrong zipfile.py

2013-03-11 Thread Simon Wagner
Changes by Simon Wagner : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue17392] Python installer for Windows packages wrong zipfile.py

2013-03-11 Thread Simon Wagner
Simon Wagner added the comment: yep, those match. Sorry for the inconvenience. So I will have to wait a while before I can use long path names. -- ___ Python tracker ___ ___

[issue17392] Python installer for Windows packages wrong zipfile.py

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: You should probably compare it with http://hg.python.org/cpython/file/v3.3.0/Lib/zipfile.py. The one you linked contains changes that will be included in the next 3.3.x release. -- nosy: +ezio.melotti ___ Python track

[issue17392] Python installer for Windows packages wrong zipfile.py

2013-03-11 Thread Simon Wagner
Simon Wagner added the comment: I compared the file in http://hg.python.org/cpython/file/3.3/Lib/zipfile.py with the zipfile.py that is distributed with http://www.python.org/ftp/python/3.3.0/python-3.3.0.msi They differ in several places. I checked several times, so this is either an error i

[issue17395] Wait for live children in test_multiprocessing

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: I added a comment and committed the patch. Thanks for the reviews! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue17395] Wait for live children in test_multiprocessing

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2966e5a55396 by Ezio Melotti in branch 'default': #17395: wait for live children in test_multiprocessing. http://hg.python.org/cpython/rev/2966e5a55396 -- nosy: +python-dev ___ Python tracker

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-03-11 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-03-11 Thread Aman Shah
Aman Shah added the comment: I think it works with the other test also now. Have also included the failed test mentioned by Tres in the patch since it wasn't present in the python2.7 test suite. -- Added file: http://bugs.python.org/file29381/issue_17296v2.patch __

[issue17354] TypeError when running setup.py upload --show-response

2013-03-11 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> eric.araujo components: +Distutils -Library (Lib) nosy: +tarek versions: +Python 3.2 ___ Python tracker ___

[issue17354] TypeError when running setup.py upload --show-response

2013-03-11 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and patch. I think this bug is already reported, I’ll search for the duplicate when I get time. -- nosy: +eric.araujo ___ Python tracker __

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Stefan Behnel
Stefan Behnel added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17398] document url argument of RobotFileParser

2013-03-11 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe: Looking at the documentation, one would think RobotFileParser does not accept any argument, but it does -- "url". Documenting this would remove the pain of having to call "set_url()". -- assignee: docs@python components: Documentation messages:

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6f39ebd3121 by Benjamin Peterson in branch 'default': fix spelling (#17327) http://hg.python.org/cpython/rev/f6f39ebd3121 -- ___ Python tracker __

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Stefan Behnel
Stefan Behnel added the comment: ... and it's called "defaultobj", not "defautobj". -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue17395] Wait for live children in test_multiprocessing

2013-03-11 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Why > 1? This should be commented. The manager process will always be included in active_children(). -- ___ Python tracker ___ _

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8948dd77b095 by Benjamin Peterson in branch 'default': say defaultobj is returned (#17327) http://hg.python.org/cpython/rev/8948dd77b095 -- ___ Python tracker

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2013-03-11 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Stefan Behnel
Stefan Behnel added the comment: Please use either of the following wordings in the documentation: """ If the key is not in the dict, it is inserted with value *defaultobj* and *defaultobj* is returned. """ or """ If the key is not in the dict, it is inserted with value *defaultobj*, which is

[issue16004] Add `make touch` to 2.7 Makefile

2013-03-11 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: "touch" target could be also added to 3.2 branch. -- ___ Python tracker ___ ___

[issue17066] Fix test discovery for test_robotparser.py

2013-03-11 Thread Zachary Ware
Zachary Ware added the comment: I agree that, long-term, test_robotparser should probably be rewritten with less magic. Short-term, though, I think it would be good to get a temporary fix for discovery in place since this is the only test file that completely blows up discovery before it even

[issue17360] Regular expressions on mmap'd files can overflow

2013-03-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89174df2ee45 by Benjamin Peterson in branch 'default': remove useless words (#17327) http://hg.python.org/cpython/rev/89174df2ee45 -- ___ Python tracker __

[issue16321] Move eq.h out of stringlib

2013-03-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue17395] Wait for live children in test_multiprocessing

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why > 1? This should be commented. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2013-03-11 Thread Eli Bendersky
Eli Bendersky added the comment: Chris, your reply seems to indicate that you're irritated for some reason, and I'm not sure why. I was simply going through my open issue backlog, and since this is something I'd like to see fixed, I noticed that you said in October that you have some patches

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2013-03-11 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Which does give me a thought - perhaps lru_cache in 3.4 could accept a > "key" argument that is called as "key(*args, **kwds)" to derive the cache > key? (that would be a separate issue, of course) Agreed. I suggested the same in an earlier post.

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, actually my patch reverts 3.1 logic. lru_cache used since 3.2. There are no any additional re cache tests in 3.2 or 3.1. -- ___ Python tracker _

[issue17016] _sre: avoid relying on pointer overflow

2013-03-11 Thread Nickolai Zeldovich
Nickolai Zeldovich added the comment: I get an HTTP error when trying to upload another patch through Rietveld, so here's a revised patch that avoids the need for Py_uintptr_t (thanks Serhiy). -- Added file: http://bugs.python.org/file29379/pp-3.patch __

[issue8402] Add a function to escape metacharacters in glob/fnmatch

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Escaping for glob on Windows should not be such trivial. Special characters in the drive part have no special meaning and should not be escaped. I.e. ``escape('//?/c:/Quo vadis?.txt')`` should return ``'//?/c:/Quo vadis[?].txt'``. Perhaps we should move the

[issue11963] Remove human verification from test suite (test_parser and test_subprocess)

2013-03-11 Thread Éric Araujo
Éric Araujo added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue17390] display python version on idle title bar

2013-03-11 Thread bagrat lazaryan
bagrat lazaryan added the comment: or better still: ... from platform import python_version, architecture shell_title = "Python %s %s Shell" % (python_version(), architecture()[0]) ... -- ___ Python tracker __

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2013-03-11 Thread Chris Calloway
Chris Calloway added the comment: Yes, that's why I opened it. Feel free to submit patches if you think I'm moving too slowly. -- ___ Python tracker ___

[issue17370] PEP should note related PEPs

2013-03-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It seems to me that the right thing to add a related PEPs section to any PEP which needs it, but I don't think we need an official header for it. Thus, I'm closing this PEP as Won't Fix. Feel free to open new bugs for any specific PEP that needs additional

[issue17016] _sre: avoid relying on pointer overflow

2013-03-11 Thread Nickolai Zeldovich
Nickolai Zeldovich added the comment: I just submitted the contributor form -- thanks for the reminder. -- ___ Python tracker ___ ___

[issue17016] _sre: avoid relying on pointer overflow

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nickolai, can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- ___ Python tracker

[issue17299] Test cPickle with real files

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: DRY (do not repeat yourself). Do not implement the same method three times. Definitely the common code should be extracted into separate mixin classes: cStringIOMixin, BytesIOMixin, FileIOMixin. > What is the problem in using the existing pickletester.py??

[issue17390] display python version on idle title bar

2013-03-11 Thread bagrat lazaryan
bagrat lazaryan added the comment: ... class PyShell(OutputWindow): import platform version = platform.python_version() + " " + platform.architecture()[0] shell_title = "Python %s Shell" % version ... (PyShell.py) i'll take a look at the devguide and see if i can figure a patch out.

[issue15866] encode(..., 'xmlcharrefreplace') produces entities for surrogate pairs

2013-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes xmlcharrefreplace error handling in other places. Unfortunately multibyte asian encoders are broken yet. I'll open a separate issue for this. -- Added file: http://bugs.python.org/file29378/issue15866_2.patch

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-03-11 Thread Tres Seaver
Tres Seaver added the comment: The latest 2.7 patch does not cause the following tests (from issue 1692335) to pass: http://bugs.python.org/file17509/issue1692335-tests.patch -- ___ Python tracker ___

[issue17397] ttk::themes missing form ttk.py

2013-03-11 Thread klappnase
New submission from klappnase: When trying to load third-party themes ttk.Style.theme_names() fails to list available themes. For example if the themes from the tile-themes project are installed one can do: >>> from tkinter import * >>> from tkinter import ttk >>> root=Tk() >>> s=ttk.Style() >

[issue17396] modulefinder fails if module contains syntax error

2013-03-11 Thread Jan Gosmann
New submission from Jan Gosmann: Running modulefinder.ModuleFinder.run_script on a script which has an import statement with a module containing a syntax error will raise a SyntaxError exception. I think, modulefinder should instead continue its analysis and add the module to badmodules. Espec

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-11 Thread Stefan Behnel
Stefan Behnel added the comment: Benjamin, I hadn't noticed that you also changed the documentation in dict.rst from what I originall wrote. Ezio already fixed one of your typos, but there's another one in the description of the "defaultobj" behaviour: it says "inserted" twice but should say "

[issue3329] API for setting the memory allocator used by Python

2013-03-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Absolutely. Although there is a very useful scenario where this could be consided a run-time setting: # turboprofiler.py # Load up the memory hooker which will supply us with all the info import _turboprofiler _turboprofiler.hookup() Perhaps p

[issue3329] API for setting the memory allocator used by Python

2013-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Note that I'm definitely open to including extra settings to set up custom allocators as part of Py_CoreConfig in PEP 432 (http://www.python.org/dev/peps/pep-0432/#pre-initialization-phase). I don't really want to continue the tradition of additional PySet_* API

[issue11367] xml.etree.ElementTree.find(all): docs are wrong

2013-03-11 Thread Henrik Heimbuerger
Henrik Heimbuerger added the comment: for 3.2 -- Added file: http://bugs.python.org/file29375/issue11367_branch32.patch ___ Python tracker ___ ___

[issue11367] xml.etree.ElementTree.find(all): docs are wrong

2013-03-11 Thread Henrik Heimbuerger
Henrik Heimbuerger added the comment: Eli, I fully understand. I was experimenting with working on Cloud9, but it unfortunately has no easy way to extract individual files, I had to recreate them locally. I hope it is correct now. -- Added file: http://bugs.python.org/file29374/issue11

[issue3329] API for setting the memory allocator used by Python

2013-03-11 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: At ccp we have something similar. We are embedding python in the UnrealEngine on the PS3 and need to get everything through their allocators. For the purpose of flexibility, we added an api similar to the OPs, but more flexible: /* Support for custom

[issue17395] Wait for live children in test_multiprocessing

2013-03-11 Thread Richard Oudkerk
Richard Oudkerk added the comment: LGTM (although the warning is actually harmless). -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue17351] Remove explicit "object" inheritance in Python 3 docs

2013-03-11 Thread Michael Foord
Michael Foord added the comment: If the consensus is that Python documentation should not include explicit object inheritance then fine to update mock docs accordingly. The backport docs will still use it as they are for Python 2 as well. -- ___ Pyt

[issue3329] API for setting the memory allocator used by Python

2013-03-11 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- nosy: +kristjan.jonsson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-03-11 Thread Aman Shah
Aman Shah added the comment: Fixed the patch for 2.7 -- nosy: +Aman.Shah Added file: http://bugs.python.org/file29373/issue_17296.patch ___ Python tracker ___ ___

[issue17370] PEP should note related PEPs

2013-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I think the problem in this case is specific to the multi-versioned PEPs like the WSGI reference and the metadata standards. In that case, a separate section in the document itself seems more appropriate than a generic header field. We should consider a s

[issue15806] Add context manager for the "try: ... except: pass" pattern

2013-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: FTR, Raymond and I discussed this on IRC and I gave it a +1 before he committed it. The advantage the callable form has over a class method is that it readily scales to ignoring multiple exception types in a single with statement. -- __

[issue17351] Remove explicit "object" inheritance in Python 3 docs

2013-03-11 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue17351] Remove explicit "object" inheritance in Python 3 docs

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f745f7d6fca by Ezio Melotti in branch '3.2': #17351: remove "object" inheritance from docs. Patch by Phil Elson. http://hg.python.org/cpython/rev/4f745f7d6fca New changeset 8b1d3fa3b389 by Ezio Melotti in branch '3.3': #17351: merge with 3.2. http

[issue16004] Add `make touch` to 2.7 Makefile

2013-03-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue16004] Add `make touch` to 2.7 Makefile

2013-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset da3f4774b939 by Ezio Melotti in branch '2.7': #16004: Add `make touch`. http://hg.python.org/cpython/rev/da3f4774b939 -- nosy: +python-dev ___ Python tracker _

[issue16365] IDLE for Windows 8

2013-03-11 Thread j s
j s added the comment: I had this issue too, I realised that I had installed the 32bit version on a machine running 64bit. So I uninstalled and installed the 64bit and it's fine now. -- nosy: +evilpandas ___ Python tracker