[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-20 Thread Lita Cho
Changes by Lita Cho lita@gmail.com: -- nosy: +jesstess ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21812 ___ ___ Python-bugs-list mailing

[issue18872] platform.linux_distribution() doesn't recognize Amazon Linux

2014-06-20 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18872 ___ ___ Python-bugs-list mailing list

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-20 Thread Lita Cho
New submission from Lita Cho: When you call turtle.shapetransform with a transformation matrix, nothing happens. You have to call turtle.shapesize or turtle.shearfactor first before turtle.shapetransform will take affect. Here is an example. turtle.shapetransform(2,0,0,2) turtle.shapesize(1)

[issue2943] Distutils should generate a better error message when the SDK is not installed

2014-06-20 Thread pokeeffe
Changes by pokeeffe launch...@pokeeffe.net: -- nosy: +pokeeffe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2943 ___ ___ Python-bugs-list mailing

[issue18017] ctypes.PyDLL documentation

2014-06-20 Thread marc
marc added the comment: I think the problem was a combination of two issues. First, the warning in 16.17.2.2 is a bit hidden. Kind of squeezed in between CDLL, etc and PyDLL. In contrast, 16.17.2.4 does a much better job, because it restates the fact that the GIL is released at each and

[issue21308] PEP 466: backport ssl changes

2014-06-20 Thread Nick Coghlan
Nick Coghlan added the comment: 2.7.8 will likely be earlier than expected in order to address the latest OpenSSL update for the Windows installers. So while the likely time frame for this hasn't changed (i.e. November'ish 2014), that release is now expected to be 2.7.9 (assuming the OpenSSL

[issue21679] Prevent extraneous fstat during open()

2014-06-20 Thread Bohuslav Slavek Kabrda
Bohuslav Slavek Kabrda added the comment: I'm attaching fourth version of the patch. Changes: - fileio's _blksize member is now of type T_UINT - extended test_fileio.AutoFileTests.testAttributes to also test _blksize value -- Added file:

[issue20069] Add unit test for os.chown

2014-06-20 Thread Claudiu Popa
Claudiu Popa added the comment: I think you can skip the entire test class if os.chown is not available. Also, maybe you can move the obtaining of groups and users in setUpClass? Also, in +with self.assertRaises(PermissionError) as cx: +os.chown(support.TESTFN, uid_1,

[issue20069] Add unit test for os.chown

2014-06-20 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20069 ___ ___

[issue21740] doctest doesn't allow duck-typing callables

2014-06-20 Thread Claudiu Popa
Claudiu Popa added the comment: How about using this? diff -r 1e74350dd056 Lib/doctest.py --- a/Lib/doctest.pyTue Jun 17 22:27:46 2014 -0500 +++ b/Lib/doctest.pyFri Jun 20 11:08:00 2014 +0300 @@ -984,7 +984,8 @@ for valname, val in obj.__dict__.items():

[issue20091] An index entry for __main__ in 30.5 runpy is missing

2014-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Attached patch adds the index entry. -- keywords: +patch nosy: +orsenthil Added file: http://bugs.python.org/file35703/20091.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20091

[issue20091] An index entry for __main__ in 30.5 runpy is missing

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset d641c096b1f5 by Senthil Kumaran in branch '2.7': issue 20091 - index entry for __main__ in runpy docs. http://hg.python.org/cpython/rev/d641c096b1f5 New changeset 1727dcfff233 by Senthil Kumaran in branch '3.4': issue 20091 - index entry for

[issue20091] An index entry for __main__ in 30.5 runpy is missing

2014-06-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in all active branches. -- resolution: - fixed stage: needs patch - resolved status: open - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20091

[issue15588] quopri: encodestring and decodestring handle bytes, not strings

2014-06-20 Thread R. David Murray
R. David Murray added the comment: Please do review it, Mark. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15588 ___ ___ Python-bugs-list

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody reset the status to open please. -- nosy: +BreamoreBoy, steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16296 ___

[issue21308] PEP 466: backport ssl changes

2014-06-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 20.06.2014 09:26, Nick Coghlan wrote: 2.7.8 will likely be earlier than expected in order to address the latest OpenSSL update for the Windows installers. So while the likely time frame for this hasn't changed (i.e. November'ish 2014), that release

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-20 Thread STINNER Victor
STINNER Victor added the comment: Can I make one small suggestion for a tweak there? A link to the docs for os.stat() would be good. I created the issue #21813 to enhance the documentation of os.stat_result. -- ___ Python tracker

[issue21813] Enhance doc of os.stat_result

2014-06-20 Thread STINNER Victor
New submission from STINNER Victor: Attached patch creates a stat_result class in the os documentation and complete the documentation of each field. It makes possible to link directly an attribute of this class in the documentation, which is useful for the new st_file_attributes (issue

[issue21814] object.__setattr__ or super(...).__setattr__?

2014-06-20 Thread Vincent Besanceney
New submission from Vincent Besanceney: In: https://docs.python.org/2.7/reference/datamodel.html#customizing-attribute-access Regarding the description of __setattr__ method: For new-style classes, rather than accessing the instance dictionary, it should call the base class method with the

[issue18996] unittest: more helpful truncating long strings

2014-06-20 Thread Chris Withers
Chris Withers added the comment: So, this appears to be the source of some degraded behaviour for me with Python 3.4 versus Python 3.3. This code, prior to 3.4: from testfixtures import Comparison as C class AClass: def __init__(self,x,y=None): self.x = x if y:

[issue20811] str.format for fixed width float can return a string longer than the maximum specified

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: I cannot see a fix that would keep everybody happy. Also allow for potential backward compatibility issues. Given that there are at least two if not more suggested workarounds I'm inclined to close as wont fix. Opinions please. --

[issue20811] str.format for fixed width float can return a string longer than the maximum specified

2014-06-20 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- assignee: - eric.smith resolution: - wont fix stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20811

[issue17170] string method lookup is too slow

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: I don't think there's anything to do here so can it be closed? If anything else needs discussing surely it can go to python-ideas, python-dev or a new issue as appropriate. -- ___ Python tracker

[issue21813] Enhance doc of os.stat_result

2014-06-20 Thread Zachary Ware
Zachary Ware added the comment: Rietveld didn't like an escape code at the beginning of your patch; here's the last 12,039 bytes of it which will hopefully make Rietveld happy. -- nosy: +zach.ware Added file: http://bugs.python.org/file35705/stat_result.patch

[issue21813] Enhance doc of os.stat_result

2014-06-20 Thread STINNER Victor
STINNER Victor added the comment: ...an escape code at the beginning of your patch... Yeah, these days I suffer because of the issue #19884 (readline issue in Mercurial). -- ___ Python tracker rep...@bugs.python.org

[issue20880] Windows installation problem with 3.3.5

2014-06-20 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20880 ___ ___

[issue21308] PEP 466: backport ssl changes

2014-06-20 Thread Alex Gaynor
Alex Gaynor added the comment: I just wanted to note that I've been actively working on this, but it's being difficult in ways I hadn't predicted :-) Will send an update to python-dev in the next week or so. -- ___ Python tracker

[issue20844] coding bug remains in 3.3.5rc2

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: I can reproduce this with 3.4.1 and 3.5.0. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20844 ___ ___

[issue21308] PEP 466: backport ssl changes

2014-06-20 Thread Nick Coghlan
Nick Coghlan added the comment: MAL - agreed on the version numbering implications of treating OpenSSL CVE's as CPython CVE's, but I think Guido pretty much answered that when he extended the 2.7 EOL to 2020 (i.e. we were going to hit 2.7.10 within the next couple of years regardless).

[issue21815] imaplib truncates some untagged responses

2014-06-20 Thread Rafał Stożek
New submission from Rafał Stożek: The regexp in Response_code checks for the existence of [] characters. The problem is that the strings may contain [] characters. I attach debug log which shows the data received from server and what the python extracted from it. You can see that the

[issue21815] imaplib truncates some untagged responses

2014-06-20 Thread Rafał Stożek
Rafał Stożek added the comment: Oops, forgot the file. -- Added file: http://bugs.python.org/file35706/imaplib_log.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21815 ___

[issue21790] Change blocksize in http.client to the value of resource.getpagesize

2014-06-20 Thread Demian Brecht
Demian Brecht added the comment: Updated to mmap.PAGESIZE, which seems to be available on all systems. -- Added file: http://bugs.python.org/file35707/issue21790.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21790

[issue7980] time.strptime not thread safe

2014-06-20 Thread Fred Wheeler
Fred Wheeler added the comment: This issue should be noted in the documentation of strptime in the time and datetime modules and/or the thread module. As it stands there is no good way for a user of these modules to learn of this problem until one day the right race conditions exist to

[issue21790] Change blocksize in http.client to the value of resource.getpagesize

2014-06-20 Thread STINNER Victor
STINNER Victor added the comment: When sending data, the blocksize is currently hardcoded to 8192. Yeah, same value for io.DEFAULT_BUFFER_SIZE. It should likely be set to the value of resource.getpagesize(). Could you please elaborate? A page size is 4096 bytes on my Linux. So your page

[issue21163] asyncio doesn't warn if a task is destroyed during its execution

2014-06-20 Thread STINNER Victor
STINNER Victor added the comment: The more I use asyncio, the more I am convinced that the correct fix is to keep a strong reference to a pending task (perhaps in a set in the eventloop) until it starts. The problem is not the task, read again my message. The problem is that nobody holds

[issue21793] httplib client/server status refactor

2014-06-20 Thread Demian Brecht
Demian Brecht added the comment: New patch attached addressing review comments. -- Added file: http://bugs.python.org/file35708/issue21793.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793

[issue19980] Improve help('non-topic') response

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody set the stage to patch review and give my patch the once over please, thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19980 ___

[issue15045] Make textwrap.dedent() consistent with str.splitlines(True) and str.strip()

2014-06-20 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15045 ___ ___

[issue7283] test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet

2014-06-20 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- assignee: tarek - versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7283 ___

[issue20708] commands has no RANDOM environment?

2014-06-20 Thread Zachary Ware
Zachary Ware added the comment: Since commands is deprecated, closing the issue. -- nosy: +zach.ware resolution: - wont fix stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20708

[issue19348] Building _testcapimodule as a builtin results in compile error

2014-06-20 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- resolution: remind - versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19348 ___

[issue3353] make built-in tokenizer available via Python C API

2014-06-20 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3353 ___ ___

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-06-20 Thread Ian Cordasco
Ian Cordasco added the comment: Bumping this once more. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10510 ___ ___ Python-bugs-list mailing

[issue21805] Argparse Revert config_file defaults

2014-06-20 Thread paul j3
paul j3 added the comment: Another approach would be make the 'argparse' argument a 'switch' command, and act on it after parsing. Roughly what I have in mind is: parser.add_argument('--verbosity', dest='switch_verbosity, action='store_true', help=''%config_defaults['verbose'])

[issue21261] Teach IDLE to Autocomplete dictionary keys

2014-06-20 Thread Eduardo Seabra
Eduardo Seabra added the comment: I've added three lines to cls.code to test_hyperparser. So I can test for subscripts with double quotes, single quotes and with no strings at all. Should I implement try_open_completions_event for COMPLETE_DICTIONARY? Calling this event everytime someone

[issue21801] inspect.signature doesn't always return a signature

2014-06-20 Thread Yury Selivanov
Yury Selivanov added the comment: This behaviour is indeed a bug. However, I think that the solution you propose is wrong. If we ignore invalid contents of __signature__ we are masking a bug or incorrect behaviour. In this case, you should have checked the requested attribute name in

[issue21684] inspect.signature bind doesn't include defaults or empty tuple/dicts

2014-06-20 Thread Yury Selivanov
Yury Selivanov added the comment: That's the intended and documented behaviour, see https://docs.python.org/3/library/inspect.html#inspect.BoundArguments.arguments. You can easily implement the functionality you need by iterating through Signature.parameters and copying defaults to the

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-20 Thread Jim Jewett
Jim Jewett added the comment: It would be good to have the library work unchanged on both implementations. If subprocess only failed later, it would be less good, as the stdlib would then set an example that doesn't actually succeed. Note that the attached patch (by flox) does NOT implement

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-20 Thread Jim Jewett
Jim Jewett added the comment: (The above concerns -- other than whether it is sufficient to work -- do not apply to the change at https://bitbucket.org/ironpython/ironlanguages/commits/b6bb2a9a7bc5/ ) -- ___ Python tracker rep...@bugs.python.org

[issue17424] help() should use the class signature

2014-06-20 Thread Yury Selivanov
Yury Selivanov added the comment: Since 3.4, help() uses signature. Closing this one. -- nosy: +yselivanov resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17424

[issue19980] Improve help('non-topic') response

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19980 ___ ___

[issue10217] python-2.7.amd64.msi install fails

2014-06-20 Thread Zachary Ware
Zachary Ware added the comment: Nearly two years since the last new information here and no obvious problem and this really looks like a duplicate of 4735 anyway; closing the issue. -- nosy: +zach.ware resolution: - duplicate stage: - resolved status: open - closed superseder: - An

[issue4735] An error occurred during the installation of assembly

2014-06-20 Thread Zachary Ware
Zachary Ware added the comment: If a reboot fixed it (3 years ago), not our bug (probably, until someone can reproduce it reliably). Closing the issue. -- nosy: +zach.ware resolution: - not a bug stage: - resolved status: open - closed ___ Python

[issue13504] Meta-issue for Invent with Python IDLE feedback

2014-06-20 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- dependencies: +IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive. versions: +Python 2.7, Python 3.5 -Python 3.3 ___ Python

[issue21793] httplib client/server status refactor

2014-06-20 Thread Demian Brecht
Demian Brecht added the comment: Updated patch with silly missed doc update. -- Added file: http://bugs.python.org/file35711/issue21793_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: - terry.reedy nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21768 ___

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset b0c850121ded by Terry Jan Reedy in branch '2.7': Issue #21768: fix type in test_pydoc, patch by Claudiu Popa. http://hg.python.org/cpython/rev/b0c850121ded New changeset 64f6e66d6e7a by Terry Jan Reedy in branch '3.4': Issue #21768: fix type in

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Just curious: did you find this when a test failed? by reading? or running checker program? (The latter would be a good idea to catch things like this.) -- resolution: - fixed stage: - resolved status: open - closed type: - behavior

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Claudiu Popa
Claudiu Popa added the comment: Through a checker program. I ran pylint from time to time to detect crashes and other stuff and I stumble across these bugs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21768

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21768 ___ ___

[issue21769] Fix a NameError in test_descr

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: - terry.reedy nosy: +terry.reedy versions: +Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21769 ___

[issue21801] inspect.signature doesn't always return a signature

2014-06-20 Thread Claudiu Popa
Claudiu Popa added the comment: Your patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21801 ___ ___ Python-bugs-list

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec0aae4df38b by Terry Jan Reedy in branch '3.4': Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa. http://hg.python.org/cpython/rev/ec0aae4df38b -- ___ Python tracker

[issue21816] OverflowError: Python int too large to convert to C long

2014-06-20 Thread Thomas Ball
New submission from Thomas Ball: The attached file raises the exception: OverflowError: Python int too large to convert to C long in Python 2.7.7, which clearly is a bug. The error is not present in Python 3.4. -- files: testint.py messages: 221116 nosy: Thomas.Ball priority: normal

[issue21768] Fix a NameError in test_pydoc

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg221115 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21768 ___

[issue21769] Fix a NameError in test_descr

2014-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Message sent to 21768 by incomplete edit of previous message) New changeset ec0aae4df38b by Terry Jan Reedy in branch '3.4': Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa. http://hg.python.org/cpython/rev/ec0aae4df38b It would be helpful

[issue21769] Fix a NameError in test_descr

2014-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Could not find error in 2.7. -- resolution: - fixed stage: - resolved status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21769

[issue18996] unittest: more helpful truncating long strings

2014-06-20 Thread Ned Deily
Ned Deily added the comment: Chris, I would start by opening a new issue. Comments on closed issues whose code is already released are likely to be overlooked. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org

[issue21790] Change blocksize in http.client to the value of resource.getpagesize

2014-06-20 Thread Demian Brecht
Demian Brecht added the comment: I very well could be missing something here (and, admittedly, my OS knowledge is rusty at best), but for the most part, page sizes are 4096, except for SPARC, which is 8192. So your page double the number of calls to read(), right? No. read() is called until

[issue21801] inspect.signature doesn't always return a signature

2014-06-20 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- assignee: - yselivanov keywords: +needs review versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21801 ___

[issue21816] OverflowError: Python int too large to convert to C long

2014-06-20 Thread Ned Deily
Ned Deily added the comment: In a 32-bit version of Python 2, that value cannot be represented as an 'int' type. i = 3783907807 type(i) type 'long' Normally, Python 2 implicitly creates objects of type 'int' or type 'long' as needed. But in your example, you are forcing type 'int' and you

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa5e3f7a5501 by Charles-François Natali in branch '2.7': Issue #21491: SocketServer: Fix a race condition in child processes reaping. http://hg.python.org/cpython/rev/aa5e3f7a5501 -- nosy: +python-dev

[issue21777] Separate out documentation of binary sequence methods

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21777 ___ ___ Python-bugs-list

[issue21784] __init__.py can be a directory

2014-06-20 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21784 ___

[issue11695] Improve argparse usage/help customization

2014-06-20 Thread paul j3
paul j3 added the comment: This patch has a 'custom_help' which, with a default template, is compatible with 'format_help' (i.e. it passes test_argparse). It also handles the sample template in this issue. Due to long line wrapping issues, the 'Usage: ' string the test template has to be

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a7375bd09f9 by Charles-François Natali in branch '3.4': Issue #21491: socketserver: Fix a race condition in child processes reaping. http://hg.python.org/cpython/rev/2a7375bd09f9 -- ___ Python tracker

[issue21770] Module not callable in script_helper.py

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 108a23d02b84 by Terry Jan Reedy in branch '3.4': Issue #21770: Call function instead of module. Patch by Claudiu Popa. http://hg.python.org/cpython/rev/108a23d02b84 -- nosy: +python-dev ___ Python

[issue21491] race condition in SocketServer.py ForkingMixIn collect_children

2014-06-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae0b572ced20 by Charles-François Natali in branch 'default': Issue #21491: socketserver: Fix a race condition in child processes reaping. http://hg.python.org/cpython/rev/ae0b572ced20 -- ___ Python

[issue21770] Module not callable in script_helper.py

2014-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: It took me a few minutes to realized that you patched test_cmd_line_script.py to get the failure. When I did that, both test_module_in_package_in_zipfile and test_module_in_subpackage_in_zipfile failed with TypeError in the call to _make_test_zip_pkg. After

[issue21817] `concurrent.futures.ProcessPoolExecutor` swallows tracebacks

2014-06-20 Thread Ram Rachum
New submission from Ram Rachum: When you use `concurrent.futures.ProcessPoolExecutor` and an exception is raised in the created process, it doesn't show you the traceback. This makes debugging very annoying. Example file: #!python import sys import concurrent.futures

[issue6462] bsddb3 intermittent test failures

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: @David this is now out of date? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6462 ___ ___

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-20 Thread Lita Cho
Lita Cho added the comment: Have a patch that fixes this. Rather than calling self._update() directory, we should be calling self._pen(resizemode=user), since the user is changing the size of the turtle, just like how shapesize and shearfactor are updating. -- keywords: +patch Added

[issue6916] Remove deprecated items from asynchat

2014-06-20 Thread Ezio Melotti
Ezio Melotti added the comment: I don't think removing the documentation for a deprecated item is a good solution. If people find it somewhere (old code, googling, via dir()) and find no related documentation, they might keep using it. If it's clearly documented that the item exists but it's

[issue21784] __init__.py can be a directory

2014-06-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: So maybe a check was dropped by mistake? Why do we care? For the most part, Linux treats directories as files (if I do a mkdir twice, the error is mkdir: tmp: File exists. We don't care about the other flags rwx so why should we care about d? Python

[issue21818] cookielib documentation references Cookie module, not cookielib.Cookie class

2014-06-20 Thread Angus Taggart
New submission from Angus Taggart: all the links to Cookie class in the cookielib documentation point to Cookie module. for example: CookieJar.set_cookie(cookie) Set a *Cookie*, without checking with policy to see whether or not it should be set. cookie in the documentation links to

[issue20844] coding bug remains in 3.3.5rc2

2014-06-20 Thread eryksun
eryksun added the comment: This fix for issue 20731 doesn't address this bug completely because it's possible for ftell to return -1 without an actual error, as test2.py demonstrates. In text mode, CRLF is translated to LF by the CRT's _read function (Win32 ReadFile). So the buffer that's

[issue17153] tarfile extract fails when Unicode in pathname

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: @Lars can we have a response on this issue please? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17153 ___

[issue13372] handle_close called twice in poll2

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: To me the patched code in readwrite seems cut and paste. Could it be written something like this? have_fileno = not map or obj._fileno in map if have_fileno and flags select.POLLIN: obj.handle_read_event() if have_fileno and flags select.POLLOUT:

[issue8918] distutils test_config_cmd failure on Solaris

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is there a good reason for this being set to third party when it was raised against Python 2.7rc1? Is it still a problem with the 2.7 series or any of the 3.x series? -- nosy: +BreamoreBoy ___ Python tracker

[issue9784] _msi.c warnings under 64-bit Windows

2014-06-20 Thread Mark Lawrence
Mark Lawrence added the comment: Could somebody review the patch please as it's well over my head. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9784 ___

[issue20446] ipaddress: hash similarities for ipv4 and ipv6

2014-06-20 Thread Josh Rosenberg
Josh Rosenberg added the comment: Correct me if I'm wrong, but wouldn't this only become a concern if: 1. You're storing both IPv4 and IPv6 addresses side-by-side 2. You're storing well over a billion IP addresses 3. Hash codes for the hex string of an IP address were predictably sequential

[issue21817] `concurrent.futures.ProcessPoolExecutor` swallows tracebacks

2014-06-20 Thread Josh Rosenberg
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com: -- nosy: +josh.rosenberg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21817 ___ ___

[issue20446] ipaddress: hash similarities for ipv4 and ipv6

2014-06-20 Thread Tim Peters
Tim Peters added the comment: I'm more puzzled by why `__hash__()` here bothers to call `hex()` at all. It's faster to hash the underlying int as-is, and collisions in this specific context would still be rare. @Josh, note that there's nothing bad about getting sequential hash codes in

[issue20446] ipaddress: hash similarities for ipv4 and ipv6

2014-06-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Tim Peters added the comment: I'm more puzzled by why `__hash__()` here bothers to call `hex()` at all. It's faster to hash the underlying int as-is, and collisions in this specific context would still be rare. Let someone provide a patch, then. --

[issue21809] Building Python3 on VMS - External repository

2014-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for possible patches to the CPython repository, PEPs, and dev(elopemnt)guide, which are all controlled by the CPython Core Development group. The issue stages are all geared to that. Informational posts are better suited to the Wiki.

[issue6916] Remove deprecated items from asynchat

2014-06-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think removing the documentation for a deprecated item is a good solution. Dedocumenting is a reasonable thing to do and I believe we've done it several times before, leaving code only so as to not break anything. I expect this code to get zero

[issue21814] object.__setattr__ or super(...).__setattr__?

2014-06-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Wouldn't it be more consistent for new-style classes, instead of calling object.__setattr__(self, name, value), to call super(ClassName, self).__setattr__(name, value)? That's not always the right thing to do. Calling object.__setattr__ gives a known,

[issue21740] doctest doesn't allow duck-typing callables

2014-06-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm not sure, because it would also select classes. Is there any reason to preclude classes? They could reasonably have docstrings that contain doctests. -- ___ Python tracker rep...@bugs.python.org

[issue21597] Allow turtledemo code pane to get wider.

2014-06-20 Thread Lita Cho
Lita Cho added the comment: ping! I just want to know how I should proceed with this ticket. I can try removing the Frames with get rid of the lag, but then I feel like we can't use the Grid Manager at all. :\ -- ___ Python tracker

[issue21597] Allow turtledemo code pane to get wider.

2014-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I downloaded new patch and will try to look at it this weekend. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21597 ___

  1   2   >