[issue19807] calculation of standard math returns incorrect value

2013-11-26 Thread chili
Changes by chili : -- title: calculation of standard math -> calculation of standard math returns incorrect value ___ Python tracker ___ __

[issue19807] calculation of standard math

2013-11-26 Thread chili
New submission from chili: Calculation of print (162-159.9) (IDLE and source script) returns 2.0943 I don“t make my financial calculation with this command :) -- components: Regular Expressions messages: 204561 nosy: chili, ezio.melotti, mrabarnett priority: normal severity:

[issue19791] test_pathlib should use can_symlink or skip_unless_symlink from test.support

2013-11-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: > How about we defer this to Python 3.5, to make merging easier ? Sure. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Serhiy, I am not able to reproduce your results. I don't get any significant performance improvements with your patch. 22:34:03 [ ~/PythonDev/cpython-baseline ]$ ./python.exe -m timeit "import pickle" "with open('test.pickle4', 'rb', buffering=0) as f: p

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue19804. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue19804] test_uuid failing on 32-bit Windows Vista

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Tim for your report. -- components: +Tests resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19792] pathlib does not support symlink in Windows XP

2013-11-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: I agree we should not go "extra mile" to add feature for Windows XP, a 12 year old software and soon to be "put down" a couple months forward. But in this case, Antoine goes "extra mile" to prevent symbolic link support in Windows XP. And it's not just him that

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Zachary for your report. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue19804] test_uuid failing on 32-bit Windows Vista

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5b7f140ae30 by Serhiy Storchaka in branch '2.7': Skip test_find_mac on Windows (issue #19804). http://hg.python.org/cpython/rev/e5b7f140ae30 New changeset dfadce7635ce by Serhiy Storchaka in branch '3.3': Skip test_find_mac on Windows (issue #19804

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2013-11-26 Thread Petri Lehtinen
New submission from Petri Lehtinen: >From Illirgway, https://github.com/akheron/cpython/pull/2: Fix utf-8 bug, when symbol byte chain splits on 2 tcp-packets: error: uncaptured python exception, closing channel (:'utf-8' codec can't decode byte 0xd0 in position 1474: unexpected end of data [/

[issue19792] pathlib does not support symlink in Windows XP

2013-11-26 Thread Brian Curtin
Brian Curtin added the comment: If users want to do that hack to get symlinks on XP, they should probably just manage doing so on their own. It's not something we'd take care of installing and running via our installer, so I don't think pathlib should be changed to work for it. -- __

[issue19805] Revise FAQ Dictionary: consistent key order item

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22e514e41fac by Benjamin Peterson in branch '3.3': recommend OrderedDict for this FAQ (closes #19805) http://hg.python.org/cpython/rev/22e514e41fac New changeset ddbcb86afbdc by Benjamin Peterson in branch 'default': merge 3.3 (#19805) http://hg.pyt

[issue19805] Revise FAQ Dictionary: consistent key order item

2013-11-26 Thread Graham Wideman
New submission from Graham Wideman: FAQ entry: http://docs.python.org/3/faq/programming.html#how-can-i-get-a-dictionary-to-display-its-keys-in-a-consistent-order claims that there's no way for a dictionary to return keys in a consistent order. However, there's OrderedDict which should probably b

[issue19804] test_uuid failing on 32-bit Windows Vista

2013-11-26 Thread Tim Peters
Tim Peters added the comment: Seeing the same failure on a buildbot: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/3474/steps/test/logs/stdio -- ___ Python tracker ___

[issue19804] test_uuid failing on 32-bit Windows Vista

2013-11-26 Thread Tim Peters
New submission from Tim Peters: Using current default branch: FAIL: test_find_mac (test.test_uuid.TestUUID) -- Traceback (most recent call last): File "C:\Code\Python\lib\test\test_uuid.py", line 378, in test_find_mac self

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread Vajrasky Kok
Vajrasky Kok added the comment: I agree. The test is not that meaningful. But hey, we have the test that tests this kind of constant. http://hg.python.org/cpython/rev/513da56d28de -- nosy: +vajrasky ___ Python tracker

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset bab7dc2ffc16 by Benjamin Peterson in branch '3.3': fix format spec recursive expansion (closes #19729) http://hg.python.org/cpython/rev/bab7dc2ffc16 New changeset e27684eed3b6 by Benjamin Peterson in branch 'default': merge 3.3 (#19729) http://hg.py

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sorry about that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue12014] str.format parses replacement field incorrectly

2013-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Should be generally patched up in 3.4. Try it out. -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue19788] Always run kill_python(_d).exe when (re-)building on Windows

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca600150205a by Zachary Ware in branch '3.3': Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the http://hg.python.org/cpython/rev/ca600150205a New changeset 2c1e041cb504 by Zachary Ware in branch 'default': Issue #19788: kill_pyt

[issue19788] Always run kill_python(_d).exe when (re-)building on Windows

2013-11-26 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the test, Tim :) -- assignee: -> zach.ware resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue18983] Specify time unit for timeit CLI

