[issue21892] hashtable.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot the mention John Malmberg in the changelog, sorry :-( Thanks for your fix John. -- stage: resolved -> ___ Python tracker ___

[issue21893] unicodeobject.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot the mention John Malmberg in the changelog, sorry :-( Thanks for your fix John. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue21892] hashtable.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f55e802baf0 by Victor Stinner in branch '3.4': Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C http://hg.python.org/cpython/rev/4f55e802baf0 New changeset 669b43bffd87 by Victor Stinner in branch 'default': (Merge 3.4)

[issue21893] unicodeobject.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f55e802baf0 by Victor Stinner in branch '3.4': Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C http://hg.python.org/cpython/rev/4f55e802baf0 New changeset 669b43bffd87 by Victor Stinner in branch 'default': (Merge 3.4)

[issue21893] unicodeobject.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue21892] hashtable.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue21891] sysmodule.c, #define terminated with semicolon.

2014-06-30 Thread Ned Deily
Ned Deily added the comment: Thanks for the report! -- nosy: +ned.deily resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4 ___ Python tracker

[issue21891] sysmodule.c, #define terminated with semicolon.

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50e924d26ba6 by Ned Deily in branch '3.4': Issue #21891: remove extraneous semicolon. http://hg.python.org/cpython/rev/50e924d26ba6 New changeset fc527ecb4487 by Ned Deily in branch 'default': Issue #21891: remove extraneous semicolon. http://hg.pyt

[issue21889] https://docs.python.org/2/library/multiprocessing.html#process-and-exceptions doesn't explain exception

2014-06-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue21894] ImportError: cannot import name jit

2014-06-30 Thread Ned Deily
Ned Deily added the comment: This issue tracker is for reporting problems in Python itself. For help in how to how to use Python, there are lots of forums to ask for help. See https://www.python.org/about/help/ for suggestions. That said, if you have named your example file "parakeet.py", t

[issue1674555] sys.path in tests contains system directories

2014-06-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I update my patches every time they stop applying, but I do not feel that it is necessary to frequently attach new patches here. -- ___ Python tracker _

[issue9051] Improve pickle format for timezone aware datetime instances

2014-06-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: Improve pickle format for aware datetime instances -> Improve pickle format for timezone aware datetime instances ___ Python tracker ___

[issue21861] io class name are hardcoded in reprs

2014-06-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Usually reprs of subclass instances substitute actual module > and class names. This is a sensible idea that makes life easier for people writing subclasses. +1 for your suggestion. -- nosy: +rhettinger ___ Pyt

[issue21894] ImportError: cannot import name jit

2014-06-30 Thread dipen
New submission from dipen: i want to used parakeet module. and i install all dependency related to all. when i run attached file code then i get error like ImportError: cannot import name jit So i dont know how to solve this error. -- components: Library (Lib) files: parakeet.py messages

[issue21892] hashtable.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread John Malmberg
New submission from John Malmberg: hashtable.c is using %zd instead of the PY_FORMAT_SIZE_T as set by configure. Comments in pymacconfig.h state that this will cause problems on OS-X 10.4 with binaries build on OS-X 10.5. The attached patch hashtable.giff changes hashtable.c to be like the oth

[issue21893] unicodeobject.c not using PY_FORMAT_SIZE_T

2014-06-30 Thread John Malmberg
New submission from John Malmberg: unicodeobject.c is using %zd instead of the PY_FORMAT_SIZE_T as set by configure. Comments in pymacconfig.h state that this will cause problems on OS-X 10.4 with binaries build on OS-X 10.5. The attached patch unicodeobject.giff changes unicodeobject.c to be

[issue21891] sysmodule.c, #define terminated with semicolon.

2014-06-30 Thread John Malmberg
New submission from John Malmberg: Minor issue, the #define TAG line incorrectly is terminated with a semicolon. This results in a double semicolon on the following line where the macro is expanded. As this is an informational message, this is just cosmetic. Listing fragment: ␉··· 25861

