[issue7083] locals() behaviour differs when tracing is in effect

2012-12-27 Thread anatoly techtonik
anatoly techtonik added the comment: After a day of meditation I've come to the following definition for locals(): locals() return a dictionary that serves as a cache for current local symbol table. This cache is updated every time locals() is called or when a trace function is active.

[issue16618] Different glob() results for strings and bytes

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62f67a52b0c2 by Hynek Schlawack in branch '3.2': #16618: Make glob.glob match consistently across strings and bytes http://hg.python.org/cpython/rev/62f67a52b0c2 New changeset fa8c4f96d990 by Hynek Schlawack in branch '3.3': #16618: Make glob.glob

[issue16618] Different glob() results for strings and bytes

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: Thanks Serhiy! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16618

[issue15840] Ambiguity with regard to the effect of accessing a closed IOBase instance

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: I agree that standardize behavior here would be useful. But it sounds like a candidate for 3.4. Unifying/changing it for existing releases appears rather hairy to me? -- assignee: docs@python - type: - behavior versions: +Python 3.4

[issue15594] test_copyfile_named_pipe() fails on Mac OS X Snow Leopard: OSError: [Errno 22] Invalid argument

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: Any news? Wouldn’t Apple give us a license for our buildbots like MSFT does? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15594 ___

[issue15594] test_copyfile_named_pipe() fails on Mac OS X Snow Leopard: OSError: [Errno 22] Invalid argument

2012-12-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: OSX Server should have the same kernel as the client. Also, the license terms for OSX 10.6 client don't allow running in a VM, while the 10.6 server terms do allow that. Is there anything special about this buildbots system configuration? Is the filesystem

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating patch after Benjamin's review. In this new patch, in test_regrtest I now use the current, actual getopt code to test and demonstrate backwards compatibility. Note that when I pasted the code, I also fixed the three typos in the current getopt code

[issue14870] Descriptions of os.utime() and os.utimensat() use wrong notation

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: Turns out, Larry fixed these two while working on #14626. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: I think we should resolve this one line change. Jessica’s patch looks just fine, so I tend to apply it. However, I’d like to document the current behavior in 2.7, 3.2, 3.3 and 3.4. Am I missing anything? -- nosy: +hynek versions: +Python 2.7,

[issue1610654] cgi.py multipart/form-data

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: It would be great if someone could port this patch to Python 3.4 and verify its effectiveness. -- keywords: +easy -patch stage: test needed - needs patch versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python

[issue11063] uuid.py module import has heavy side effects

2012-12-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: The patch hasn’t incorporated Antoine’s comments AFAICT. Also I don’t see this fit for back porting to bug fix releases. Correct me if I’m wrong. -- nosy: +hynek stage: patch review - needs patch versions: +Python 3.4 -Python 2.7, Python 3.2, Python

[issue15450] Allow dircmp.subdirs to behave well under subclassing

2012-12-27 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- nosy: +hynek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15450 ___ ___ Python-bugs-list mailing list

[issue7083] locals() behaviour differs when tracing is in effect

2012-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree now that the doc should be clearer (and this issue reopened). For one thing, the exact CPython behavior is an implementation issue rather than a language requirement. Which is to say, its behavior is allowed but not required. I believe an

[issue15324] --match does not work for regrtest

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: The attached patch will fix this issue as well as issue 15325 and issue 15326. Also, I'm removing issue 15302 as a superseder because that issue is limited to 3.4. The attached patch is for prior versions. (Also, it doesn't hurt to apply this to 3.4 if

Bug in _PyUnicode_ClearStaticStrings() method of unicodeobject.c

2012-12-27 Thread Prashant Kurnawal
Hi,   I have embedded python3.3 in my application. I got a crash when I ran a sample python script using it.   As per my assumption, On interpreter shutdown, all strings are released (through _PyUnicode_ClearStaticStrings). (Found in one of the comments of object.h file)   When I tried to debug

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread David Halter
New submission from David Halter: The following lines run infinitely: b = [1] import itertools b += itertools.chain.from_iterable([c] for c in b) In my opinion this is a bug. Clearly you could say that this is an implementation detail. But afaik this is not documented and very misleading.