2013-11-26 Thread Julian Gindi
Julian Gindi added the comment: I created a patch that allows users to specify a time unit output using the "-u" flag. Example usage: python -m timeit -u "msec" '"-".join(str(n) for n in range(100))' >> 1 loops, best of 3: 0.156 msec per loop python -m timeit -u "sec" '"-".join(str(n) for

[issue19662] smtpd.py should not decode utf-8

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue19662] smtpd.py should not decode utf-8

2013-11-26 Thread R. David Murray
R. David Murray added the comment: As I said, the decoding needs to be controlled by a switch (presumably a keyword argument to SMTPServer) that defaults to the present (incorrect) behavior. -- ___ Python tracker

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-11-26 Thread Zachary Ware
Zachary Ware added the comment: This seems to have broken 64-bit Windows: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/3472/steps/test/logs/stdio http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.3/builds/1288/steps/test/logs/stdio http://buildbot.p

[issue19588] Silently skipped test in test_random

2013-11-26 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch, Julian! -- assignee: -> zach.ware resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19588] Silently skipped test in test_random

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8e138646be1 by Zachary Ware in branch '2.7': Issue #19588: Fixed tests in test_random that were silently skipped most http://hg.python.org/cpython/rev/c8e138646be1 New changeset c65882d79c5f by Zachary Ware in branch '3.3': Issue #19588: Fixed test

[issue19803] memoryview complain ctypes byte array are not native single character

2013-11-26 Thread HCT
New submission from HCT: I'm trying to create ctypes buffer to be used back and forth with C libraries, but I keep getting errors. I need to slice the buffer to cut out different pieces to work on, so I try to get a memoryview of the buffer. does the error message imply that c_ubyte, c_uint8,

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Kent for your contribution. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7 ___ Python tracker _

[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72951ffbdc76 by Serhiy Storchaka in branch '2.7': Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with http://hg.python.org/cpython/rev/72951ffbdc76 New changeset a5c26e57f429 by Serhiy Storchaka in branch '3.3': Issue #11508: Fix

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-26 Thread Georg Brandl
Georg Brandl added the comment: Hmm, sucks. Benjamin, can you come up with a fix? I'll give it a few weeks to wait for more potential regressions and then do a 3.3.4. -- ___ Python tracker __

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Donald Stufft
Donald Stufft added the comment: I assumed we were talking about 3.4 and didn't even notice that the issues had 3.3 and 3.2 attached to it. -- ___ Python tracker ___ ___

[issue19791] test_pathlib should use can_symlink or skip_unless_symlink from test.support

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Mmh... The reason it's like that is that pathlib is originally 2.7-compatible (and I'd like to do a 1.0 release on PyPI by the Python 3.4 timeframe). How about we defer this to Python 3.5, to make merging easier ? -- __

[issue19792] pathlib does not support symlink in Windows XP

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Also, how many people uses pathlib in Python 3.4 in Windows XP with > third-party drivers enabling symbolic link support? Should be small. I've never heard of third-party driver for symlink link support before (granted, I'm not a Windows user). I'm willing to

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: In fact it may be the documentation that could be merged. -- ___ Python tracker ___ ___ Python-bu

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review versions: -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python

[issue19662] smtpd.py should not decode utf-8

2013-11-26 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list m

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: SO link serves a proof that a problem is actual. It is needed, because, for example Brett doesn't think it is important. 2nd link is the same proof, and also an example of documentation wanted. -- ___ Python trac