[issue18592] Idle: test SearchDialogBase.py

2014-06-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue18592] Idle: test SearchDialogBase.py

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset a7f943a13f7f by Terry Jan Reedy in branch '2.7': Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods http://hg.python.org/cpython/rev/a7f943a13f7f New changeset 86c26ff25207 by Terry Jan Reedy in branch '3.4': Issue #1859

[issue18610] wsgiref.validate expects wsgi.input read to give exactly one arg

2014-06-30 Thread Robin Schoonover
Changes by Robin Schoonover : -- nosy: +pje ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21890] wsgiref.simple_server doesn't accept empty bytes before start_response is called

2014-06-30 Thread Robin Schoonover
New submission from Robin Schoonover: Consider this paragraph of PEP, referring to headers obtained via start_response, emphasis mine: Instead, it must store them for the server or gateway to transmit only after the first iteration of the application return value that yields a *n

[issue21890] wsgiref.simple_server doesn't accept empty bytes before start_response is called

2014-06-30 Thread Robin Schoonover
Changes by Robin Schoonover : -- keywords: +patch Added file: http://bugs.python.org/file35810/wsgiref-empty-byte.patch ___ Python tracker ___ ___

[issue21202] Naming a file` io.py` causes cryptic error message

2014-06-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue13689] fix CGI Web Applications with Python link in howto/urllib2

2014-06-30 Thread Berker Peksag
Berker Peksag added the comment: I've just removed the link. -- assignee: michael.foord -> berker.peksag nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3 __

[issue13689] fix CGI Web Applications with Python link in howto/urllib2

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset e0561df131aa by Berker Peksag in branch '3.4': Issue #13689: Remove a dead link from howto/urllib. http://hg.python.org/cpython/rev/e0561df131aa New changeset 4617c0e1f6c4 by Berker Peksag in branch 'default': Issue #13689: Merge from 3.4. http://hg

[issue9554] test_argparse.py: use new unittest features

2014-06-30 Thread Berker Peksag
Berker Peksag added the comment: Updated patch to use assertRaisesRegex in test_invalid_action, test_multiple_dest -- Added file: http://bugs.python.org/file35809/issue9554_v2.diff ___ Python tracker __

[issue15358] Test pkgutil.walk_packages in test_pkgutil instead of test_runpy

2014-06-30 Thread Nick Coghlan
Nick Coghlan added the comment: Dropped down my priority list (it's a nice to have to make the code base a bit easier to work on, rather than something essential). -- ___ Python tracker

[issue20554] Use specific asserts in optparse test

2014-06-30 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue21800] Implement RFC 6855 (IMAP Support for UTF-8) in imaplib.

2014-06-30 Thread Milan Oberkirch
New submission from Milan Oberkirch: I made a patch implementing the following changes to the IMAP4 class: - add a method 'enable_UTF8_accept()' sending "ENABLE UTF8=ACCEPT" to the server and setting internal encoding to UTF-8 - use the UTF8 extencion in the 'append()' method if the internal enc

[issue15112] argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional

2014-06-30 Thread paul j3
paul j3 added the comment: I believe http://bugs.python.org/issue14174 with REMAINDER has its roots in the same issue - parse_args tries to process as many positionals as it can at a time, regardless of what's left in the argument strings. The fix proposed here depends on the 2nd argument taki

[issue20554] Use specific asserts in optparse test

2014-06-30 Thread Berker Peksag
Berker Peksag added the comment: diff -r 3b94a4ef244e Lib/test/test_argparse.py --- a/Lib/test/test_argparse.py Fri Feb 07 17:53:13 2014 +0100 +++ b/Lib/test/test_argparse.py Fri Feb 07 22:34:13 2014 +0200 @@ -4219,7 +4219,7 @@ e = sys.exc_info()[1] expected = 'unknown a