[issue11063] uuid.py module import has heavy side effects

2012-12-27 Thread Christian Heimes
Christian Heimes added the comment: Hynek, you are right. -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11063 ___ ___

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread Danilo Bargen
Changes by Danilo Bargen gez...@gmail.com: -- nosy: +gwrtheyrn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16791 ___ ___ Python-bugs-list

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread pyos
pyos added the comment: I don't think this is a bug. `b += iter(b)` and `for c in b: b.append(c)` work the same way. Also, the tutorial makes it clear that you should duplicate the list if you modify it inside a loop; in this case, this can be done either by iterating over `b[:]` instead of

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread R. David Murray
R. David Murray added the comment: Yes, the behavior here is undefined at the language level. And as pyos says, technically it is documented: if you mutate the object over which you are iterating inside the iteration context (a for loop is just one example of same), the behavior is

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Small ints test should be extracted to a separate method and marked as CPython only. In additional it backported to 2.7. -- assignee: serhiy.storchaka components: Tests files: int_test_small_ints-3.3.patch keywords: patch messages: 178300 nosy:

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28455/int_test_small_ints-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16792 ___

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28456/int_test_small_ints-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16792 ___

[issue16784] Int tests enhancement and refactoring

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: +Mark small ints test as CPython-only ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16784 ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: Richard, apart from performance, what's the advantage of this approach over the fork+exec version? It is really just performance. For context running the unittests in a 1 cpu linux VM gives me fork: real0m53.868s user0m1.496s sys 0m9.757s

