[issue22472] OSErrors should use str and not repr on paths

2014-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: вівторок, 30-вер-2014 19:26:52 ви написали: > How do I reconstruct an arbitrary OSError error message using the filename > parameter? if not e.args: msg = '' elif len(e.args) == 1: msg = str(e.args[0]) elif len(e.args) <= 5: msg = '[Error %s] %s' %

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-09-30 Thread Charles-François Natali
Charles-François Natali added the comment: Agreed with Antoine and Benjamin. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16537] Python’s setup.py raises a ValueError when self.extensions is empty

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ef4e3a125bf by Berker Peksag in branch '3.4': Issue #16537: Use the new *default* parameter of max(). https://hg.python.org/cpython/rev/1ef4e3a125bf New changeset 37d896c3604a by Berker Peksag in branch 'default': Issue #16537: Use the new *default

[issue22530] re rejects index of type long on 2.7

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30f72ed73c3b by Benjamin Peterson in branch '2.7': allow longs as indexes to group() (closes #22530) https://hg.python.org/cpython/rev/30f72ed73c3b -- nosy: +python-dev resolution: not a bug -> fixed stage: -> resolved status: open -> close

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue6320] Standard string encodings should include GSM0.38

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue7336] traceback module not properly printing exceptions on interpreter shutdown

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue22530] re rejects index of type long on 2.7

2014-09-30 Thread Guido van Rossum
Guido van Rossum added the comment: I haven't seen the fix, but any place where an int is accepted but a long is not, is a bug. The language has been on a long trip to making the two types interchangeable and this seems one of the last remnants. -- nosy: +gvanrossum __

[issue21739] Add hint about expression in list comprehensions (https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions)

2014-09-30 Thread R. David Murray
R. David Murray added the comment: The only demure I got on this was from Ezio, who objected that the concept of 'scope' hadn't been introduced yet in the tutorial. So I reworded it to avoid the word 'scope'. Thanks, Rose. -- resolution: -> fixed stage: commit review -> resolved sta

[issue21739] Add hint about expression in list comprehensions (https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions)

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 84895d037258 by R David Murray in branch '3.4': #21739: mention subtle difference between loops and listcomps in tutorial. https://hg.python.org/cpython/rev/84895d037258 New changeset 8279017436a2 by R David Murray in branch 'default': Merge #21739:

[issue22526] file iteration SystemError for huge lines (2GiB+)

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset beadb3e1dc81 by Benjamin Peterson in branch '2.7': use Py_ssize_t for file offset and length computations in iteration (closes #22526) https://hg.python.org/cpython/rev/beadb3e1dc81 -- nosy: +python-dev resolution: -> fixed stage: -> reso

[issue22530] re rejects index of type long on 2.7

2014-09-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: As I explained on the thread (possibly my post crossed in the mail with Ryan's patch) I don't believe this is a bug fix. MatchObject.group has only accepted actual ints, not longs, since Python 1.5 (tested 1.5, 2.4-2.7). Nor is there any requirement to suppor

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-30 Thread R. David Murray
R. David Murray added the comment: Thanks, Francis. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset c5bcc4d07344 by R David Murray in branch '2.7': #22512: move distutils rpm test's .rpmdb to testing tmpdir. https://hg.python.org/cpython/rev/c5bcc4d07344 -- ___ Python tracker

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec6cee80926f by R David Murray in branch '3.4': #22512: move distutils rpm test's .rpmdb to testing tmpdir. https://hg.python.org/cpython/rev/ec6cee80926f New changeset 4877f91a0389 by R David Murray in branch 'default': Merge: #22512: move distutil

[issue13451] sched.py: speedup cancel() method

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: > I see no possible optimization here. The asyncio was just optimized to handle cancellation of many callbacks, see issue #22448. -- ___ Python tracker __

[issue21922] PyLong: use GMP

2014-09-30 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21922] PyLong: use GMP

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Can we close this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue22530] re rejects index of type long on 2.7

2014-09-30 Thread Ryan Gonzalez
New submission from Ryan Gonzalez: This should work (but doesn't): Python 2.7.8+ (2.7:63dc1e32b715, Sep 30 2014, 19:24:46) [GCC 4.2.1 Compatible Clang 3.5.0 (207381)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> re.match('(foo)', 'foo').grou

[issue18199] Windows: support path longer than 260 bytes using "\\?\" prefix

2014-09-30 Thread STINNER Victor
Changes by STINNER Victor : -- components: -Unicode ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue8304] time.strftime() and Unicode characters on Windows

