[issue14477] Rietveld test issue

2014-06-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Technically this is not a bug. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-l

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2014-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: All works to me without exception in 2.7, 3.3 and 3.4. -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue12942] Shebang line fixer for 2to3

2014-06-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson type: -> enhancement versions: +Python 3.4 ___ Python tracker ___ ___ Pytho

[issue13074] Improve documentation of locale encoding functions

2014-06-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The two functions serve a different purpose. getdefautltlocale() specifically avoids calling setlocale() and is thread-safe on Unix. It's purpose is to return the default locale string, not only the encoding. getpreferredencoding() only returns the encodi

[issue21872] LZMA library sometimes fails to decompress a file

2014-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >>> import lzma >>> f = lzma.open('22h_ticks_bad.bi5') >>> len(f.read()) Traceback (most recent call last): File "", line 1, in File "/home/serhiy/py/cpython/Lib/lzma.py", line 310, in read return self._read_all() File "/home/serhiy/py/cpython/Lib/lz

[issue18592] Idle: test SearchDialogBase.py

2014-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The warning was due to absence of def self.root. Attached is close to what will commit. -- stage: needs patch -> commit review Added file: http://bugs.python.org/file35784/test-search-sdb-18592-34.diff ___ Python tra

[issue21872] LZMA library sometimes fails to decompress a file

2014-06-26 Thread Ville Nummela
Ville Nummela added the comment: My stats so far: As of writing this, I have attempted to decompress about 5000 downloaded files (two years of tick data). 25 'bad' files were found within this lot. I re-downloaded all of them, plus about 500 other files as the minimum lot the server supplies

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread Mak Nazečić-Andrlon
New submission from Mak Nazečić-Andrlon: While searching for a way to work around the breakage of the Schwartzian transform in Python 3 (and the resulting awkwardness if you wish to use heapq or bisect, which do not yet have a key argument), I thought of the good old IEEE-754 NaN. Unfortunatel

[issue13405] Add DTrace probes

2014-06-26 Thread Xavier Morel
Changes by Xavier Morel : -- nosy: +xmorel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue14776] Add SystemTap static markers

2014-06-26 Thread Xavier Morel
Changes by Xavier Morel : -- nosy: +xmorel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue21590] Systemtap and DTrace support

2014-06-26 Thread Xavier Morel
Changes by Xavier Morel : -- nosy: +xmorel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread Matthew Barnett
Matthew Barnett added the comment: Lookarounds can contain capture groups: >>> import re >>> re.search(r'a(?=(.))', 'ab').groups() ('b',) >>> re.search(r'(?<=(.))b', 'ab').groups() ('a',) so lookarounds that are optional or can have no repeats might have a use. I'm not sure whether it's useful

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue12750] datetime.strftime('%s') should respect tzinfo

2014-06-26 Thread akira
akira added the comment: > I suspect that in the absence of %z, the most useful option would be to > return naive datetime in the local timezone, but that can be added later. Naive datetime in the local timezone may lose information that is contained in the input timestamp: >>> import os

[issue21864] Error in documentation of point 9.8 'Exceptions are classes too'

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> needs patch type: -> enhancement versions: +Python 3.5 ___ Python tracker ___ ___ Python-bug

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread akira
akira added the comment: Is the issue that: >>> (1, float('nan')) == (1, float('nan')) False but >>> nan = float('nan') >>> (1, nan) == (1, nan) True ? `nan != nan` therefore it might be expected that `(a, nan) != (a, nan)` [1]: > The values float('NaN') and Decimal('NaN') are spe

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread akira
akira added the comment: btw, pypy3 (986752d005bb) is broken: (1, float('nan')) == (1, float('nan')) True -- ___ Python tracker ___

[issue12613] itertools fixer fails

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is small and looks clean to me. Can someone take a look with a view to committing please, thanks. -- nosy: +BreamoreBoy ___ Python tracker __

[issue12750] datetime.strftime('%s') should respect tzinfo

