[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue18183] Calling .lower() on certain unicode string raises SystemError

2013-06-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue18183] Calling .lower() on certain unicode string raises SystemError

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b11507395ce4 by Serhiy Storchaka in branch '3.3': Add tests for issue #18183. http://hg.python.org/cpython/rev/b11507395ce4 New changeset 17c9f1627baf by Serhiy Storchaka in branch 'default': Add tests for issue #18183. http://hg.python.org/cpython/

[issue18197] insufficient error checking causes crash on windows

2013-06-11 Thread Max DeLiso
Changes by Max DeLiso : -- hgrepos: -199 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue18197] insufficient error checking causes crash on windows

2013-06-11 Thread Max DeLiso
New submission from Max DeLiso: hi. if you cross compile the mercurial native extensions against python 2.7.5 (x64) on 64 bit windows 7 and then try to clone something, it will crash. I believe the reason for this is that the c runtime functions in the microsoft crt will throw a win32 except

[issue10581] Review and document string format accepted in numeric data type constructors

2013-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It looks like we a approaching consensus on some points: 1. Mixed script numerals should be disallowed. 2. '\N{MINUS SIGN}' should be accepted as an alternative to '\N{HYPHEN-MINUS}' Open question: should we accept fullwidth + and -, sub/superscript varia

[issue6632] Include more chars in the decimal codec

2013-06-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is essentially a duplicate of #10581, so I am closing this and will summarize the situation there. -- resolution: -> duplicate status: open -> closed superseder: -> Review and document string format accepted in numeric data type constructo

[issue18196] IDLE: forward apply patch for handling SystemExit

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: And it's applied. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-11 Thread Ben Hearsum
Changes by Ben Hearsum : -- nosy: +Ben.Hearsum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18196] IDLE: forward apply patch for handling SystemExit

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e56d4e3 by Roger Serwy in branch '3.3': #18196: Avoid displaying spurious SystemExit tracebacks. http://hg.python.org/cpython/rev/0e56d4e3 New changeset 479aad3bb122 by Roger Serwy in branch 'default': #18196: merge with 3.3 http://hg.pytho

[issue18196] IDLE: forward apply patch for handling SystemExit

2013-06-11 Thread Roger Serwy
New submission from Roger Serwy: As a formality, I opened this issue to apply 872a3aca2120 to the 3.x branch. This addresses a concern brought up by Terry in msg187323 from issue5492. Here's the relevant part of the message: """ Without or with patch, quit() or exit brings up TK box (?) The pr

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: This issue is now fixed. Thank you everyone for helping! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca8e86711403 by Roger Serwy in branch '2.7': #5492: Avoid traceback when exiting IDLE caused by a race condition. http://hg.python.org/cpython/rev/ca8e86711403 New changeset da852f5250af by Roger Serwy in branch '3.3': #5492: Avoid traceback when ex

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: I noticed that the tracebacks didn't occur in 2.7 due to 872a3aca2120, but that patch was not grafted onto the 3.x branches. I'll take care of that. With #13495 fixed, the two errors mentioned in msg187323 do not occur with the _rev1 patch applied. -- _

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-06-11 Thread Roger Serwy
Roger Serwy added the comment: I'm closing this issue as the original problem reported has been resolved. -- stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker __

[issue18195] error when deep copying module is confusing

2013-06-11 Thread R. David Murray
R. David Murray added the comment: Well, we don't generally complicate the code to handle edge cases. That said, it might not be too complicated to add copy protocol methods to the module object which just raise a more useful error. -- nosy: +r.david.murray __

[issue18163] Add a 'key' attribute to KeyError

2013-06-11 Thread R. David Murray
R. David Murray added the comment: Making it unambiguous what piece of data is being retrieved, and allowing new code to have a more complex message than just 'Keyerror: ' and still be able to get at only the missing key. -- ___ Python tracker

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-11 Thread tahnoon pasha
tahnoon pasha added the comment: I'll log this at the davmail forums too and report back if I get a response there. -- ___ Python tracker ___ ___