[issue18592] Idle: test SearchDialogBase.py

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b7a4cbed2a0 by Terry Jan Reedy in branch '2.7': Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster. http://hg.python.org/cpython/rev/2b7a4cbed2a0 New changeset a0e8f2d882a3 by Terry Jan Reedy in branch '3.4': Issue #18592: Add

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: > "_maybe_set_result()" is not a good name. Other suggestions: > "_set_result_except_cancelled", ""_set_result_ignore_cancelled". I read again the mail thread and Guido proposed the nice name _set_result_unless_cancelled() which is very explicit. I updated my

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: In https://codereview.appspot.com/69870048/ Guido proposed to test to replace: self._loop.call_soon(waiter.set_result, None) with: if not waiter.cancelled(): waiter.set_result(None) -- ___ Python tracker

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: I see two options to fix this issue: - add an optional parameter to set_result() to do nothing if the future is cancelled - add a method (public or private) to set a result or do nothing if the future is cancelled Patch "Add ignore_cancelled and ignore_done t

[issue21861] io class name are hardcoded in reprs

2014-06-30 Thread Josh Rosenberg
Josh Rosenberg added the comment: Is it common for C implementations to introspect to figure out their "real" name? I do this manually for reprs of my user defined classes, but I haven't noticed many built-ins that consider extensibility for the repr. Maybe I'm just not using the classes that

[issue1674555] sys.path in tests contains system directories

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Arfrever will you create updated patches as stated in msg136552 ? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker _

[issue18906] Create a way to always run tests in subprocesses within regrtest

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that #9517 may be relevant if we decide to take the subprocess route. -- nosy: +BreamoreBoy type: -> enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue21861] io class name are hardcoded in reprs

2014-06-30 Thread Claudiu Popa
Claudiu Popa added the comment: The same should be done for _pyio? -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list

[issue16763] test_ssl with connect_ex don't handle unreachable server correctly

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: Does the backport mentioned in msg178404 still need doing, can this be closed as "out of date" or "won't fix" or what? -- nosy: +BreamoreBoy ___ Python tracker

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The __all__ test now passes on Snow Leapard. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21889] https://docs.python.org/2/library/multiprocessing.html#process-and-exceptions doesn't explain exception

2014-06-30 Thread Karl Richter
New submission from Karl Richter: Although the section https://docs.python.org/2/library/multiprocessing.html#process-and-exceptions (of the multiprocessing module documentation) is titled "... and exceptions" it doesn't say anything about exceptions. I assume that it behaves like the thread

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2014-06-30 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +steve.dower, tim.golden, zach.ware versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue5619] Pass MS CRT debug flags into subprocesses

2014-06-30 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +steve.dower, tim.golden, zach.ware type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___

[issue14787] pkgutil.walk_packages returns extra modules

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: Note that this is reference from #15358. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue7559] TestLoader.loadTestsFromName swallows import errors

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: Note that #8297 referenced in msg102236 is closed see changeset d84a69b7ba72. -- ___ Python tracker ___ __

[issue7559] TestLoader.loadTestsFromName swallows import errors

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: Note that this issue is referred to from #15358. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ __

[issue15358] Test pkgutil.walk_packages in test_pkgutil instead of test_runpy

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: Has anyone made any progress with this issue or others referenced like #7559 or #14787 ? Regardless I'd like to help out directly if possible as I'm suffering from an acute case of triagitis :-) -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3

[issue17126] test_gdb fails

