[issue14997] IDLE tries to run shell window if line is completed with F5 rather than Enter

2012-09-30 Thread Roger Serwy
Changes by Roger Serwy : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15533] subprocess.Popen(cwd) documentation

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: I propose addressing the remainder of this issue by: 1) Documenting the difference in behavior between Windows and non-Windows, adjusting the tests to reflect this difference, and then closing this issue, and then 2) Creating a new issue to discuss whether an

[issue16036] simplify int() signature docs

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: Chris (cvrebert), feel free to create a new issue to improve the int() docs further. -- ___ Python tracker ___

[issue16036] simplify int() signature docs

2012-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed76eac4491e by Chris Jerdonek in branch '2.7': Close #16036: Backport 3.x documentation improvement. http://hg.python.org/cpython/rev/ed76eac4491e -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed __

[issue2771] Test issue

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10834] Python 2.7 x86 IDLE fails to run in Windows 7

2012-09-30 Thread Roger Serwy
Roger Serwy added the comment: Peter, is this still an issue with 2.7.3? -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list m

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14161] python2 file __repr__ does not escape filename

2012-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: Not sure why this is still open -- probably I was just waiting for the buildbots and forgot it open. The issue seems fixed, so I'm going to close it now. -- assignee: -> ezio.melotti resolution: -> fixed stage: test needed -> committed/rejected status

[issue15897] zipimport.c doesn't check return value of fseek()

2012-09-30 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Felipe, could you please submit a Contributor Agreement Form? http://www.python.org/psf/contrib/ Your patch looks good to me, although I would move almost all """ fclose(fp); PyErr_Format(ZipImportError, "can't read Zip file: %R", archive); return NULL; ""