[issue18163] Add a 'key' attribute to KeyError

2013-06-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Since the key is already accessible via the "args" attribute, what is the point of a new attribute? >>> d = {} >>> try: d['roger'] except KeyError as e: print(e.args) ('roger',) -- nosy: +rhettinger ___

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-06-11 Thread Christian Heimes
Christian Heimes added the comment: New patch * method has been renamed to get_ca_list() and returns only CA certs * get_ca_list(binary_form=True) returns CA certs in DER format * cert_store_stats() returns three elements: X.509 CA cert count, X.509 non-CA count and CRL count -- Added

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2013-06-11 Thread Brandon Craig Rhodes
Brandon Craig Rhodes added the comment: Kristján, your patch is a wonderful idea—I am about to commit production code that will have to create tens of thousands of temporary files during operation, one file each time SSL is started up on a socket, which could be avoided if something like this

[issue18195] error when deep copying module is confusing

2013-06-11 Thread mrjbq7
New submission from mrjbq7: If you have a simple module (say "foo.py"): $ cat foo.py bar = 1 You get weird errors when trying to deep copy them (which I did by accident, not intentionally trying to deep copy modules): Python 2.7.2: >>> import foo >>> import copy >>> copy.deepcopy(foo) Traceb

[issue18194] Move imp.source_from_cache/cache_from_source to importlib

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

[issue18193] Move imp.reload() to importlib

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

[issue18192] Move imp.get_magic() to importlib

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

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Ned Deily
Changes by Ned Deily : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b2fdd4dd700 by Ned Deily in branch '2.7': Issue #18186: remove obsolete 2.2 compatibility comment. http://hg.python.org/cpython/rev/4b2fdd4dd700 -- nosy: +python-dev ___ Python tracker

[issue18187] Fix broken link in Doc/library/venv.rst

2013-06-11 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch! -- nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue18187] Fix broken link in Doc/library/venv.rst

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1eeda9db91d by Ned Deily in branch '3.3': Issue #18187: Fix broken link in venv documentation. Patch by Berker Peksag. http://hg.python.org/cpython/rev/b1eeda9db91d New changeset e6fc120012e5 by Ned Deily in branch 'default': Issue #18187: merge fr

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Daniel Farina
Daniel Farina added the comment: Okay, fair enough, in that case, here's a patch to fix the documentation as to not make incorrect statements. -- status: closed -> open Added file: http://bugs.python.org/file30549/fix-subprocess-compat-documentation-v1.patch __

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Ned Deily
Ned Deily added the comment: Your proposed change would still not make the source compatible with Python 2.2 (released over a decade ago) as set() was introduced in 2.4. When the subprocess module was introduced back then, it made sense to maintain compatibility with then-recent releases but i

[issue14797] Deprecate imp.find_module()/load_module()

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18158] Delete test_importhooks

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18158] Delete test_importhooks

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 176fe1f8496f by Brett Cannon in branch 'default': Issue #18158: delete test_importhooks. Redundant in the face of http://hg.python.org/cpython/rev/176fe1f8496f -- nosy: +python-dev ___ Python tracker

[issue18157] remove usage of imp.load_module() from pydoc

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18157] remove usage of imp.load_module() from pydoc

2013-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c747be20d05 by Brett Cannon in branch 'default': Issue #18157: stop using imp.load_module() in imp. http://hg.python.org/cpython/rev/2c747be20d05 -- nosy: +python-dev ___ Python tracker

[issue18192] Move imp.get_magic() to importlib

2013-06-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'd like to see it be more easily accessible. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18192] Move imp.get_magic() to importlib

2013-06-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 11, 2013, at 08:44 PM, Brett Cannon wrote: >As part of deprecating imp, need to move imp.get_magic() to importlib where >it now belongs. Will be exposed as an attribute instead of a function, >though. so, importlib.magic ? -- nosy: +barry