2014-06-30 Thread ddve...@ucar.edu
ddve...@ucar.edu added the comment: I am not sure what you mean by Double Dutch, but let me try to restate the problem. This test fails (even with current python 2.7.7) with the stated version of gdb (given the lack of feedback since I initially opened this ticket, I have not verified that the f

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2. Done 3. I just removed the setrecursionlimit call, added for 3.0. I moved the colormixer sliders around for longer than anyone is likely to and it ran fine. 4. two-canvases works fine now. The extra window just has to be clicked away. 5. nim had a call to tur

[issue14117] Turtledemo: exception and minor glitches.

2014-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 21884 removed or moved global system-changing or gui calls to main. Wrapping two_canvases code (except for window preserving mainloop) to a new main fixed its problems. Should remove reload from main driver, and test. -- _

[issue1647489] zero-length match confuses re.finditer()

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: How does "the Regexp 2.7 engine in issue 2636" from msg73742 deal with this situation? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset c173a34f20c0 by Terry Jan Reedy in branch '2.7': Issue #21882: In turtle demos, remove module scope gui and sys calls by http://hg.python.org/cpython/rev/c173a34f20c0 New changeset fcfa9c5a00fd by Terry Jan Reedy in branch '3.4': Issue #21882: In tu

[issue21888] plistlib.FMT_BINARY behavior doesn't send required dict parameter

2014-06-30 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Can you supply a test case and/or a fix patch? Ideally, the test case would be a patch to Lib/test/test_plistlib.py. If you're interested, there's more info here: https://docs.python.org/devguide/ -- nosy: +ned.deily, ronaldoussore

[issue21885] shutil.copytree hangs (on copying root directory of a lxc container) (should succeed or raise exception nested)

2014-06-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +hynek, tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21881] python cannot parse tcl value

2014-06-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily stage: -> needs patch versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python

[issue21884] turtle regression of issue #21823: "uncaught exception" on "AMD64 Snow Leop 3.x" buildbot

2014-06-30 Thread Ned Deily
Ned Deily added the comment: This is an instance of the problems identified in Issue21882, namely that test___all__ is importing turtledemo modules and some of them have bad side effects. In this case, it's turtledemo.clock which is calling mode() which now unconditionally attempts to create a

[issue13743] xml.dom.minidom.Document class is not documented

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: This https://docs.python.org/3/library/xml.dom.minidom.html#module-xml.dom.minidom currently states under section 20.7.1 "The definition of the DOM API for Python is given as part of the xml.dom module documentation. This section lists the differences between

[issue21887] Python3 can't detect Tcl/Tk 8.6.1

2014-06-30 Thread Ned Deily
Ned Deily added the comment: for the --with-tcltk-includes and -libs options, you need to pass the same cc options that would go on CFLAGS and LDFLAGS. ./configure --help [...] --with-tcltk-includes='-I...' override search for Tcl and Tk include files --with-tc

[issue21881] python cannot parse tcl value

2014-06-30 Thread Andreas Schwab
Andreas Schwab added the comment: You will see this on any architecture where the canonical NaN has all bits set (or a subset of them). This include mips and m68k. -- ___ Python tracker __

[issue13231] sys.settrace - document 'some other code blocks' for 'call' event type

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: I find this request excessive. The first sentence for sys.settrace states "Set the system’s trace function, which allows you to implement a Python source code debugger in Python". I suspect that anyone wanting to write a debugger would know the Python and its

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: @Rodrigue did you ever make any progress with this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ P

[issue14322] More test coverage for hmac

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: If there isn't a signed contributor agreement I'll put up a new version of the patch. In msg156758 Antoine said 'don't use "except: self.fail()", just let the exception pass through'. There are several of these in the existing code. Should they all be remove

[issue21888] plistlib.FMT_BINARY behavior doesn't send required dict parameter

2014-06-30 Thread Nathan Henrie
New submission from Nathan Henrie: When using the new plistlib.load and the FMT_BINARY option, line 997: p = _FORMATS[fmt]['parser'](use_builtin_types=use_builtin_types) doesn't send the dict_type to _BinaryPlistParser.__init__ (line 601), which has dict_type as a required positional paramete

[issue14261] Cleanup in smtpd module