[issue16036] simplify int() signature docs

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: [Django/Rietveld is erroring out for me when I try to reply there, so replying here] On 2012/10/01 01:45:03, cvrebert wrote: > Doc/library/functions.rst:636: arguments are given. If *x* is a number, > return > :meth:`x.__int__() > How is "number-ness" determi

[issue12930] reindent.py inserts spaces in multiline literals

2012-09-30 Thread Roger Serwy
Roger Serwy added the comment: > > Definitely a bugfix should not add any new switches. Patch would simply lead > to preserving of all string literals and nothing more. I added the switch so that the existing behavior of reindent would stay the same in case some other scripts rely on that behav

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2012-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: Attached failing test. -- keywords: +patch Added file: http://bugs.python.org/file27369/issue11489.diff ___ Python tracker ___ ___

[issue13476] Simple exclusion filter for unittest autodiscovery

2012-09-30 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Chris Rebert
Chris Rebert added the comment: This is now hardcore nitpicking, but I'm conflicted as to whether %p should be grouped with the other locale-related codes or with %I (since it's hard to imagine using %I or %p in a singleton capacity). In any case, props to Mike for putting an actual patch toge

[issue12930] reindent.py inserts spaces in multiline literals

2012-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Definitely a bugfix should not add any new switches. Patch would simply lead to preserving of all string literals and nothing more. I will look at Caio's patches a little later. Now Python contains automated tests for some tools. -- nosy: +storchaka

[issue10951] gcc 4.6 warnings

2012-09-30 Thread Martin Pool
Martin Pool added the comment: Hi, Martin, On 20 August 2012 05:25, Martin v. Löwis wrote: > Martin v. Löwis added the comment: > > (As usual), I'm quite skeptical about this "bulk bug report"; it violates the > "one bug at a time" principle, where "one bug" can roughly be defined as > "canno

[issue16034] bz2 module appears slower in Python 3.x versus Python 2.x

2012-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In fact I have tried other code, a bit faster and more maintainable (see patch). -- Added file: http://bugs.python.org/file27368/bz2_bikeshedding.patch ___ Python tracker ___

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2012-09-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16074] bad error message in os.rename

2012-09-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12930] reindent.py inserts spaces in multiline literals

2012-09-30 Thread Roger Serwy
Roger Serwy added the comment: Attached is a simple test of the "-s" functionality for reindent.py. It works on Linux but I'm not sure about Windows. -- Added file: http://bugs.python.org/file27367/test_reindent.py ___ Python tracker

[issue12930] reindent.py inserts spaces in multiline literals

2012-09-30 Thread Roger Serwy
Roger Serwy added the comment: This issue also affects reindent.py in Python 3.x. The attached patch adds a "-s" switch to reindent.py to disallow changes to the contents of strings. The rstrip_and_expand_tabs function tokenizes the input to identify all strings and then expands and rstrips a

[issue16034] bz2 module appears slower in Python 3.x versus Python 2.x

2012-09-30 Thread Nadeem Vawda
Nadeem Vawda added the comment: > Recursive inline _check_can_read() will be enough. Now this check calls 4 > Python functions (_check_can_read(), readable(), _check_non_closed(), > closed). Recursive inlining only readable() in _check_can_read() is achieved > significant but less (about 30%)

[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Mike Hoy
Mike Hoy added the comment: New patch includes time.strptime and the additional changes suggested by Chris Rebert. -- Added file: http://bugs.python.org/file27365/issue9650-format-codes_v3.diff ___ Python tracker _

[issue15862] IDLE not working when due to wrong Hard Drive point of os.path.expanduser

2012-09-30 Thread Roger Serwy
Roger Serwy added the comment: In your original message, did IDLE eventually start when you ran: C:\Python27>python.exe Lib\idlelib\idle.py ? If yes, then the bug is likely due to issue13582. If I understand correctly, when you reboot your computer, IDLE won't launch from the shortcut in th

[issue8800] add threading.RWLock

2012-09-30 Thread Richard Oudkerk
Richard Oudkerk added the comment: @Sebastian: Both your patch sets are missing the changes to threading.py. -- ___ Python tracker ___

[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Chris Rebert
Chris Rebert added the comment: I'm going to bikeshed and again suggest that %I and %p be included for handling 12-hour clock times. Also, the patch seems to only be for strftime(), and not strptime(). -- ___ Python tracker

[issue1052827] filelist.findall should not fail on dangling symlinks

2012-09-30 Thread Michele Orrù
Changes by Michele Orrù : -- nosy: +maker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16081] Fix compile warnings in thread_pthread.h

2012-09-30 Thread Brian Brazil
Brian Brazil added the comment: I'm on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, this was the only warning I saw (though I don't have all the optional libraries installed). -- ___ Python tracker __

[issue16081] Fix compile warnings in thread_pthread.h

2012-09-30 Thread Michele Orrù
Michele Orrù added the comment: That's ok for me. Tested with OSX 10.8 and clang. -- nosy: +maker ___ Python tracker ___ ___ Python-bu

[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0

2012-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > For once a Linux bot shows the failure that is the topic of this > issue: Hmm, so there may be a small race condition after all? The problem is that I can't reproduce, on a non-debug build as on that buildbot, after more than 43000 (!) test runs. Either this

[issue13028] python wastes linux users time by checking for dylib on each dynamic library load

2012-09-30 Thread Brett Cannon
Changes by Brett Cannon : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8800] add threading.RWLock

2012-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, since we're bikeshedding, I like Richard's proposal best: > Personally, I would prefer to make the shared and exclusive locks > attributes of the same object, so one could do > >with selock.shared: > ... > >with selock.exclusive: > ...

[issue16049] Create abstract base classes by inheritance rather than a direct invocation of __metaclass__

2012-09-30 Thread Guido van Rossum
Guido van Rossum added the comment: In practice this is indeed how most users of met a classes do it. E.g. Django. So, +1. --Guido van Rossum (sent from Android phone) On Sep 30, 2012 11:36 AM, "Antoine Pitrou" wrote: > > Antoine Pitrou added the comment: > > It looks slightly better, but it w

[issue8800] add threading.RWLock

2012-09-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: >A shared/exclusive lock isn't one lock but two locks, which are >synchronized, >but must be acquired separately. Similar to a pipe, >which isn't one file, but >one file connected to another file that >reads whatever you have written into >the first fi

[issue15923] Building from a fresh clone breaks on Parser/asdl_c.py

2012-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: This is now fixed. self.emit("default:" % name, 2) worked until #15801 got fixed, Since asdl_c.py is executed using the system Python, this was failing only when the system Python included the fix. -- assignee: -> ezio.melotti components: +Build nosy: +

[issue15801] Weird string interpolation behaviour

2012-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f07ab82de92 by Ezio Melotti in branch '2.7': #15923: fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801). http://hg.python.org/cpython/rev/8f07ab82de92 New changeset cb988d601803 by Ezio Melotti in branch '3.2':

[issue15923] Building from a fresh clone breaks on Parser/asdl_c.py

2012-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f07ab82de92 by Ezio Melotti in branch '2.7': #15923: fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801). http://hg.python.org/cpython/rev/8f07ab82de92 New changeset cb988d601803 by Ezio Melotti in branch '3.2':

[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /

2012-09-30 Thread Éric Araujo
Éric Araujo added the comment: A unit test is needed. -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14783] Make int() and str() docstrings correct

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: > So (a) there is precedent for multiple signatures in docstrings For the record, this is also true of 2.7: http://hg.python.org/cpython/file/15fd0b4496e0/Objects/bytearrayobject.c#l2870 -- ___ Python tracker

[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0

2012-09-30 Thread Stefan Krah
Stefan Krah added the comment: For once a Linux bot shows the failure that is the topic of this issue: http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.x/builds/3101/steps/test/logs/stdio == FAIL: test_circu

[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Mike Hoy
Mike Hoy added the comment: Updated patch as per Ezio's comment. -- Added file: http://bugs.python.org/file27364/issue9650-format-codes_v2.diff ___ Python tracker ___

[issue8800] add threading.RWLock

2012-09-30 Thread Sebastian Noack
Sebastian Noack added the comment: I was just waiting for a comment pointing out, that my patch comes without tests. :) Note that we are still discussing the implementation and this patch is just a proof of concept. And since the way it is implemented and the API it provides could still change

[issue16049] Create abstract base classes by inheritance rather than a direct invocation of __metaclass__

2012-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: It looks slightly better, but it would also violate "there is one obvious way to do it". -- nosy: +gvanrossum, pitrou ___ Python tracker ___ __

[issue16096] Get rid of dangerous integer overflow tricks

2012-09-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file27362/size_overflow-2.7.patch ___ Python tracker ___ ___ Python-bugs-list

[issue16096] Get rid of dangerous integer overflow tricks

2012-09-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file27361/size_overflow-3.2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue16096] Get rid of dangerous integer overflow tricks

2012-09-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In several places such dungerous code used to check the integer overflow: size = n * itemsize; if (size / itemsize != n) raise exception... Because these values are signed, this results in undefined behavior. The proposed patches replace similar unsafe

[issue13028] python wastes linux users time by checking for dylib on each dynamic library load

2012-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Which was the command run under strace exactly? -- nosy: +brett.cannon, ncoghlan, pitrou versions: +Python 3.4 -Python 2.7 ___ Python tracker __

[issue16086] tp_flags: Undefined behaviour with 32 bits long

2012-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I'm not Martin, but I'll try to answer. An ABI pertains to the interfaces exposed by compiled object code, not source code. With C, function signatures in compiled code don't keep any type information (*), and they obviously doesn't know about macros eithe

[issue14783] Make int() and str() docstrings correct

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: The change for issue 15831 contains a number of places where a single signature line was converted to multiple -- but in the docs and not the docstrings. Those instances can also be examined for this issue. The signature line for str() was not updated in that

[issue8800] add threading.RWLock

2012-09-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I can't say that I'm that familiar with multiprocessing to comment on that in particular. But I do find your approach strange, to create two "lock-like" objects, in stead of the more familiar construct of having a "RWLock" (this is known from other lan

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Ezio Melotti
Ezio Melotti added the comment: The patch contains non-ascii apostrophes: s/Locale’s/Locale's/ -- nosy: +ezio.melotti ___ Python tracker ___ __

[issue16074] bad error message in os.rename

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16009] Json error messages could provide more information about the error

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16007] Improved Error message for failing re expressions

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue15533] subprocess.Popen(cwd) documentation

2012-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8d52b5b4bc2 by Chris Jerdonek in branch '3.2': Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending resolution of issue. http://hg.python.org/cpython/rev/d8d52b5b4bc2 New changeset 17d709f0b69b by Chris Jerdonek in branch '3.3':

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16094] Tuple extraction in a lambda isn't supported by 2to3

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16082] xml.etree.ElementTree.tostringlist does conform to it's documentation

2012-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Pietro Battiston
Changes by Pietro Battiston : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16095] urllib2 failing with squid proxy and digest authentication

2012-09-30 Thread Pietro Battiston
New submission from Pietro Battiston: If you run the following code: #! /usr/bin/python import urllib2 MyHTTPPasswordMgr = urllib2.HTTPPasswordMgr proxy = urllib2.ProxyHandler({'http': 'http://proxybiblio2.si.unimib.it:8080'}) auth = urllib2.ProxyDigestAuthHandler(MyHTTPPasswordMgr()) auth.add_

[issue16094] Tuple extraction in a lambda isn't supported by 2to3

2012-09-30 Thread Brett Cannon
Changes by Brett Cannon : -- title: Tuple extraction in lambda isn't supported with more than one argument -> Tuple extraction in a lambda isn't supported by 2to3 ___ Python tracker ___

[issue15533] subprocess.Popen(cwd) documentation

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: So it seems the cwd argument to Popen() currently works differently on Windows from Mac OS X. For example, the following doesn't work on Windows (but does on Mac). Windows doesn't look for arg0 relative to arg_cwd: def test_cwd(arg0, arg_cwd): os.chdir('

[issue13801] The Python 3 Docs don't highlight nonlocal

2012-09-30 Thread Georg Brandl
Georg Brandl added the comment: Pygments is now updated to 1.5pre. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue14503] docs: "yield from" breaks Pygments syntax coloring in doc examples

2012-09-30 Thread Georg Brandl
Georg Brandl added the comment: I've updated the version of Pygments used by 3.3 and 3.4 branches, which fixes this and the "raise from" issue. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed versions: +Python 3.4 -Python 2.7, Python 3.2

[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Mike Hoy
Mike Hoy added the comment: Changed docstring for timemodule.c to include format codes listed here: http://bugs.python.org/msg169193 -- keywords: +patch Added file: http://bugs.python.org/file27358/issue9650-format-codes.diff ___ Python tracker

[issue16055] incorrect error text for int(base=1000, x='1')

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: A few comments on the patch: 1) You should also check the exception type (e.g. by using PyErr_ExceptionMatches()). 2) If the exception doesn't match, you should restore the original exception so that the pure Python test framework will in turn raise it and th

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Stefan Krah
Stefan Krah added the comment: Do note that the patch is somewhat cargo-cult. I don't understand yet why it works; it may very well just silence the real problem. -- ___ Python tracker _

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Here's a patch. Very, very simple, just changed that one line in inspect.py and wrote a highly primitive test case for inspect.getframeinfo. The test isn't actually testing the primary functionality right now, just this one bug. I can probably write more expansive

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Eli Bendersky
Eli Bendersky added the comment: I'm currently somewhat "offline" for a while (cross-continental move), but I'll do my best to try to recreate my setup to test this problem and the proposed solution. -- ___ Python tracker

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Nevermind, replicated it. Changing start = max(start, 1) to start = max(start, 0) DOES fix. Writing a test case now. -- ___ Python tracker ___

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Also, would you mind posting an example? I'm having trouble replicating. -- ___ Python tracker ___ ___ P

[issue8800] add threading.RWLock

2012-09-30 Thread Richard Oudkerk
Richard Oudkerk added the comment: > I've added a new patch, that implements a shared/exclusive lock as > described in my comments above, for the threading and multiprocessing > module. The patch does not seem to touch the threading mode and does not come with tests. I doubt the multiprocess

[issue15812] inspect.getframeinfo() cannot show first line

2012-09-30 Thread Sam Breese
Sam Breese added the comment: Looking into this now. Should have a patch either later today or tommorow. -- nosy: +Sam.Breese ___ Python tracker ___ _

[issue16034] bz2 module appears slower in Python 3.x versus Python 2.x

2012-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Also, I'm reluctant to have two copies of the code for _read_block(); it > makes the code harder to read, and increases the chance of introducing a bug > when changing the code. Recursive inline _check_can_read() will be enough. Now this check calls 4 Pyt

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The issue is in lib2to3. tuple_params does not work with lambdas. I confirm the bug. $ ./python -m lib2to3 -f tuple_params lambda_tuple_params.py RefactoringTool: Refactored lambda_tuple_params.py --- lambda_tuple_params.py (original) +++ lambda_tuple_p

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread Mark Dickinson
Mark Dickinson added the comment: Works for me (Python 2.7.3): >>> x = lambda (a, b), c: a + b + c >>> x((2, 3), 4) 9 What issue are you seeing? -- nosy: +mark.dickinson ___ Python tracker ___

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread Ramchandra Apte
Ramchandra Apte added the comment: Python 2.7 and earlier are in bug-fix mode (means no new features) Tuple unpacking is not there in Python 3. Please close this bug as invalid. -- nosy: +ramchandra.apte type: -> enhancement ___ Python tracker

[issue16090] but is needed somewhere in http://www.python.org/dev/peps/pep-3138/

2012-09-30 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- resolution: fixed -> postponed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16090] but is needed somewhere in http://www.python.org/dev/peps/pep-3138/

2012-09-30 Thread Ramchandra Apte
Ramchandra Apte added the comment: Somehow my name is displayed as "mani and ram" when replying by email (I changed my email name from that to "Ramchandra Apte") Just so that you know that "mani and ram" is the same person as "Ramchandra Apte" -- __

[issue16090] but is needed somewhere in http://www.python.org/dev/peps/pep-3138/

2012-09-30 Thread mani and ram
mani and ram added the comment: When I find it I will open it. On 30 September 2012 12:26, Georg Brandl wrote: > > Georg Brandl added the comment: > > I've gone through the PEP; I've found a few typos and fixed them, but no > missing "but". Sorry, but without a more specific location I don't

[issue15862] IDLE not working when due to wrong Hard Drive point of os.path.expanduser

2012-09-30 Thread Cemal Duman
Cemal Duman added the comment: Hi, yes exactly... I changed my home by using below commands. C:\Python27>set HOME=C:\ C:\Python27>python -m idlelib.idle it is working. But if i reboot my computer HOME changes again to network drive. I think sth abour corporate programs rewrites this paramters

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Christian Heimes
Christian Heimes added the comment: I can confirm that Stefan's fix works. I ran the SimpleTAL test suite about hundred times in a loop without a segfault. But I don't understand why the change fixes the issue. Could the alteration just lead to another code path so the erroneous code isn't tri

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Stefan Krah
Stefan Krah added the comment: I'm now able to reproduce the issue with a non-debug build. As Christian says, using Py_CLEAR() does not help (though I wonder if it shouldn't be used anyway). Reverting part of 20b8f0ee3d64 "fixes" the segfault, see the attached diff. I don't know the code well en

[issue16034] bz2 module appears slower in Python 3.x versus Python 2.x

2012-09-30 Thread Nadeem Vawda
Nadeem Vawda added the comment: > Yes, of course. Awesome. I plan to do a new release for this in the next couple of days. > We can even speed up 1.5 times the reading of small chunks, if we inline > _check_can_read() and _read_block(). Interesting idea, but I don't think it's worthwhile. It

[issue16094] Tuple extraction in lambda isn't supported with more than one argument

2012-09-30 Thread GlitchMr
New submission from GlitchMr: Tuple extraction in lambda isn't supported with more than one argument. -- components: 2to3 (2.x to 3.x conversion tool) files: lambda.py messages: 171627 nosy: GlitchMr priority: normal severity: normal status: open title: Tuple extraction in lambda isn't s

[issue8800] add threading.RWLock

2012-09-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Yes, any "blocking" on the internal lock is not semantic blocking due to the use of the Shared lock itself, but merely a technical aspect, not semantically visible to the program. It is equivalent to the operating system pausing the thread, a techical

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Christian Heimes
Christian Heimes added the comment: No, it doesn't make a difference when I replace Py_XDECREF() with Py_CLEAR(). I've also replaced Py_(X)DECREF() in the other *_gc_clear() methods without success. -- ___ Python tracker

[issue16055] incorrect error text for int(base=1000, x='1')

2012-09-30 Thread Peter Inglesby
Peter Inglesby added the comment: Ok, I've now attached a patch with tests. -- Added file: http://bugs.python.org/file27353/issue16055-fix-with-tests.patch ___ Python tracker ___

[issue13476] Simple exclusion filter for unittest autodiscovery

2012-09-30 Thread Tom Wardill
Changes by Tom Wardill : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11770] inspect.dir_static

2012-09-30 Thread Tom Wardill
Changes by Tom Wardill : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue15505] unittest.installHandler incorrectly assumes SIGINT handler is set.

2012-09-30 Thread Tom Wardill
Changes by Tom Wardill : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11798] Test cases not garbage collected after run

2012-09-30 Thread Tom Wardill
Tom Wardill added the comment: Patch attached using setting test to None after execution. -- keywords: +patch nosy: +tomwardill Added file: http://bugs.python.org/file27352/11798.patch ___ Python tracker __

[issue15533] subprocess.Popen(cwd) documentation

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: Two of the tests fail on at least some of the Windows bots. I am investigating. == ERROR: test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCase) -

[issue15533] subprocess.Popen(cwd) documentation

2012-09-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: I will commit to 2.7 separately. -- versions: +Python 3.2, Python 3.4 ___ Python tracker ___ ___ Pyt

[issue15533] subprocess.Popen(cwd) documentation

2012-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset abfaa4368263 by Chris Jerdonek in branch '3.2': Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument. http://hg.python.org/cpython/rev/abfaa4368263 New changeset f66ff96f0030 by Chris Jerdonek in branch '3.3': Issue #15533:

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Stefan Krah
Stefan Krah added the comment: I can't reproduce this, so just a wild guess: Does the segfault still happen if you replace Py_XDECREF() with Py_CLEAR() in xmlparser_gc_clear()? -- nosy: +skrah ___ Python tracker __

[issue16089] _elementtree causes segfault in GC

2012-09-30 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +XML nosy: +eli.bendersky, flox ___ Python tracker ___ ___ Python-bugs-list mailing list U

  1   2   >