[issue19662] smtpd.py should not decode utf-8

2013-11-26 Thread Illirgway
Illirgway added the comment: Here is another patch for fixing this issue: https://github.com/Illirgway/cpython/commit/12d7c59e0564c408a65dd782339f585ab6b14b34 Sorry for my bad english -- nosy: +Illirgway versions: +Python 3.3 -Python 3.5 Added file: http://bugs.python.org/file32861/pyt

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Larry Hastings
Larry Hastings added the comment: Okay, you have my permission to add match_hostname() and fix the security hole you cite. Can you have it done soon, so it can bake for a while in trunk before we cut beta 2? -- ___ Python tracker

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread Mark Dickinson
Mark Dickinson added the comment: Peak memory usage appears to be around 4 times the string length on Python 3.3, and around 3 times the string length on Python 3.4. For 3.4, the peak occurs while formatting the exception message; presumably at that point we've got all three of (a) the origin

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Georg Brandl
Georg Brandl added the comment: For a true security fix, the default for check_hostname would have to be True. However, that will create a lot of backward compatibility problems for questionable gain. I think Larry should make an exception for 3.4 and allow this new feature. --

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Probably the higher level libraries don't even realize it's not > happening, it's similar to the issue of SSL validation for HTTPS > connections where a vast swathe of people didn't even realize that > their certificates weren't being validated. Exactly. And w

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Christian Heimes
Christian Heimes added the comment: I agree with Antoine. The five attached bug reports only refer to Python 3.4. -- ___ Python tracker ___ __

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Donald Stufft
Donald Stufft added the comment: Probably the higher level libraries don't even realize it's not happening, it's similar to the issue of SSL validation for HTTPS connections where a vast swathe of people didn't even realize that their certificates weren't being validated. --

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think adding an API in bugfix releases must be an exceptional decision and I'm honestly not convinced this issue justifies it. It'd be more convincing if there was actually demand for this feature (e.g. from higher-level library authors). -- ___

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Donald Stufft
Donald Stufft added the comment: I agree with Christian, mail.stufft.io should not be able to masquerade as smtp.google.com and being able to do so is a pretty big security hole. -- nosy: +dstufft ___ Python tracker

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-26 Thread Larry Hastings
Larry Hastings added the comment: I don't know enough about SSL to make a "feature vs bug/security fix" ruling on this. Can a second person who does--maybe Bill Janssen?--chime in? -- ___ Python tracker _

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

2013-11-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19793] Formatting of True/False in pathlib docs

2013-11-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19793] Formatting of True/False in pathlib docs

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 835007ccf2b0 by Serhiy Storchaka in branch 'default': Issue #19793: Improved markup for True/False constants in pathlib documentation. http://hg.python.org/cpython/rev/835007ccf2b0 -- nosy: +python-dev __

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

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset c85305a54e6d by Serhiy Storchaka in branch '2.7': Issue #11489: JSON decoder now accepts lone surrogates. http://hg.python.org/cpython/rev/c85305a54e6d New changeset 8abbdbe86c01 by Serhiy Storchaka in branch '3.3': Issue #11489: JSON decoder now ac

[issue17523] Additional tests for the os module.

2013-11-26 Thread Will Weaver
Will Weaver added the comment: It seems that I probably missed some tests as I only ran then on Mac OS. Such a minor addition so no need to do anything about it. If I go about it in a better way I'll make a new issue. -- resolution: -> wont fix status: open -> closed

[issue19679] smtpd.py (SMTPChannel): implement enhanced status codes

2013-11-26 Thread Leslie P. Polzer
Leslie P. Polzer added the comment: Sounds reasonable, I will propose a patch soon. Thanks! -- ___ Python tracker ___ ___ Python-bugs-

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread Georg Brandl
Georg Brandl added the comment: When citing a link, it's customary to give at least a comment *why* you are citing it. -- nosy: +georg.brandl ___ Python tracker ___

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread R. David Murray
R. David Murray added the comment: Yeah, I'm not sure how you'd write a test in such a way that it would test anything meaningful. Parse the .h file in the test? Seems like overkill. -- ___ Python tracker __

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread Claudiu.Popa
Claudiu.Popa added the comment: Here's a simple patch which adds this flag. It has no tests, because I noticed that there are no tests for per-platform flags in test_socket.py (only for CAN, RDS and general flags). -- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.