2014-06-26 Thread Mümin Öztürk
Mümin Öztürk added the comment: I added an improved patch according to akira's explanation for strftime and rounding problem. -- Added file: http://bugs.python.org/file35785/strftime2.patch ___ Python tracker

[issue15332] 2to3 should fix bad indentation (or warn about it)

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: I'd be inclined to close this as "won't fix" as a workaround is given, especially considering that mixing tabs and spaces has always been considered a no no. -- nosy: +BreamoreBoy ___ Python tracker

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread Jyrki Pulliainen
Changes by Jyrki Pulliainen : -- nosy: +nailor ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue12613] itertools fixer fails

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Python containers are allowed to let identity-imply-equality (the reflesive property of equality). Dicts, lists, tuples, deques, sets, and frozensets all work this way. So for your purposes, you need to use distinct NaN values rather than reusing a singl

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread Mak Nazečić-Andrlon
Mak Nazečić-Andrlon added the comment: The bug is that the comparison should throw a TypeError, but does not (for incomparable A). -- ___ Python tracker ___

[issue21863] Display module names of C functions in cProfile

2014-06-26 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20069] Add unit test for os.chown

2014-06-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: Okay, I removed "as _". I thought it was not possible. -- Added file: http://bugs.python.org/file35786/add_unit_test_os_chown_v5.patch ___ Python tracker

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-06-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: Raymond, thanks for committing my patch but my name was already put into ACKS before this commit. $ grep -R Vajrasky Misc/ACKS Vajrasky Kok Vajrasky Kok -- ___ Python tracker

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Python core containers support the invariant: assert all(x in c for x in c) See also: http://bertrandmeyer.com/2010/02/06/reflexivity-and-other-pillars-of-civilization/ -- assignee: -> rhettinger ___ Pytho

[issue20069] Add unit test for os.chown

2014-06-26 Thread Claudiu Popa
Claudiu Popa added the comment: Looks good to me. -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 463f499ef591 by Raymond Hettinger in branch '3.4': Issue #19145: Remove duplicate ACKS entry http://hg.python.org/cpython/rev/463f499ef591 -- ___ Python tracker _

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 07eb04003839 by Raymond Hettinger in branch '2.7': Issue #19145: Remove duplicate ACKS entry http://hg.python.org/cpython/rev/07eb04003839 -- ___ Python tracker _

[issue20295] imghdr add openexr support

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 71b9a841119a by R David Murray in branch 'default': #20295: Teach imghdr to recognize OpenEXR format images. http://hg.python.org/cpython/rev/71b9a841119a -- nosy: +python-dev ___ Python tracker

[issue20295] imghdr add openexr support

2014-06-26 Thread R. David Murray
R. David Murray added the comment: Thanks, Martin and Claudiu. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm with Martin and the other respondents who think this shouldn't be done. Without compelling timings, the smacks of feature creep. The platform specific issues may create an on-going maintenance problem. The feature itself is prone to misuse, leaving ha

[issue19628] maxlevels -1 on compileall for unlimited recursion

2014-06-26 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19628] maxlevels -1 on compileall for unlimited recursion

2014-06-26 Thread R. David Murray
R. David Murray added the comment: Do we really want to allow infinite recursion (say a symbolic link loop)? -- ___ Python tracker ___ ___

[issue12750] datetime.strftime('%s') should respect tzinfo

2014-06-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On the second thought, I don't think accepting this should be contingent on any decision with respect to strptime. -- assignee: -> belopolsky stage: needs patch -> commit review ___ Python tracker

[issue19628] maxlevels -1 on compileall for unlimited recursion

2014-06-26 Thread R. David Murray
R. David Murray added the comment: Ah, bad font, I thought the -l was a -1. I see you aren't adding the infinite recursion, the just ability to control the maximum. The patch looks good to me. -- stage: patch review -> commit review ___ Python trac

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue12750] datetime.strftime('%s') should respect tzinfo

2014-06-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > rounding problem fixed with math.floor Can you explain why math.floor rather than builtin round is the correct function to use? -- ___ Python tracker