2014-09-30 Thread STINNER Victor
Changes by STINNER Victor : -- title: strftime and Unicode characters -> time.strftime() and Unicode characters on Windows ___ Python tracker ___

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-09-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Antoine is probably right that we should revert. I wonder what the exact problem with Ceph is, though. On Tue, Sep 30, 2014, at 18:55, STINNER Victor wrote: > > STINNER Victor added the comment: > > @Benjamin: What do you think? Should we revert the changes

[issue14341] sporadic (?) test_urllib2 failures

2014-09-30 Thread Berker Peksag
Berker Peksag added the comment: test_method_deprecations has been removed in https://hg.python.org/cpython/rev/b5980b1171d0. Closing this as out of date. -- nosy: +berker.peksag resolution: -> out of date stage: needs patch -> resolved status: open -> closed _

[issue1471934] Python libcrypt build problem on Solaris 8, 9, 10 and OpenSolaris

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: I've no idea whether or not the patches are still valid after all this time. -- nosy: +BreamoreBoy, jcea versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker

[issue9917] resource max value represented as signed when should be unsigned

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @David one for your TODO list or does this rightfully belong with somebody else? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker __

[issue1180267] expanding platform module and making it work as it should

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: I think this should be an enhancement request. Regardless it goes nowhere without a patch, anybody? -- nosy: +BreamoreBoy type: behavior -> enhancement versions: +Python 3.5 -Python 2.6 ___ Python tracker

[issue22492] small addition to print() docs: no binary streams.

2014-09-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. Here is a patch I will commit if you approve. I deleted 'convenience function' as distracting, labelled *file* a *text* stream in the first line, and added the rest of the comment after the current 'file' sentence, making separate 'file' and 'flush' p

[issue22333] test_threaded_import.test_parallel_meta_path() failed on x86 Windows7 3.x

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 926c380aa423 by Victor Stinner in branch 'default': Issue #22333: Extend timeout in test_threaded_import https://hg.python.org/cpython/rev/926c380aa423 New changeset c8e7362875a8 by Victor Stinner in branch 'default': Issue #22333: test_threaded_imp

[issue22334] test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: > More likely there is a bug in Tcl 8.6b1 (as in Tcl before 8.5.5). @Serhiy: So what do you suggest using debug traces? -- ___ Python tracker _

[issue19235] Add a dedicated subclass for recursion errors

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16155] Some minor doc fixes in Doc/faq

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2014-09-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The original problem is still present Python 3.5.0a0 (default:5313b4c0bb6c, Sep 30 2014, 18:55:45) >>> A_I_U_E_O$ = None File "", line 1 A_I_U_E_O$ = None ^ SyntaxError: invalid syntax Replace A_I_U_E_O above with the Japanese script. I g

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: The issue #10384 has been marked as a duplicate of this issue: it's a similar issue, identifier which contains invisible character. -- ___ Python tracker __

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: > The issue was not fixed. With multiple invisible space characters I can get Ok. So this issue is a duplicate of the issue #2382. IMO the fix is to use wcswidth(), but see the issue for the long discussion :-/ -- resolution: fixed -> duplicate supers

[issue22465] Number agreement error in section 3.2 of web docs

2014-09-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report. -- nosy: +terry.reedy resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22465] Number agreement error in section 3.2 of web docs

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63dc1e32b715 by Terry Jan Reedy in branch '2.7': Issue 22465: grammar, number agreement. https://hg.python.org/cpython/rev/63dc1e32b715 New changeset 4848e0c6b342 by Terry Jan Reedy in branch '3.4': Issue 22465: grammar, number agreement. https://hg

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2014-09-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The issue was not fixed. With multiple invisible space characters I can get Python 3.5.0a0 (default:5313b4c0bb6c, Sep 30 2014, 18:55:45) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin >>> invalid = None File "", line 1 invalid = No

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: @Benjamin: What do you think? Should we revert the changeset 7741d0dd66ca in Python 2.7? -- ___ Python tracker ___

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: It looks like the issue was already fixed: haypo@smithers$ ./python Python 3.5.0a0 (default:8e9df3414185, Oct 1 2014, 00:19:36) >>> inv​alid = 5 File "", line 1 inv​alid = 5 ^ SyntaxError: invalid character in identifier The cursor is now bef

[issue6320] Standard string encodings should include GSM0.38

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Since the codec has only been asked once, 5 years ago, I consider that there is not enough interested to put yet another encoding. Python already supports a lot of encodings. It's easy to use your custom codec without having to modify Python, just register it

