[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 Ned Deily
Changes by Ned Deily : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-26 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94f7cdab9f71 by Ned Deily in branch '2.7': Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. http://hg.python.org/cpython/rev/94f7cdab9f71 New changeset d130a04fa6a1 by Ned Deily in branch '3.4': Issue #21875: Remove ves

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

2014-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa4b4487c7ad by Benjamin Peterson in branch '2.7': don't overwrite the error from PyObject_GetAttrString (closes #4346) http://hg.python.org/cpython/rev/aa4b4487c7ad -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved

[issue10312] intcatcher() can deadlock

2014-06-26 Thread Claudiu Popa
Claudiu Popa added the comment: It's still in Python 2, though. -- nosy: +Claudiu.Popa resolution: out of date -> stage: resolved -> status: closed -> open versions: -Python 3.1, Python 3.2 ___ Python tracker __

[issue10312] intcatcher() can deadlock

2014-06-26 Thread Claudiu Popa
Changes by Claudiu Popa : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-26 Thread Ned Deily
New submission from Ned Deily: The documentation for os.stat() still contains references to optional stat fields that were supported on Classic Mac OS systems but are no longer supported in Python on Mac OS X: On Mac OS systems, the following attributes may also be available: st_rsize

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2014-06-26 Thread Claudiu Popa
Claudiu Popa added the comment: I got a failure on FreeBSD: [1/1] test_shutil test test_shutil failed -- Traceback (most recent call last): File "/tank/libs/cpython/Lib/test/test_shutil.py", line 1258, in test_chown shutil.chown(os.path.basename(filename), dir_fd=dirfd) File "/tank/libs/

[issue19546] configparser leaks implementation detail

2014-06-26 Thread Claudiu Popa
Claudiu Popa added the comment: Łukasz, do you have some time to take a look at this patch? -- type: -> behavior versions: +Python 3.5 Added file: http://bugs.python.org/file35791/issue19546_1.patch ___ Python tracker

[issue21151] winreg.SetValueEx causes crash if value = None

2014-06-26 Thread Claudiu Popa
Changes by Claudiu Popa : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2014-06-26 Thread py.user
py.user added the comment: Tim Peters wrote: > Should that raise an exception? >i += 0 >(?=a)b >(?=a)a These are another cases. The first is very special. The second and third are special too, but with different contents of assertion they can do useful work. While "(?=any contents){N}a" ne

[issue20351] Add doc examples for DictReader and DictWriter

2014-06-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue18853] Got ResourceWarning unclosed file when running Lib/shlex.py demo

2014-06-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2014-06-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue20351] Add doc examples for DictReader and DictWriter

2014-06-26 Thread Charles-Axel Dein
Charles-Axel Dein added the comment: Updated patch following review. -- Added file: http://bugs.python.org/file35790/add_csvdict_examples.patch ___ Python tracker ___ ___

[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 Albert Hopkins
Albert Hopkins added the comment: You can close this one out. I don't even remember the use case anymore. -- ___ Python tracker ___ __

[issue21873] Tuple comparisons with NaNs are broken

2014-06-26 Thread Mak Nazečić-Andrlon
Mak Nazečić-Andrlon added the comment: It's not about equality. >>> class A: pass ... >>> (float("nan"), A()) < (float("nan"), A()) False That < comparison should throw a TypeError, since NaN < NaN is False, in the same way that 0 < 0 is False here: >>> (0, A()) < (0, A()) Tr

[issue8214] Add exception logging function to syslog module

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: @Sean is this something you can pick up again, it seems a shame to let your past efforts gather dust? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker

[issue10312] intcatcher() can deadlock

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: intrcheck.c no longer exists in cpython so can this be closed "out of date"? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[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

[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/

[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

[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 _

[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 _

[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? -- _

[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 ___

[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

[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 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

[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,

[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,

[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

[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 ___ _

[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 ___ ___

[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

[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

[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 ___

[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

[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

[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 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

[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

[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 __

[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-

[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: 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

[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 _

[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

[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

[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 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

[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 ___ _

[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. -- __

[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

[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 ___

[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 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

[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

[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 ___

[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 ___ ___

[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

[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-

[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

[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 ___ __

[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". -- ___

[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 ___

[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

[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

[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

[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 ___

[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

[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.

[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 ___

[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

[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

[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 __

[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

[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

[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

[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

[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: Do we really want to allow infinite recursion (say a symbolic link loop)? -- ___ Python tracker ___ ___

[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

[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

[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 ___ ___

[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

[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 _

[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 _

[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

[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

[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

[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

[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

[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 ___

[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

[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

[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

[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

[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

  1   2   >