2014-06-30 Thread Michele Orrù
Michele Orrù added the comment: On Sun, Jun 29, 2014 at 03:15:44PM +, Mark Lawrence wrote: > > Mark Lawrence added the comment: > > @Michele as 8739 has been implemented would you like to put up a patch for > this? No, but setting keyword "easy" could help for future contributions.

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-30 Thread Aaron Swan
Aaron Swan added the comment: At any rate, it is a bit of a nuisance that files remain present when the intent was to move them. -- ___ Python tracker ___ __

[issue14117] Turtledemo: exception and minor glitches.

2014-06-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +turtledemo modules imported by test___all__ cause side effects or failures ___ Python tracker ___ _

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am working on the turtle demos now. Victor gave more info in #21884. I was partly wrong in my comments. turtledemo uses reload to re-initialize demos when one switches between them. I am tempted to remove this as part of discouraging side-effects on import.

[issue21887] Python3 can't detect Tcl/Tk 8.6.1

2014-06-30 Thread Joe Borg
Changes by Joe Borg : -- title: Python3 can't detect Tcl -> Python3 can't detect Tcl/Tk 8.6.1 ___ Python tracker ___ ___ Python-bugs-l

[issue21884] turtle regression of issue #21823: "uncaught exception" on "AMD64 Snow Leop 3.x" buildbot

2014-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Brett, the question is about import.) The problem is the mode call in clock.py, which I will move today as part of 21882. I am sorely puzzled that the patch in #21823 could have changed the effect of mode(). There are only two changes, only one of which coul

[issue21887] Python3 can't detect Tcl

2014-06-30 Thread Joe Borg
New submission from Joe Borg: Trying to configure 3.4.1 on Cent OS 6.4. I have built Tcl and Tk, using the prefix /scratch/root. I can confirm the builds with: $ find /scratch/root/ -name "tcl.h" /scratch/root/include/tcl.h $ find /scratch/root/ -name "tk.h" /scratch/root/include/tk.h But,

[issue6721] Locks in the standard library should be sanitized on fork

2014-06-30 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue6721] Locks in the standard library should be sanitized on fork

2014-06-30 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- title: Locks in python standard library should be sanitized on fork -> Locks in the standard library should be sanitized on fork versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue9248] multiprocessing.pool: Proposal: "waitforslot"

2014-06-30 Thread Ask Solem
Ask Solem added the comment: This patch is quite dated now and I have fixed many bugs since. The feature is available in billiard and is working well but The code has diverged quite a lot from python trunk. I will be updating billiard to reflect the changes for Python 3.4 soon (billiard is c

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-06-30 Thread Ryder Lewis
Changes by Ryder Lewis : -- nosy: +ryder.lewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21447] Intermittent asyncio.open_connection / futures.InvalidStateError

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: This issue contains two sub-issues: - race condition in_write_to_self() => already fixed - race condition with scheduled call to future.set_result(), InvalidStateError => I just opened the issue #21886 to discuss it @Ryder: If you are able to reproduce the seco

[issue21885] shutil.copytree hangs (on copying root directory of a lxc container) (should succeed or raise exception nested)

2014-06-30 Thread Karl Richter
New submission from Karl Richter: reproduction (on Ubuntu 14.04 amd64 with lxc 1.0.4) (with python 2.7.6 and 3.4.0) # as root/with privileges lxc-create -n ubuntu-trusty-amd64 -t ubuntu -- --arch amd64 --release trusty lxc-stop -n ubuntu-trusty-amd64 # assert container isn't running

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-06-30 Thread STINNER Victor
New submission from STINNER Victor: Ok, I found a way to reproduce the error InvalidStateError in asyncio. I'm not sure that it's the same the error in #21447. Output of attached bug.py in debug mode: --- Exception in callback Future.set_result(None) handle: source_traceback: Object created at

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2014-06-30 Thread R. David Murray
Changes by R. David Murray : -- stage: needs patch -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19475] Add microsecond flag to datetime isoformat()

2014-06-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Based on GNU date "prior art", we can introduce timespec='auto' keyword argument with the following values: 'auto' - (default) same as current behavior 'hours' - %H 'minutes' - %H:%M 'seconds' - %H:%M:%S 'us' - %H:%M:%S.%f -- ___