[issue10800] libffi build failure on HP-UX 11/PA

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: > quick update: libffi (upstream) has this fixed now in git commit dc411e8f991 . https://github.com/atgreen/libffi/commit/dc411e8f991 This commit was in Python since at least Python 3.3. It also part of the development branch of Python 2.7. I'm too lazy to che

[issue7336] traceback module not properly printing exceptions on interpreter shutdown

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Sorry rtyler but we need much more information to investigate your issue. Since the issue was reported 5 years ago, I don't expect feedback and I prefer to close it as out of date. -- nosy: +haypo resolution: -> out of date status: open -> closed ___

[issue10349] g++ compilation error of Module/python.c with ./configure --with-cxx_main

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: > Is this out of date as the only buildbot I could find is running OpenBSD 5.5? The issue is not related to OpenBSD. -- ___ Python tracker ___

[issue10349] g++ compilation error of Module/python.c with ./configure --with-cxx_main

2014-09-30 Thread STINNER Victor
Changes by STINNER Victor : -- title: Error in Module/python.c when building on OpenBSD 4.8 -> g++ compilation error of Module/python.c with ./configure --with-cxx_main ___ Python tracker _

[issue7336] traceback module not properly printing exceptions on interpreter shutdown

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still a problem? How do I go about reproducing it, assuming that I can on Windows? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker

[issue10349] Error in Module/python.c when building on OpenBSD 4.8

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: > g++ (...) > Modules/python.c:60: error: invalid conversion from 'void*' to 'wchar_t*'*** > Error code 1 This line was part of the function char2wchar() which was moved to Python/fileutils.c (and renamed to _Py_char2wchar). Since "configure --with-cxx_main"

[issue10800] libffi build failure on HP-UX 11/PA

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Surely this can't be a problem nearly four years on? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue7574] PyUnicode_FromFormat broken and not documented for 2.x

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Ok, let's close the issue. -- nosy: +haypo status: open -> closed ___ Python tracker ___ ___ Python-b

[issue17873] _ctypes/libffi missing bits for aarch64 support

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: I don't know the AArch64 arch and I don't have access to such architecture, but the patch looks good to me. I guess that Andreas has access and tried his patch? -- ___ Python tracker

[issue22397] test_socket failure on AIX

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: The testFDPassSimple pass: it's possible to pass a file descriptor between two processes. Hum. The testMultipleFDPass test also pass: it's possible to pass multiple file descriptors. Both tests use SCM_RIGHTS. The testCMSG_SPACE test also pass. It looks like

[issue10328] re.sub[n] doesn't seem to handle /Z replacements correctly in all cases

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Serhiy can you take a look at this as I recall you've been doing some regex work? -- nosy: +BreamoreBoy, serhiy.storchaka versions: +Python 3.4, Python 3.5 -Python 3.1 ___ Python tracker

[issue5843] Normalization error in urlunparse

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar guys? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue6320] Standard string encodings should include GSM0.38

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @jwishnie can you provide a patch for this, as without it the issue goes nowhere? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue10349] Error in Module/python.c when building on OpenBSD 4.8

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Is this out of date as the only buildbot I could find is running OpenBSD 5.5? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue22397] test_socket failure on AIX

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Failing tests: * testFDPassSeparateMinSpace (test.test_socket.RecvmsgSCMRightsStreamTest) * testFDPassSeparate (test.test_socket.RecvmsgIntoSCMRightsStreamTest) * testFDPassSeparateMinSpace (test.test_socket.RecvmsgIntoSCMRightsStreamTest) * testFDPassSeparate (

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: #10382 has been closed in favour of #2382. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bu

[issue7574] PyUnicode_FromFormat broken and not documented for 2.x

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: With Stage "resolved" and Resolution "duplicate" surely this can be closed? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue11023] pep 227 missing text

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: PEP 227 (Not 277 as wrongly quoted in one place) is about Statically Nested Scopes. There are several XXX place holders in the current doc. For all I know it would be possible to simply remove all of them, but who is best placed to give a definitive answer?

[issue17873] _ctypes/libffi missing bits for aarch64 support

2014-09-30 Thread Andreas Schwab
Andreas Schwab added the comment: fficonfig.py.in isn't part of upstream. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17873] _ctypes/libffi missing bits for aarch64 support

2014-09-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I don't think fficonfig.py.in is from upstream. -- ___ Python tracker ___ ___ Python-bugs-list