[issue21476] Inconsistent behaviour between BytesParser.parse and Parser.parse

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a16756dfcc0 by R David Murray in branch '3.4': #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. http://hg.python.org/cpython/rev/0a16756dfcc0 New changeset a3ee325fd489 by R David Murray in branch 'default': Merge #21476: Unw

[issue21476] Inconsistent behaviour between BytesParser.parse and Parser.parse

2014-06-26 Thread R. David Murray
R. David Murray added the comment: Thanks, Vajrasky. And to the reviewers as well. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker __

[issue21046] Document formulas used in statistics

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Three months gone and still no patch, not that I believe one is needed. I'm inclined to close as "won't fix", there's nothing to stop it being reopened if needed. -- ___ Python tracker

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-06-26 Thread Eric V. Smith
Eric V. Smith added the comment: Shouldn't the existing calls to abspath() be changed to os.path.abspath()? Or are both patches meant to be applied? I don't think the first patch applies cleanly any more. In any event: the deprecation and test look good to me. So assuming we get rid of the im

[issue8387] use universal newline mode in csv module examples

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: @sfinnie can we please have a response to the question first asked by Antoine and repeated by Jessica, thanks. -- ___ Python tracker ___

[issue21327] socket.type value changes after using settimeout()

2014-06-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-06-26 Thread Eric V. Smith
Eric V. Smith added the comment: Now that I think about it, maybe we don't need a deprecation warning. http://legacy.python.org/dev/peps/pep-0008/#public-and-internal-interfaces says: "Imported names should always be considered an implementation detail. Other modules must not rely on indirect

[issue2636] Adding a new regex module (compatible with re)

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Will we actually get regex into the standard library on this pass? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___

[issue21046] Document formulas used in statistics

2014-06-26 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: -zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20351] Add doc examples for DictReader and DictWriter

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue21746] urlparse.BaseResult no longer exists

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag, orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue12815] Coverage of smtpd.py

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: There are comments on rietvield but I'm not sure whether or not they've been picked up. In any case can somebody set the appropriate fields and give us a commit review please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.3 ___

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread py.user
py.user added the comment: >>> m = re.search(r'(?<=(a)){10}bc', 'abc', re.DEBUG) max_repeat 10 10 assert -1 subpattern 1 literal 97 literal 98 literal 99 >>> m.group() 'bc' >>> >>> m.groups() ('a',) >>> It works like there are 10 letters "a" before letter "b". -- ___

[issue1528154] New sequences for Unicode groups and block ranges needed

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Is there an easy way to find out how many other issues have #2636 as a dependency? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue3647] urlparse - relative url parsing and joins to be RFC3986 compliance

2014-06-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19870] Backport Cookie fix to 2.7 (httponly / secure flag)

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-

[issue14373] C implementation of functools.lru_cache

2014-06-26 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread STINNER Victor
STINNER Victor added the comment: Maybethe development should start outside Python stdlib, on a project on PyPI. -- ___ Python tracker ___ ___

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread Matthew Barnett
Matthew Barnett added the comment: Lookarounds can capture, but they don't consume. That lookbehind is matching the same part of the string every time. -- ___ Python tracker ___

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread Tim Peters
Tim Peters added the comment: I would not call this a bug - it's just usually a silly thing to do ;-) Note, e.g., that p{N} is shorthand for writing p N times. For example, p{4} is much the same as (but not exactly so in all cases; e.g., if `p` happens to contain a capturing group, the n

[issue10721] Remove HTTP 0.9 server support

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: How, if at all, has the requirement for HTTP 0.9 support changed since this issue was first raised? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker

[issue10721] Remove HTTP 0.9 server support

2014-06-26 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue10721] Remove HTTP 0.9 server support

2014-06-26 Thread Cory Benfield
Cory Benfield added the comment: To answer your question, Mark, RFC 7230 has removed the expectation that HTTP/1.1 servers will be able to support HTTP/0.9 requests. -- nosy: +Lukasa ___ Python tracker ___