[issue18194] Move imp.source_from_cache/cache_from_source to importlib

2013-06-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 11, 2013, at 08:47 PM, Brett Cannon wrote: >To facilitate deprecating imp, need to move imp.source_from_cache() and >cache_from_source() to importlib.util or as static methods on >importlib.machinery.SourceLoader. +1 for importlib.util. They should be

[issue18192] Move imp.get_magic() to importlib

2013-06-11 Thread Brett Cannon
Brett Cannon added the comment: This could be an attribute on importlib.machinery.SourceLoader instead of an attribute in importlib.util. -- ___ Python tracker ___ _

[issue17907] Deprecate imp.new_module() in favour of types.ModuleType

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue17177] Document/deprecate imp

2013-06-11 Thread Brett Cannon
Brett Cannon added the comment: There should now be issues for each of the required relocations to make imp redundant. -- dependencies: +Move imp.source_from_cache/cache_from_source to importlib ___ Python tracker

[issue18194] Move imp.source_from_cache/cache_from_source to importlib

2013-06-11 Thread Brett Cannon
New submission from Brett Cannon: To facilitate deprecating imp, need to move imp.source_from_cache() and cache_from_source() to importlib.util or as static methods on importlib.machinery.SourceLoader. -- components: Library (Lib) messages: 190983 nosy: brett.cannon priority: normal se

[issue18193] Move imp.reload() to importlib

2013-06-11 Thread Brett Cannon
New submission from Brett Cannon: For convenience it should live directly off of importlib and not importlib.util. -- components: Library (Lib) messages: 190982 nosy: brett.cannon priority: normal severity: normal stage: test needed status: open title: Move imp.reload() to importlib vers

[issue17177] Document/deprecate imp

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Move imp.reload() to importlib ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17177] Document/deprecate imp

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Move imp.get_magic() to importlib ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18192] Move imp.get_magic() to importlib

2013-06-11 Thread Brett Cannon
New submission from Brett Cannon: As part of deprecating imp, need to move imp.get_magic() to importlib where it now belongs. Will be exposed as an attribute instead of a function, though. -- components: Library (Lib) messages: 190981 nosy: brett.cannon priority: normal severity: normal

[issue17907] Deprecate imp.new_module() in favour of types.ModuleType

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-06-11 Thread Ethan Furman
Ethan Furman added the comment: Final (hopefully! ;) patch. I stuck the toc reference in datatypes. If no more edits are necessary I'll commit on Friday (three days from now). -- Added file: http://bugs.python.org/file30548/pep-0435.12.stoneleaf.patch _

[issue18181] super vs. someclass.__getattribute__

2013-06-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think it is possible to avoid adding a new slot. The default implementation of tp_getattro (PyObject_GenericGetAttr) looks in the instance dict, while super does not (because it wants a less specific implementation). PyObject_GenericGetAttr will als

[issue18190] RuntimeError raised with re.search + re.DOTALL on empty string

2013-06-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report. This is a duplicate of issue17998. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> internal error in regular expression engine ___

[issue18181] super vs. someclass.__getattribute__

2013-06-11 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Is it possible to avoid a new slot? for example, super() could walk the tp_base-> chain and call tp_getattro each time the value changes. -- ___ Python tracker _

[issue17941] namedtuple should support fully qualified name for more portable pickling

2013-06-11 Thread Christian Tismer
Christian Tismer added the comment: I would like to make an additional suggestion. (and I implemented this yesterday): Native namedtuple (not a derived class) can be made much simpler to handle when no module and class machinery is involved at all. The way I implemented it has no need for sys._

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread R. David Murray
R. David Murray added the comment: Given that we introduced the flag to support read-only file systems, I think one can argue that the test suite should support running on one. However, the right thing to do would be to set up a buildbot where that was true so that it doesn't get re-broken in