[issue14910] argparse: disable abbreviation

2013-11-26 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19793] Formatting of True/False in pathlib docs

2013-11-26 Thread Georg Brandl
Georg Brandl added the comment: ``False`` is actually the preferred way, being shorter and easier to read (and we don't need to link to the documentation for False). -- nosy: +georg.brandl ___ Python tracker _

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread R. David Murray
R. David Murray added the comment: For the record, a little googling indicates this may be a linux-only option (FreeBSD 6.4, for example, does not support it, nor does OS X 10.8, which are two systems to which I currently have access). That doesn't mean it shouldn't be added. -- comp

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- keywords: +easy versions: +Python 3.5 -Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed. If you want to concatenate a lot of bytes objects efficiently, there are three solutions: - concatenate to a bytearray - write to a io.BytesIO object - use b''.join to concatenate all objects at once -- nosy: +pitrou ___

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread R. David Murray
R. David Murray added the comment: It is definitely not a good idea to rely on that optimization of += for string. Obviously bytes doesn't have the same optimization. (String didn't either for a while in Python3, and there was some controversy around adding it back exactly because one should

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- type: behavior -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue19802] socket.SO_PRIORITY is missing

2013-11-26 Thread Sworddragon
New submission from Sworddragon: socket(7) does contain SO_PRIORITY but trying to use this value will result in this error: AttributeError: 'module' object has no attribute 'SO_PRIORITY' -- components: Library (Lib) messages: 204506 nosy: Sworddragon priority: normal severity: normal st

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c523ea2b429 by Mark Dickinson in branch '2.7': Issue #19638: Skip large digit string tests on 32-bit platforms. http://hg.python.org/cpython/rev/4c523ea2b429 -- ___ Python tracker

[issue19793] Formatting of True/False in pathlib docs

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think :const:`True` is the norm, but the patch looks good to me regardless. -- ___ Python tracker ___

[issue19801] Concatenating bytes is much slower than concatenating strings

2013-11-26 Thread Sworddragon
New submission from Sworddragon: In the attachments is a testcase which does concatenate 10 times a string and than 10 times a bytes object. Here is my result: sworddragon@ubuntu:~/tmp$ ./test.py String: 0.03165316581726074 Bytes : 0.5805566310882568 -- components: Benchmarks f

[issue19799] Clarifications for the documentation of pathlib

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Would you mind if I add a .png for the pathlib rst doc? No, it sounds ok to me. -- ___ Python tracker ___ ___

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread Mark Dickinson
Mark Dickinson added the comment: This caused test failures on 32-bit machines on 2.7, since they can't create these huge strings in the first place. I'm working on a fix. > But there is an issue with the announced memory limit: Thanks. I'll look into it. -- ___

[issue19624] Switch constants in the errno module to IntEnum

2013-11-26 Thread Eli Bendersky
Changes by Eli Bendersky : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: I ran test_strtod using: ./python -m test -M 6G test_strtod. The test passed successfully on my 64-bit Linux box. But there is an issue with the announced memory limit: it looks closer to 6 GB than 5 GB. $ ./python -m test -M 6G -v test_strtod == CPython 3.4.0

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread Mark Dickinson
Mark Dickinson added the comment: Now fixed. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d6a018a3bb0 by Mark Dickinson in branch '2.7': Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. http://hg.python.org/cpython/rev/6d6a018a3bb0 -- ___

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset eac133e13bb5 by Mark Dickinson in branch '3.3': Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. http://hg.python.org/cpython/rev/eac133e13bb5 New changeset 9c7ab3e68243 by Mark Dickinson in bra

[issue19588] Silently skipped test in test_random

2013-11-26 Thread Zachary Ware
Zachary Ware added the comment: Nope, your patch looks good, I just haven't gotten it committed yet :) -- ___ Python tracker ___ ___ P

[issue19766] test_venv: test_with_pip() failed on "AMD64 Fedora without threads 3.x" buildbot

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: Cool, my patch was already applied upstream: https://github.com/shazow/urllib3/commit/929f15866e62d02a0249284cf54d1b8b6441505a @Nick: can you try to package a new wheel package for pip? -- ___ Python tracker