[issue21882] turtledemo modules imported by test___all__ cause side effects or failures

2014-06-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue19475] Add microsecond flag to datetime isoformat()

2014-06-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here is some "prior art": GNU date utility has an --iso-8601[=timespec] option defined as ‘-I[timespec]’ ‘--iso-8601[=timespec]’ Display the date using the ISO 8601 format, ‘%Y-%m-%d’. The argument timespec specifies the number of additional terms of the

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2014-06-30 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 13e78b9cf290 by Victor Stinner in branch '3.4': Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly() http://hg.python.org/cpython/rev/13e78b9cf290 New changeset 2d0fa8f383c8 by Victor Stinner in branch 'default': (Merge 3.4)

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

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: Hum, dont_log_pending.patch is not correct for wait(): wait() returns (done, pending), where pending is a set of pending tasks. So it's still possible that pending tasks are destroyed while they are not a still pending, after the end of wait(). The log should

[issue21209] q.put(some_tuple) fails when PYTHONASYNCIODEBUG=1

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset defd09a5339a by Victor Stinner in branch '3.4': asyncio: sync with Tulip http://hg.python.org/cpython/rev/defd09a5339a New changeset 8dc8c93e74c9 by Victor Stinner in branch 'default': asyncio: sync with Tulip http://hg.python.org/cpython/rev/8dc8c9

[issue21645] test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9

2014-06-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 69d474dab479 by Victor Stinner in branch 'default': Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for http://hg.python.org/cpython/rev/69d474dab479 -- nosy: +python-dev ___ Pyt

[issue21732] SubprocessTestsMixin.test_subprocess_terminate() hangs on "AMD64 Snow Leop 3.x" buildbot

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: I cannot check if the error occurred recently because of another issue: #21884. -- ___ Python tracker ___ __

[issue21884] turtle regression of issue #21823: "uncaught exception" on "AMD64 Snow Leop 3.x" buildbot

2014-06-30 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21884] turtle regression of issue #21823: "uncaught exception" on "AMD64 Snow Leop 3.x" buildbot

2014-06-30 Thread STINNER Victor
New submission from STINNER Victor: Since the changeset 1ae2382417dcc7202c708cac46ae8a61412ca787 from the issue #21823, Tcl/Tk crashs beacuse of an "uncaught exception" on the buildbot "AMD64 Snow Leop 3.x" on tk.call('update') called by tkinter.Misc().update(). First failure on the buildbot 3

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2014-06-30 Thread STINNER Victor
STINNER Victor added the comment: > Does this need following up, can it be closed as "won't fix" as it only > affects 2.7, or what? IMO we should fix this issue. I proposed a fix in msg121294. -- ___ Python tracker

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: Does this need following up, can it be closed as "won't fix" as it only affects 2.7, or what? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue11762] Ast doc: warning and version number

2014-06-30 Thread Berker Peksag
Berker Peksag added the comment: > 1. Add a warning similar to the one for the dis module. The current documentation says: "The abstract syntax itself might change with each Python release; [...]" https://docs.python.org/3.4/library/ast.html > 2. Add a full entry for __version__. Currentl

[issue15347] IDLE - does not close if the debugger was active

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: A pythonw.exe process is left running if I try this with 3.4.1 on Windows 7. -- nosy: +BreamoreBoy, terry.reedy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue8902] add datetime.time.now() for consistency

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

[issue21881] python cannot parse tcl value

2014-06-30 Thread Ned Deily
Ned Deily added the comment: What version of Tcl are you using and on what platform? -- nosy: +ned.deily, serhiy.storchaka ___ Python tracker ___

[issue8902] add datetime.time.now() for consistency

2014-06-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: For the reasons listed by others, marking this as closed/rejected. -- nosy: +rhettinger resolution: -> rejected status: open -> closed ___ Python tracker ___