[issue18190] RuntimeError raised with re.search + re.DOTALL on empty string

2013-06-11 Thread Matthew Barnett
Matthew Barnett added the comment: Also in Python 3.3.2, but not Python 3.2. I haven't tested Python 3.3.1 or Python 3.3.0. -- versions: +Python 3.3 ___ Python tracker ___ _

[issue17269] getaddrinfo segfaults on OS X when provided with invalid arguments combinations

2013-06-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: The buildbot seems to be happy right now (at least as far as getaddrinfo is concerned). -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue18181] super vs. someclass.__getattribute__

2013-06-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: . -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue18181] super vs. someclass.__getattribute__

2013-06-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Second version of the poc adds a way to implement the hook in Python code, and supers_updated.py uses that hook. Still no tests, no documentation and with awfull naming :-) -- Added file: http://bugs.python.org/file30547/supers_updated.py ___

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread Shlomi Fish
Shlomi Fish added the comment: I see regarding test_ftp.py and the verbosity of the tests and the absence of bdist_rpm in the output - however, shouldn't the test suite handle the presence of the PYTHONDONTWRITEBYTECODE=1 flag better? (E.g: refuse to run the tests to begin with (with an error)

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread R. David Murray
R. David Murray added the comment: Benjamin fixed the ftp error message, one commit after the 3.3.2 tag. Not sure if that is enough to make the test pass, though. So, it sounds like 18142 should be closed as "works for me"? That is, the remaining test failures are do to the poor system confi

[issue18191] urllib2/urllib.parse.splitport does not handle IPv6 correctly

2013-06-11 Thread Julien Danjou
New submission from Julien Danjou: >>> import urllib.parse >>> urllib.parse.splitport("::1") (':', '1') This is obviously invalid. -- components: Library (Lib) messages: 190968 nosy: jd priority: normal severity: normal status: open title: urllib2/urllib.parse.splitport does not handle

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't really use Mageia anymore, that said: > I should note that after I do «unset PYTHONDONTWRITEBYTECODE» [snip] Yep, this is a long-lasting Mageia issue. See: https://qa.mandriva.com/show_bug.cgi?id=50484 https://bugs.mageia.org/show_bug.cgi?id=3348 You c

[issue18190] RuntimeError raised with re.search + re.DOTALL on empty string

2013-06-11 Thread Harry Bock
New submission from Harry Bock: In Python 2.7.5, running re.search on regular expressions beginning with '.+' will raise RuntimeError if: * the string being matched is empty * the flags include re.DOTALL/re.S >>> re.search(".+a", "", flags=re.S) File "C:\Python27\lib\site-packages\IPython\c

[issue18181] super vs. someclass.__getattribute__

2013-06-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a first very rough patch to demonstrate what I was rambling about. With this patch and a patched version of PyObjC I can use the builtin super class with the proxy classes for Objective-C classes. Open issues: * Does this need a pep? * The nam

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-06-11 Thread Pierrick Koch
Pierrick Koch added the comment: sorry for the delay, here is the updated patch, shall I add a new class in Lib/test/test_asynchat.py ? -- Added file: http://bugs.python.org/file30545/cpython.asyncore.patch ___ Python tracker

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread Shlomi Fish
Shlomi Fish added the comment: Hi, I don't understand the issue in questioned - it's too wordy and unclear. I don't know how to do the debugging in question - please guide me. I should note that after I do «unset PYTHONDONTWRITEBYTECODE» then all tests pass except for test_ftp.py, which gives

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +philwebster ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2013-06-11 Thread STINNER Victor
STINNER Victor added the comment: Amaury Forgeot d'Arc added the comment: > I prefer the new version without PYMEM_TRACE_MALLOC :-) Well, py_setallocators-filename.patch is more a proof-of-concept showing how to use my Py_SetAllocators() API to pass the C trace (filename/line number), than a rea

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread R. David Murray
R. David Murray added the comment: This looks related to issue 14443, which was supposed to be fixed in 3.3.0. Can you do some of the same debugging that was done in that issue and see if it reveals any more about the problem? Also, I notice from that issue that Antoine was (is?) running Mage

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-11 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Continuing the IDLE unittest framework initiated in http://bugs.python.org/issue15392. A small unit test for IDLE Delegator.py module. This patch introduces a test module named test_delegator.py inside Lib/idlelib/idle_test, considering the points README f