[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9752b6c40f8 by Brian Curtin in branch '3.2': Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD. http://hg.python.org/cpython/rev/b9752b6c40f8 -- nosy: +python-dev ___ Python

[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Brian Curtin
Brian Curtin added the comment: This is fixed on 3.2 through 3.4. On 2.7 we get a ValueError trying to do the same thing so I'll create a separate issue for that since it involves fixing more than just the change in Py2Reg. -- resolution: - fixed stage: patch review -

[issue16772] int() accepts float number base

2012-12-27 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16772 ___ ___

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28458/tests_deprecated_asserts-3.3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16793 ___

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patches that replaces deprecated unittest assert aliases (such as assertEquals) to its nondeprecated counterpart (if such usage is not intended). This eliminates deprecation warnings. -- assignee: serhiy.storchaka components: Tests

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28459/tests_deprecated_asserts-3.4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16793 ___

[issue16784] Int tests enhancement and refactoring

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: +Get rid of deprecated assertEquals etc in tests ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16784 ___

[issue16790] provide ability to share tests between int and long tests

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16790 ___ ___ Python-bugs-list mailing list

[issue16682] Document that audioop works with bytes, not strings

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: docs@python - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16682 ___

[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset ccbb16719540 by Brian Curtin in branch '2.7': Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg. http://hg.python.org/cpython/rev/ccbb16719540 -- ___ Python tracker

[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-12-27 Thread Brian Curtin
Brian Curtin added the comment: Never mind msg178303. The fix was roughly the same and in the same area, so now we're covered on 2.7 as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14420

[issue16778] Logger.findCaller needs to be smarter

2012-12-27 Thread Vinay Sajip
Vinay Sajip added the comment: I will give this some thought, but it won't be possible to add it to Python 2.x (which is closed for feature additions). Any enhancement in this area would apply to Python 3.4 and later. -- versions: +Python 3.4 -Python 2.7

[issue16682] Document that audioop works with bytes, not strings

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd2b4074a2d9 by Serhiy Storchaka in branch '3.2': Issue #16682: Replace Python string to bytes object in audioop documentation. http://hg.python.org/cpython/rev/cd2b4074a2d9 New changeset e8248e597060 by Serhiy Storchaka in branch '3.3': Issue

[issue16682] Document that audioop works with bytes, not strings

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16682

[issue16794] Can't get a list of modules in Python's help system

2012-12-27 Thread vertograd phrokhladny
New submission from vertograd phrokhladny: Ubuntu 12.4 LTS -- assignee: docs@python components: Documentation files: modules_command_crash.log messages: 178310 nosy: docs@python, vertograd.phrokhladny priority: normal severity: normal status: open title: Can't get a list of modules in

[issue16794] Can't get a list of modules in Python's help system

2012-12-27 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 10060, and as indicated there there really isn't much Python can do about this. You should report the bug to Ubuntu, but I'm pretty sure there is already a bug in their system for it (which I believe has been fixed). --

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: Numbers when running on Linux on a laptop with 2 cores + hyperthreading. RUNNING UNITTESTS: fork: real0m50.687s user0m9.213s sys 0m4.012s fork+exec: real1m9.062s user0m48.579s sys 0m6.648s forkserver:

[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16504 ___ ___

[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d3c81ef728ae by Serhiy Storchaka in branch '2.7': Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE. http://hg.python.org/cpython/rev/d3c81ef728ae New changeset e1ef04cfb57c by Serhiy Storchaka in branch '3.2': Issue #16504: Catch

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Rietveld is erroring out on me again whenever I try to reply to a comment, so I'm posting my comment here. On 2012/12/27 18:29:22, Benjamin Peterson wrote: On 2012/12/27 04:44:33, Benjamin Peterson wrote: if val: Again, we need this to match getopt

[issue16504] IDLE - fatal error when opening a file with certain tokenizing errors

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Roger. Fixed. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16504

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Ram Rachum
Changes by Ram Rachum r...@rachum.com: -- nosy: -cool-RR ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___ ___ Python-bugs-list mailing list

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: I think the forkserver approach is a good idea. It is what a lot of users will choose. forkserver won't work everywhere though so the fork+exec option is still desirable to have available. Threads can be started by non-python code (extension modules, or

[issue16759] winreg.QueryValueEx returns signed 32bit value instead of unsigned

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b7e60e05027 by Brian Curtin in branch '3.2': Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong. http://hg.python.org/cpython/rev/4b7e60e05027 -- nosy: +python-dev ___ Python

[issue11908] Weird `slice.stop or sys.maxint`

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: commit review - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11908 ___ ___

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Martin, are you have time to review now? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15239 ___ ___

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ben Morgan, can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12004

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Mark Dickinson
Mark Dickinson added the comment: LGTM. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16792 ___ ___ Python-bugs-list

[issue16759] winreg.QueryValueEx returns signed 32bit value instead of unsigned

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d68563e7ae82 by Brian Curtin in branch '2.7': Fix #16759. Convert DWORD registry values using unsigned long. http://hg.python.org/cpython/rev/d68563e7ae82 -- ___ Python tracker rep...@bugs.python.org

[issue14850] The inconsistency of codecs.charmap_decode

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I no one objects I will commit this next year. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14850 ___ ___

[issue16759] winreg.QueryValueEx returns signed 32bit value instead of unsigned

2012-12-27 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16759

[issue16320] Establish order in bytes/string dependencies

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please review. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16320 ___ ___ Python-bugs-list mailing list

[issue13454] crash when deleting one pair from tee()

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13454 ___ ___ Python-bugs-list mailing list

[issue16485] FD leaks in aifc module

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16485 ___ ___

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1470548 ___

[issue16485] FD leaks in aifc module

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16485 ___ ___

[issue16486] Add context manager support to aifc module

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16486 ___ ___

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1470548 ___ ___

[issue13454] crash when deleting one pair from tee()

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13454 ___ ___

[issue14850] The inconsistency of codecs.charmap_decode

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14850 ___ ___

[issue9290] IDLE and Command line present different behavior for sys.stdin

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9290 ___ ___

[issue16551] Cleanup the pure Python pickle implementation

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16551 ___ ___

[issue16216] Arithmetic operations with NULL

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16216 ___ ___

[issue16491] IDLE and except: raise from

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___

[issue16790] provide ability to share tests between int and long tests

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset eb1734e579f7 by Chris Jerdonek in branch '2.7': Issue #16790: add some of the recent issue #16045 int tests to test_long. http://hg.python.org/cpython/rev/eb1734e579f7 -- nosy: +python-dev ___ Python

[issue16045] add more unit tests for built-in int()

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset eb1734e579f7 by Chris Jerdonek in branch '2.7': Issue #16790: add some of the recent issue #16045 int tests to test_long. http://hg.python.org/cpython/rev/eb1734e579f7 -- ___ Python tracker

[issue14099] ZipFile.open() should not reopen the underlying file

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14099 ___ ___

[issue16790] provide ability to share tests between int and long tests

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the reviews, Serhiy. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16790

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16541 ___

[issue15539] Fixing Tools/scripts/pindent.py

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15539 ___

[issue16165] sched.scheduler.run() blocks scheduler

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16165 ___ ___

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16793 ___ ___

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16792 ___ ___

[issue16165] sched.scheduler.run() blocks scheduler

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16165 ___ ___

[issue16640] Less code under lock in sched.scheduler

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16640 ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: Added file: http://bugs.python.org/file28461/8f08d83264a0.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: The safest default would be fork+exec though we need to implement the fork+exec code as a C extension module or have it use subprocess (as I noted in the mb_fork_exec.patch review). That was an old version of the patch. In the branch

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16793 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Ezio Melotti
Ezio Melotti added the comment: LGTM. -- nosy: +ezio.melotti stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16793 ___

[issue16761] Fix int(base=X)

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: When this patch is updated because of the commit for issue 16790, in 3.x can the edited test cases be moved to the top of the test class per the following comment (as appropriate)? http://bugs.python.org/issue16790#msg178282 As stated there, this will make

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2012-12-27 Thread Sven Brauch
New submission from Sven Brauch: Here's a patch doing some adjustments to the AST to make it more useful for static language analysis, as discussed in http://mail.python.org/pipermail/python-dev/2012-December/123320.html. Changes done: * the described fix to attribute ranges * add location

[issue15324] --fromfile, --match, and --randomize don't work in regrtest

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- title: --match does not work for regrtest - --fromfile, --match, and --randomize don't work in regrtest ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15324

[issue15325] --fromfile does not work for regrtest

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- resolution: - duplicate stage: patch review - committed/rejected status: open - closed superseder: Use argparse instead of getopt in test.regrtest - --fromfile, --match, and --randomize don't work in regrtest

[issue15326] --random does not work for regrtest

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- resolution: - duplicate stage: patch review - committed/rejected status: open - closed superseder: Use argparse instead of getopt in test.regrtest - --fromfile, --match, and --randomize don't work in regrtest versions: +Python

[issue16642] Mention new kwargs named tuple parameter in sched module

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: docs@python - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16642 ___

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16645 ___ ___

[issue16641] sched.scheduler.enter arguments should not be modifiable

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16641 ___ ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-12-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: ah, i missed that update. cool! +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___ ___

[issue16599] unittest: Access test result from tearDown

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: I agree with Serhiy here. This use case seems too specialized, and there are easy ways to achieve the same thing in code. -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f82e9992ad9 by Serhiy Storchaka in branch '2.7': Issue #16792: Mark small ints test as CPython-only. http://hg.python.org/cpython/rev/8f82e9992ad9 New changeset 31955234b624 by Serhiy Storchaka in branch '3.2': Issue #16792: Mark small ints test

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: You can use assertIs() in 2.7 as well, no? +@test_support.cpython_only +def test_small_ints(self): +self.assertTrue(int('10') is 10) -- ___ Python tracker rep...@bugs.python.org

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16792 ___ ___ Python-bugs-list mailing list

[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 327896bf3152 by Serhiy Storchaka in branch '2.7': Issue #16792: Use assertIs() to test identity. http://hg.python.org/cpython/rev/327896bf3152 -- ___ Python tracker rep...@bugs.python.org

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset a617a50d2766 by Serhiy Storchaka in branch '2.7': Issue #16793. Replace deprecated unittest asserts with modern counterparts. http://hg.python.org/cpython/rev/a617a50d2766 New changeset 6601818622ea by Serhiy Storchaka in branch '3.3': Issue

[issue16793] Get rid of deprecated assertEquals etc in tests

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I haven't committed changes to lib2to3 tests as I don't sure what version they should be compatible. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

  1   2   >