[issue19547] HTTPS proxy support missing without warning

2013-11-26 Thread Stefan Richter
Changes by Stefan Richter : -- versions: +Python 2.6, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___ _

[issue14073] allow per-thread atexit()

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #19466: the behaviour of daemon threads changed at Python exit in Python 3.4. -- nosy: +haypo ___ Python tracker ___ ___

[issue19624] Switch constants in the errno module to IntEnum

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: > This is not so easy issue because the errno module is not pure Python module. > ;) An option is to rename the C errno module to _errno and leave it unchanged, and provide a Python errno module which enum API. Then slowly errno module should be used instead

[issue19794] Formatting of True/False in decimal docs

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Mark. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19794] Formatting of True/False in decimal docs

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 04c4f141874b by Serhiy Storchaka in branch '2.7': Issue #19794: Improved markup for True/False constants. http://hg.python.org/cpython/rev/04c4f141874b New changeset c1d163203f21 by Serhiy Storchaka in branch '3.3': Issue #19794: Improved markup for

[issue19785] No SSL match_hostname() in smtplib

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19784] No SSL match_hostname() in poplib

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Of course, but it still has to respect the frame structure shown in the > ASCII art drawing. I think the ASCII art drawing is just inaccurate. It forbids optional framing (tested in test_optional_frames). -- _

[issue19782] No SSL match_hostname() in imaplib

2013-11-26 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: > This causes very unstable results for this test data. So try os.system("sync; echo 3 > /proc/sys/vm/drop_caches") in your timeit benchmark. -- ___ Python tracker __

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > If your patch avoids unbuffered reads, you can test using these commands > before your benchmark: > > sync; echo 3 > /proc/sys/vm/drop_caches Thank you. But starting Python needs a lot of I/O. This causes very unstable results for this test data.

[issue19588] Silently skipped test in test_random

2013-11-26 Thread Julian Gindi
Julian Gindi added the comment: Just wanted to see if there was anything else I needed to do to get this patch rolling :) -- ___ Python tracker ___ _

[issue19794] Formatting of True/False in decimal docs

2013-11-26 Thread Mark Dickinson
Mark Dickinson added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue19800] Write more detailed framing tests

2013-11-26 Thread Antoine Pitrou
New submission from Antoine Pitrou: The pickle tests for protocol 4 currently don't test that framing conforms strictly to the frame structure shown in: http://www.python.org/dev/peps/pep-3154/#framing It would be nice to add tests for this, especially the frame size. -- components: Li

[issue19760] Deprecation warnings in ttest_sysconfig and test_distutils

2013-11-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19760] Deprecation warnings in ttest_sysconfig and test_distutils

2013-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 25f856d500e3 by Serhiy Storchaka in branch 'default': Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests. http://hg.python.org/cpython/rev/25f856d500e3 -- nosy: +python-dev ___ Pytho

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > This is not compliant with how the PEP defines it (the frame size doesn't > > include the header of the next frame): > > http://www.python.org/dev/peps/pep-3154/#framing > > "How the pickler decides to partition the pickle stream into frames is an > impleme

[issue19624] Switch constants in the errno module to IntEnum

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: I don't know if it's possible/convinient, but it would be nice to have a str() method using os.strerror(). Or maybe a method with a different name. -- nosy: +haypo ___ Python tracker

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread STINNER Victor
STINNER Victor added the comment: > On faster computers with slower files (sockets?) it should be larger. If your patch avoids unbuffered reads, you can test using these commands before your benchmark: sync; echo 3 > /proc/sys/vm/drop_caches And use one large load() instead of running it

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > If it's an optimizatio, can I see some benchmarks numbers? :-) First create two files. Run unpatched Python: ./python -c "import pickle, lzma; data = [bytes([i])*2**16 for i in range(256)]; with open('test.pickle4', 'wb'): pickle.dump(data, f, 4)" Then ru

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: https://greentreesnakes.readthedocs.org/en/latest/ -- ___ Python tracker ___ ___ Python-bugs-list

[issue19780] Pickle 4 frame headers optimization

2013-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Bad wording perhaps, but: > > +if not final: > +n += 9 # next frame header > write = self.file_write > write(FRAME) > write(pack(" > does change how

  1   2   >