[issue9912] Fail when vsvarsall.bat produces stderr

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is two extra lines that look fine to me, can somebody do a commit review please? -- components: -Distutils2 nosy: +BreamoreBoy, dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2 ___ Python tr

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread py.user
py.user added the comment: Tim Peters wrote: > (?<=a)(?<=a)(?<=a)(?<=a) There are four different points. If a1 before a2 and a2 before a3 and a3 before a4 and a4 before something. Otherwise repetition of assertion has no sense. If it has no sense, there should be an exception. -- __

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-06-26 Thread Berker Peksag
Berker Peksag added the comment: Eric, do you want me to commit the patch? Should this also be committed to the 3.4 branch? -- nosy: +r.david.murray ___ Python tracker ___ _

[issue21829] Wrong test in ctypes

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab708e4131dd by Zachary Ware in branch '3.4': Issue #21829: Fix running test_ctypes on Windows with -O or -OO http://hg.python.org/cpython/rev/ab708e4131dd New changeset bbb28082d7b4 by Zachary Ware in branch 'default': Issue #21829: Merge with 3.4

[issue1288056] pygettext: extract translators comments

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Is there anything of value in the patch which can be used, as I can't comment on it from a technical viewpoint? Otherwise can we close this as "out of date" or "won't fix" as appropriate? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python

[issue21829] Wrong test in ctypes

2014-06-26 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the report, Claudiu. I went with a simpler fix, just comparing Py_OptimizeFlag with sys.flags.optimize. That way, we don't care if we're running as -O, -OO, or -OOO, the test will always test against the correct value. -- assignee: -> zach

[issue19897] Use python as executable instead of python3 in Python 2 docs

2014-06-26 Thread Roundup Robot
New submission from Roundup Robot: New changeset eb0921b2100b by Berker Peksag in branch '2.7': Issue #19897: Use python as executable instead of python3. http://hg.python.org/cpython/rev/eb0921b2100b -- nosy: +python-dev ___ Python tracker

[issue19897] Use python as executable instead of python3 in Python 2 docs

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: docs@python -> berker.peksag nosy: +r.david.murray resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker _

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread Ben Hoyt
Ben Hoyt added the comment: Raymond, there are very compelling timings/benchmarks for this -- not so much the original issue here (generator vs list, that's not really an issue) but having a scandir() function that returns the stat-like info from the OS so you don't need extra stat calls. This

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread Tim Peters
Tim Peters added the comment: >> (?<=a)(?<=a)(?<=a)(?<=a) > There are four different points. > If a1 before a2 and a2 before a3 and a3 before a4 and a4 > before something. Sorry, that view doesn't make any sense. A successful lookbehind assertion matches the empty string. Same as the regexp

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread Ben Hoyt
Ben Hoyt added the comment: Thanks! Will post the PEP to python-dev in the next day or two. -- ___ Python tracker ___ ___ Python-bugs-

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Patched code produces identical output to unpatched code. This doesn't really surprise me as word is reused within the for loop. -- nosy: +BreamoreBoy ___ Python tracker __

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-06-26 Thread Berker Peksag
Berker Peksag added the comment: Here's a new patch with a whatsnew entry. David, could you review the patch? -- nosy: +r.david.murray Added file: http://bugs.python.org/file35787/issue5800_v2.diff ___ Python tracker

[issue21858] Enhance error handling in the sqlite module

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62612b195cb5 by Victor Stinner in branch '3.4': Issue #21858: Better handling of Python exceptions in the sqlite3 module. http://hg.python.org/cpython/rev/62612b195cb5 New changeset 169171da66fa by Victor Stinner in branch 'default': (Merge 3.4) Iss

[issue21858] Enhance error handling in the sqlite module

2014-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21858] Enhance error handling in the sqlite module

2014-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10558] non-standard processing of several configure options ignores "=no"

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Does the patch here or an updated version still need incorporating into the build system? -- nosy: +BreamoreBoy type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker

[issue21863] Display module names of C functions in cProfile

2014-06-26 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. I didn't test it, but I see that the change is already tested by existing tests. -- nosy: +haypo ___ Python tracker ___

[issue21849] Fix multiprocessing for non-ascii data

2014-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-26 Thread STINNER Victor
STINNER Victor added the comment: The problem is in the ceval.c, the core of Python bytecode interpreter. For performances, it doesn't check if pending calls should be called for each instructio. It uses "fast dispatch" which doesn't check pending calls. The problem is that a signal schedules

[issue21825] Embedding-Python example code from documentation crashes

2014-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue6029] FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks) [SPARC/64-bit]

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: I believe this can be closed as a very similar change was done in r59626. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue10798] test_concurrent_futures fails on FreeBSD

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Is it safe to assume that this test problem was resolved long ago? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue10798] test_concurrent_futures fails on FreeBSD

2014-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2636] Adding a new regex module (compatible with re)

2014-06-26 Thread Nick Coghlan
Nick Coghlan added the comment: Even with in principle approval from Guido, this idea still depends on volunteers to actually write up a concrete proposal as a PEP (which shouldn't be too controversial, given Guido already OK'ed the idea) and then do the integration work to incorporate the code,

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-26 Thread Alex
Alex added the comment: It's not a major usability issue for me, and I wouldn't be too distressed by a WONTFIX, though I don't know how much it affects other people. I've just noticed that this is a smaller version: while 1: if 0<0: pass I'm curious as to why the above is not interruptible,

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread Nick Coghlan
Nick Coghlan added the comment: I suggest a pass through python-ideas first. python-ideas feedback tends to be more oriented towards "is this proposal as persuasive as it could be?", while python-dev is more aimed at the "is this a good idea or not?" yes/no question. (python-ideas feedback natura

[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: The calls to type_error in the patch that have been added and removed appear to be identical, I don't know if this is by accident or design. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2014-06-26 Thread Ben Hoyt
Ben Hoyt added the comment: Nick -- sorry, already posted to python-dev before seeing your latest. However, I think it's the right place, as there's already been a fair bit of hashing this idea and API out on python-ideas first and then also python-dev. See links in the PEP here: http://legacy

[issue4613] Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python shows no traceback

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: As issue 4617 has been closed as resolved is there anything left to do here? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread akira
akira added the comment: > Python containers are allowed to let identity-imply-equality (the reflesive > property of equality). Is it documented somewhere? > Dicts, lists, tuples, deques, sets, and frozensets all work this way. Is it CPython specific behaviour? -- _

[issue10598] curses fails to import on Solaris

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: The code was fixed in default in r73781. The patch for test_curses was never applied unless by a different name. -- nosy: +BreamoreBoy ___ Python tracker _

[issue10116] Sporadic failures in test_urllibnet

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Is it safe to assume that these failures have been resolved? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker _

[issue14460] In re's positive lookbehind assertion repetition works

2014-06-26 Thread Tim Peters
Tim Peters added the comment: BTW, note that the idea "successful lookaround assertions match an empty string" isn't just a figure of speech: it's the literal truth, and - indeed - is key to understanding what happens here. You can see this by adding some capturing groups around the assertio

[issue21874] test_strptime fails on rhel/centos/fedora systems

2014-06-26 Thread Bob Lightfoot
New submission from Bob Lightfoot: when attempting build of 3.3.2-15 and 3.4.1 saw this error on both el7 and fc20 systems. -- components: Tests files: fail.summary.log.el7 messages: 221667 nosy: boblfoot priority: normal severity: normal status: open title: test_strptime fails on rhel/

[issue21874] test_strptime fails on rhel/centos/fedora systems

2014-06-26 Thread Bob Lightfoot
Changes by Bob Lightfoot : Added file: http://bugs.python.org/file35789/fail.summary.log.fc20 ___ Python tracker ___ ___ Python-bugs-list mail

  1   2   >