[issue21686] IDLE - Test hyperparser

2014-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Attached is the 3.4 patch as pushed. The main 'invisible' change, other than the review comment, was to create the code string just once. I discovered that the earlier version had a bug in saying 'ok' to the 3.x HyperParser bug of no longer recognizing 'False'

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

2014-06-16 Thread Steve Dower
Steve Dower added the comment: I can certainly improve this for 3.5 as part of the move to VC14 (which will require changes to distutils anyway). The installer won't touch it. For earlier Python versions, I'd quite like to see setuptools take over detection from distutils and provide the bette

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-06-16 Thread Eduardo Seabra
Eduardo Seabra added the comment: I've attached a patch with @mmarkk proposal. -- keywords: +patch nosy: +Eduardo.Seabra Added file: http://bugs.python.org/file35662/issue21579.patch ___ Python tracker

[issue21772] platform.uname() not EINTR safe

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

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-16 Thread Milan Oberkirch
Milan Oberkirch added the comment: The new patch implements what you suggested, with the following differences: - I still use the default_dict and add the numbers up but maybe it's a bit more readable now? - Support for HELO/EHLO is a seperate issue #21783 -- Added file: http://bugs.pyt

[issue15786] IDLE code completion window can hang or misbehave with mouse

2014-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Idle Help, Completion sections "Two tabs in a row will supply the current ACW selection, as will return or a double click." On 3.4 windows, tab-tab works, one click dismisses the box immediately but without disabling it. Contrary to the claim above, dismisses

[issue11394] Tools/demo, etc. are not installed

2014-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue15025] httplib and http.client are missing response messages for defined WEBDAV responses, e.g., UNPROCESSABLE_ENTITY (422)

2014-06-16 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +dbrecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2014-06-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7741d0dd66ca by Benjamin Peterson in branch '2.7': avoid crashes and lockups from daemon threads during interpreter shutdown (#1856) http://hg.python.org/cpython/rev/7741d0dd66ca -- ___ Python tracker <

[issue21784] __init__.py can be a directory

2014-06-16 Thread abraithwaite
New submission from abraithwaite: Is this expected? It was very confusing when I cloned a repo that didn't have the __init__.py there when I had just made it, but of course git doesn't track files, only directories. I had accidentaly done mkdir instead of touch. $ mkdir pkg/__init__.py $ tou

[issue21784] __init__.py can be a directory

2014-06-16 Thread abraithwaite
abraithwaite added the comment: > but of course git doesn't track files, only directories. but of course git doesn't track *directories*, only *files*. -- ___ Python tracker ___

[issue21784] __init__.py can be a directory

2014-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Is this expected? It is a little weird but usually problematic. The cause that import checks for the existence of '__init__.py' but doesn't then add isfile() or isdir() check which would be unnecessary 99.9% of the time. I classify this a harmless odd

[issue15025] httplib and http.client are missing response messages for defined WEBDAV responses, e.g., UNPROCESSABLE_ENTITY (422)

2014-06-16 Thread Demian Brecht
Demian Brecht added the comment: Indeed the WEBDAV codes were missing across the board. I've added a couple patches: One (_a) that just adds the missing constants, and another (_b) that changes how they're defined altogether. The advantage of the second is that there is much less chance of run

[issue15025] httplib and http.client are missing response messages for defined WEBDAV responses, e.g., UNPROCESSABLE_ENTITY (422)

2014-06-16 Thread Demian Brecht
Changes by Demian Brecht : Added file: http://bugs.python.org/file35665/issue15025_b.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19776] Provide expanduser() on Path objects

2014-06-16 Thread Claudiu Popa
Claudiu Popa added the comment: Attached the new version of the patch with fixes according to Antoine's review. -- Added file: http://bugs.python.org/file35666/issue19776_1.patch ___ Python tracker

[issue21785] __getitem__ and __setitem__ try to be smart when invoked with negative slice indices

2014-06-16 Thread Konstantin Tretyakov
New submission from Konstantin Tretyakov: Consider the following example: class A: def __getitem__(self, index): return True If you invoke A()[-1], everything is fine. However, if you invoke A()[-1:2], you get an "AttributeError: A instance has no attribute '__len__'". Moreover,

[issue21786] Use assertEqual in test_pydoc

2014-06-16 Thread Claudiu Popa
Changes by Claudiu Popa : -- title: Use self.assertEqual in test_pydoc -> Use assertEqual in test_pydoc ___ Python tracker ___ ___ Pyt

[issue21786] Use self.assertEqual in test_pydoc

2014-06-16 Thread Claudiu Popa
New submission from Claudiu Popa: Hello. Here's a patch which uses self.assertEqual in various places across test_pydoc, instead of the current idiom: if result != expected_text: print_diffs(expected_text, result) self.fail("outputs are not equal, see diff above") -- components:

[issue16136] Removal of VMS support

2014-06-16 Thread John Malmberg
John Malmberg added the comment: Does not look like anything vital to VMS got removed. Configure basically worked under current GNV. And a few tweaks later with out changing any files checked out of the Mercurial repository, make is producing a functional python binary before it quits. bash-4

[issue21785] __getitem__ and __setitem__ try to be smart when invoked with negative slice indices

2014-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: It's too late for a behavior change in 2.7. That risks breaking code that relies on the current behavior. However, the docs could be amended to indicate that slices with negative indicies are treated differently from scalar negative indicies, the former g

[issue21786] Use assertEqual in test_pydoc

2014-06-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks like a nice improvement. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-l

[issue20898] Missing 507 response description

2014-06-16 Thread Demian Brecht
Demian Brecht added the comment: I actually made a similar change for issue #15025 earlier today. One of the two should likely be closed as a dupe. -- nosy: +dbrecht ___ Python tracker

[issue3430] httplib.HTTPResponse documentations inconsistent

2014-06-16 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +dbrecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19917] [httplib] logging information for request is not pretty printed

2014-06-16 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +dbrecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2014-06-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue21686] IDLE - Test hyperparser

2014-06-16 Thread Tal Einat
Tal Einat added the comment: Ouch. I hadn't thought about the Ellipsis literal! That would be sensibly possible, yes, but not simple. I think opening a separate issue for this would be prudent. -- ___ Python tracker

[issue1336] subprocess.Popen hangs when child writes to stderr

2014-06-16 Thread Torsten Landschoff
Torsten Landschoff added the comment: > ita1024: please don't post to closed issues; your message here will be > ignored. Bugs for Python 2 will be ignored anyway so what can you do? I am currently fighting with the effects of using threads, subprocess.Popen and sqlite in Python2 and found th

[issue21787] Idle: make 3.x Hyperparser.get_expression recognize ...

2014-06-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: 3.0 introduced ... as Ellipsis literal. Test: add '...\n' to the end of the test code. In test_get_expression, add at the end p = get('12.3') self.assertEqual(p.get_expression(), '...') which now fails with AssertionError: '' != '...'. --

<    1   2