[issue22397] test_socket failure on AIX

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Current test_socket failures on PPC64 AIX 3.x buildbot: http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/2672/steps/test/logs/stdio == ERROR: testFDPassSeparateMinSpace (test.

[issue7436] Define 'object with assignable attributes'

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Terry can you pick this one up? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___ __

[issue17873] _ctypes/libffi missing bits for aarch64 support

2014-09-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17873] _ctypes/libffi missing bits for aarch64 support

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: The patch should be sent upstream: https://sourceware.org/libffi/ -- nosy: +haypo ___ Python tracker ___ ___

[issue22529] Why copyright only 1990-2013 and not 2014

2014-09-30 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. However, as noted on the python.org web site help page, https://www.python.org/about/help/, the place to report web site problems is here: https://github.com/python/pythondotorg/issues/. Please check the issue tracker there and open an issu

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that this may very well be a bug in Ceph... Is any of the Ceph authors nosied here? -- ___ Python tracker ___

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: As a sidenote, I wonder if the Ceph issue would also occur on 3.x. I guess we won't know until Ceph is ported (is it?). -- ___ Python tracker _

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would favour reverting. The crashiness of daemon threads is not new, so fixing it late in the 2.7 cycle wasn't really necessary IMO. -- nosy: +pitrou ___ Python tracker

[issue22528] Missing hint to source code

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 04f82abdfb6d by Benjamin Peterson in branch '3.4': add link to pdb source (closes #22528) https://hg.python.org/cpython/rev/04f82abdfb6d New changeset d49b9c8ee8ed by Benjamin Peterson in branch '2.7': add link to pdb source (closes #22528) https://

[issue993766] bdist_dumb and --relative on Windows fails

2014-09-30 Thread Patrice LACOUTURE
Patrice LACOUTURE added the comment: I don't have any Windows box around to check, but I can see that there has been no change since then in this portion of code in branches 2.4, 2.7 and 3.4. Therefore, this issue is very likely still there. -- nosy: +PatriceL

[issue18711] Add PyErr_FormatV

2014-09-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the reminder. Pushed! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue22529] Why copyright only 1990-2013 and not 2014

2014-09-30 Thread Friedrich Spee von Langenfeld
New submission from Friedrich Spee von Langenfeld: In the legal statements (https://www.python.org/about/legal) you can read the following sentence: "[...] the contents of this website are copyright © 1990-2013, Python Software Foundation, [...]". Why is the year 2014 not covered? The message

[issue22528] Missing hint to source code

2014-09-30 Thread Friedrich Spee von Langenfeld
New submission from Friedrich Spee von Langenfeld: Nearly every module entry in the documentation has a headline with the pattern , followed (in the second line) by . In the entry concerning pdb (https://docs.python.org/3/library/pdb.html), there is no hint where the source code is located. Th

[issue22525] ast.literal_eval() doesn't do what the documentation says

2014-09-30 Thread Georg Brandl
Georg Brandl added the comment: Sure, feel free to reword. An example or two might also be helpful. -- ___ Python tracker ___ ___ Pyt

[issue22526] file iteration SystemError for huge lines (2GiB+)

2014-09-30 Thread R. David Murray
Changes by R. David Murray : -- title: file iteration crashes for huge lines (2GiB+) -> file iteration SystemError for huge lines (2GiB+) type: crash -> behavior ___ Python tracker

[issue17219] cross add Python's library directory when building python standard extensions

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is a one line change to distutils/command/build_ext.py. Can we have the stage set and a patch review done please, distutils is black magic to me. -- components: +Distutils nosy: +BreamoreBoy, dstufft, eric.araujo _

[issue22525] ast.literal_eval() doesn't do what the documentation says

2014-09-30 Thread R. David Murray
R. David Murray added the comment: It should probably also say "or a container display containing only literals". (That's a lot of "contain" :) (I had the same confusion the first time I read these docs, BTW). -- nosy: +r.david.murray ___ Python tr

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Xavier can you provide a patch for this issue? -- nosy: +BreamoreBoy versions: +Python 3.5 ___ Python tracker ___ __

[issue19071] Documentation on what self is for module-level functions is misleading/wrong.

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: At this stage is this something that we'd want to back port or fix in 2.7 or would a doc change suffice? -- nosy: +BreamoreBoy ___ Python tracker __

[issue18675] Daemon Threads can seg fault

2014-09-30 Thread Thomas Guettler
Thomas Guettler added the comment: What kind of patch do you want? Documentation patch or fixing the bug in the interpreter? I am not a native speaker, that's why I avoid documentation patches. For me, the issue is solved. It is documented in stackoverflow and here. Since Python2 will be gone

[issue22472] OSErrors should use str and not repr on paths

2014-09-30 Thread R. David Murray
R. David Murray added the comment: OK, so I have to add a filter to my logger that looks for a filename attribute on exceptions and and if it finds one...does what? How do I reconstruct an arbitrary OSError error message using the filename parameter? -- __

[issue19133] Transient test failure: test_with_statement (test_ftplib)

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not sure what machine I'm meant to be looking at but is this still a problem one year on? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue18747] Re-seed OpenSSL's PRNG after fork

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16038] ftplib: unlimited readline() from connection

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue22527] Documentation warnings

2014-09-30 Thread Georg Brandl
Georg Brandl added the comment: These are a bug in Sphinx 1.2.1 and fixed in 1.2.2. -- nosy: +georg.brandl resolution: -> third party status: open -> closed ___ Python tracker _

[issue18711] Add PyErr_FormatV

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5629481cd26d by Antoine Pitrou in branch 'default': Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument. https://hg.python.org/cpython/rev/5629481cd26d -- nosy: +python-dev ___

[issue22527] Documentation warnings

2014-09-30 Thread Antoine Pitrou
New submission from Antoine Pitrou: I get the following warnings when building the doc: $ make html sphinx-build -b html -d build/doctrees -D latex_paper_size= . build/html Running Sphinx v1.2.1 loading pickled envi

[issue22448] call_at/call_later with Timer cancellation can result in (practically) unbounded memory usage.

2014-09-30 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue18729] In unittest.TestLoader.discover doc select the name of load_tests function

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: The patch simply adds backticks markup around load_tests. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker

[issue22448] call_at/call_later with Timer cancellation can result in (practically) unbounded memory usage.

2014-09-30 Thread Yury Selivanov
Yury Selivanov added the comment: Eh, I knew something was wrong. Thanks. NUMBER_OF_TASKS 10 ITERATIONS -> 2000 out of 2000 2 loops: 0.045037232999675325 1 loop: 0.045182990999819594 TOTAL_BENCH_TIME 91.36706805229187 Please commit your change to the tulip repo too. --

[issue22448] call_at/call_later with Timer cancellation can result in (practically) unbounded memory usage.

2014-09-30 Thread STINNER Victor
STINNER Victor added the comment: Hum you don't reset start between the two benchmarks. -- ___ Python tracker ___ ___ Python-bugs-list

[issue18711] Add PyErr_FormatV

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle reminder guys. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue18675] Daemon Threads can seg fault

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Thomas can you provide a patch for this issue? -- nosy: +BreamoreBoy versions: -Python 2.6 ___ Python tracker ___ _

[issue17873] _ctypes/libffi missing bits for aarch64 support

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is a one line addition to fficonfig.py.in, could someone glance at it please. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue8041] No documentation for Py_TPFLAGS_HAVE_STACKLESS_EXTENSION or Py_TPFLAGS_HAVE_VERSION_TAG.

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Daniel could you supply a patch for this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bug

[issue993766] bdist_dumb and --relative on Windows fails

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still a problem? Normally I'd be perfectly happy to try something on Windows but the mere mention of distutils sends shivers down my spine :( -- components: +Windows nosy: +BreamoreBoy, dstufft, eric.araujo versions: +Python 3.4, Python 3.5 -Pyt

[issue9417] Declaring a class creates circular references

2014-09-30 Thread Mark Lawrence
Mark Lawrence added the comment: Does anyone wish to take this forward, is it simply dead in the water or what? You might like to note that msg111963 refers to #812369 which was superseded by #18214 which was fixed in 3.4. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 _

[issue22448] call_at/call_later with Timer cancellation can result in (practically) unbounded memory usage.

2014-09-30 Thread Yury Selivanov
Yury Selivanov added the comment: typo: > 2 loops is always about 30-40% slower. 2 loops is always about 30-40% faster. -- ___ Python tracker ___ __

[issue22525] ast.literal_eval() doesn't do what the documentation says

2014-09-30 Thread Behdad Esfahbod
Behdad Esfahbod added the comment: Thanks. In your proposed text: + Safely evaluate an expression node or a string containing a Python literal or container display. I suggest changing it to "...containing a single Python literal or..." Ie, adding "single". -- __

[issue22525] ast.literal_eval() doesn't do what the documentation says

2014-09-30 Thread Georg Brandl
Georg Brandl added the comment: The function is still called literal_eval(), not safe_eval(). I'm not saying a safe eval() isn't useful. But an implementation that is only partly safe is not going to help anyone. -- ___ Python tracker

  1   2   3   >