[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags

2013-06-11 Thread Shlomi Fish
New submission from Shlomi Fish: After I build Python-3.3.2 from the .tar.xz using the following script (on Mageia Linux Cauldron x86-64): <<< #!/bin/bash ./configure --prefix="$HOME/apps/python3" --with-threads \ --enable-ipv6 --with-dbmliborder=gdbm \ --with-sy

[issue18187] Fix broken link in Doc/library/venv.rst

2013-06-11 Thread Berker Peksag
New submission from Berker Peksag: The correct location of the venv module is Lib/venv, not Lib/venv.py. Attaching a simple patch that fixes the location. -- assignee: docs@python components: Documentation files: venv-location.diff keywords: patch messages: 190958 nosy: berker.peksag, d

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Daniel Farina
Daniel Farina added the comment: Also, this fix would be for 2.7. My mistake, even though the goal was to import on older Pythons. -- status: closed -> open versions: +Python 2.7 -Python 2.6 ___ Python tracker __

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Daniel Farina
Daniel Farina added the comment: Then most assuredly the message at the top is out of date. It seems a pity that for this small change that older python versions cannot use the same code verbatim. It reads: # This module should remain compatible with Python 2.2, see PEP 291. -- ___

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Berker Peksag
Berker Peksag added the comment: Python 2.6 only receives security fixes. You can also look at the subprocess32 module: https://pypi.python.org/pypi/subprocess32 -- nosy: +berker.peksag resolution: -> invalid stage: -> committed/rejected status: open -> closed ___

[issue18033] Example for Profile Module shows incorrect method

2013-06-11 Thread Armin Rigo
Armin Rigo added the comment: A slightly more complete example that I tested: http://stackoverflow.com/a/16077568/1556290 -- nosy: +arigo ___ Python tracker ___

[issue14903] dictobject infinite loop on 2.6.5 on 32-bit x86

2013-06-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue18186] 2.x subprocess contains set notation

2013-06-11 Thread Daniel Farina
New submission from Daniel Farina: I was vendoring subprocess to pick up the change for #16327 when I noticed I could not import it on 2.6. The backwards compatibility claim at the top is 2.2. Included is a tiny patch that uses a semantically equivalent form. -- components: Library (

[issue14903] dictobject infinite loop on 2.6.5 on 32-bit x86

2013-06-11 Thread Daniel Farina
Changes by Daniel Farina : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14903] dictobject infinite loop on 2.6.5 on 32-bit x86

2013-06-11 Thread Daniel Farina
Daniel Farina added the comment: Hello folks, After long delay, I can confirm this issue reproduces in a similar way inside of init_socket in 2.7. -- ___ Python tracker ___ ___

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

2013-06-11 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I prefer the new version without PYMEM_TRACE_MALLOC :-) Can we rename "API" and "api_id" to something more specific? maybe DOMAIN and domain_id? -- ___ Python tracker __

[issue14455] plistlib unable to read json and binary plist files

2013-06-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: The fifth version of the patch should be much cleaner. Changes: * Coding style cleanup, the new code uses PEP8 conformant names for methods and variables. * Explicitly make private classes private by prefixing their name with an underscore (including the

[issue10581] Review and document string format accepted in numeric data type constructors

2013-06-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I've changed my mind :-) Restricting the decimal encoder to only accept code points from one of the possible decimal digit ranges is a good idea. Let's do that. -- ___ Python tracker