[issue21742] WatchedFileHandler can fail due to race conditions or file open issues.

2014-06-12 Thread Vishvananda Ishaya
Vishvananda Ishaya added the comment: Example diff against python 2.7.6 that fixes the issues -- keywords: +patch Added file: http://bugs.python.org/file35606/log.diff ___ Python tracker ___

[issue16512] imghdr doesn't recognize variant jpeg formats

2014-06-12 Thread R. David Murray
R. David Murray added the comment: Issue 21230 reports a parallel problem with recognizing photoshop images. We need a patch with tests covering the variant types we know about. I don't have a strong opinion on the simple two byte test versus the more complex test in msg220346, but following

[issue21721] socket.sendfile() should use TransmitFile on Windows

2014-06-12 Thread Josh Rosenberg
Josh Rosenberg added the comment: Copying my comment from the previous issue: For TransmitFile support, the Windows function to turn an integer file descriptor into a WinAPI file HANDLE should be _get_osfhandle: http://msdn.microsoft.com/en-us/library/ks2530z6.aspx This was mentioned on the pr

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2014-06-12 Thread py.user
py.user added the comment: Python 2.7.7 is still printing. >>> format([], 'd') Traceback (most recent call last): File "", line 1, in ValueError: Unknown format code 'd' for object of type 'str' >>> -- ___ Python tracker

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2014-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, the deprecation in 3.3 did not apply to 2.7. -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2014-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue21656] Create test coverage for TurtleScreenBase in Turtle

2014-06-12 Thread Lita Cho
Changes by Lita Cho : -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17172] Add turtledemo to IDLE menu

2014-06-12 Thread Lita Cho
Lita Cho added the comment: Hi Terry, can we close this issue? Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue21743] Create tests for RawTurtleScreen

2014-06-12 Thread Lita Cho
New submission from Lita Cho: Create test coverage for the RawTurtleScreen class. -- messages: 220414 nosy: Lita.Cho, jesstess priority: normal severity: normal status: open title: Create tests for RawTurtleScreen ___ Python tracker

[issue21742] WatchedFileHandler can fail due to race conditions or file open issues.

2014-06-12 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21694] IDLE - Test ParenMatch

2014-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just discovered what I consider to be a bug in parenmatch. Consider (3 + 4 - 1) When I type the closing paren or put the cursor on the second line and hit ^0, the highlight extends from ( to ), inclusive, as it should. If I put the cursor on the first lin

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

2014-06-12 Thread Ben Hoyt
Ben Hoyt added the comment: I've got a patch for this. Need to finish the docs and add tests, and then I'll post here. -- ___ Python tracker ___

[issue21744] itertools.islice() goes over all the pre-initial elements even if the iterable can seek

2014-06-12 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: If L is a big sequence and I do "itertool.islice(L, 100, None)", islice will go over a million elements before returning the first that I actually cared. Since L is a sequence, islice could go directly to the element 100. My program performance imp

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-12 Thread Ben Hoyt
New submission from Ben Hoyt: Per my email on core-mentorship, the instructions for compiling CPython on Windows at https://docs.python.org/devguide/setup.html#windows are good, however I did have one issue where the dev guide didn't help. During the link step, I got this error: LINK : fatal e

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-12 Thread Ben Hoyt
Changes by Ben Hoyt : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Devguide -Documentation nosy: +ezio.melotti, steve.dower, zach.ware ___ Python tracker ___

[issue11588] Add "necessarily inclusive" groups to argparse

2014-06-12 Thread paul j3
paul j3 added the comment: I have developed a UsageGroup class that can implement nested 'inclusive' tests. Using this, the original example in this issue could be coded as 3 groups, 2 mutually_exclusive and inclusive one. parser = ArgumentParser(prog='PROG', formatter_class=UsageGroupHe

[issue21694] IDLE - Test ParenMatch

2014-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Attached is the 3.4 file I am ready to commit. Comments on Rietveld. I believe the 3 missed line could be hit by adding a delay to a test, but this seems pretty useless. The test file explicitly tests only two of the methods. Tests of other methods could be wr

[issue21694] IDLE - Test ParenMatch

2014-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I did the trivial part of a 2.7 backport of 2 name changes, but the real problem is that 2.7 does not have unittest.mock (which is why I have not used it until now). I removed one use with a dummy class, but am leaving the other one in the last test to you. -

[issue21694] IDLE - Test ParenMatch

2014-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue19776] Provide expanduser() on Path objects

2014-06-12 Thread Claudiu Popa
Claudiu Popa added the comment: Antoine, how does my latest patch look? -- stage: -> patch review ___ Python tracker ___ ___ Python-b

<    1   2