[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset c6e7ba7eee88 by Serhiy Storchaka in branch '2.7': Issue #19255: Clear error after failed PyDict_SetItem() on shutdown. http://hg.python.org/cpython/rev/c6e7ba7eee88 New changeset ffc4f03adcac by Serhiy Storchaka in branch '3.3': Issue #19255: Clear

[issue20605] test_socket (testGetaddrinfo) failing on OS X 10.6.8 (32-bit)

2014-02-11 Thread Ned Deily
Ned Deily added the comment: The test works for me on OS X 10.6 and OS X 10.9. My guess is that the problem you are seeing is due to a failing lookup of "localhost". What does your Python report for: socket.gethostbyname("localhost") The getaddrinfo(3) man page description does not really c

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-11 Thread Remi Pointel
Remi Pointel added the comment: > Can you please test interrupt_lock_acquire.py? It should be the same than the > unit test, but in a fresh Python process. Thanks for your response, this is what I have: $ PYTHONPATH=. ./python ./interrupt_lock_acquire.py Traceback (most recent call last): F

[issue6143] IDLE - an extension to clear the shell window

2014-02-11 Thread Tal Einat
Tal Einat added the comment: Roger, thanks for the quick response! I'll try to get to working on this in the coming days. -- ___ Python tracker ___ __

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-11 Thread Guido van Rossum
Guido van Rossum added the comment: Note: The new version does *not* change the semantics as mentioned in msg210709. Nobody should depend on those semantics anyway. -- ___ Python tracker __

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-11 Thread Guido van Rossum
Changes by Guido van Rossum : -- Removed message: http://bugs.python.org/msg210715 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-11 Thread Guido van Rossum
Changes by Guido van Rossum : -- Removed message: http://bugs.python.org/msg210765 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-11 Thread Guido van Rossum
Guido van Rossum added the comment: Everyone interested, I plan to push the latest version on view in Rietveld tomorrow: http://codereview.appspot.com/61210043 It's not as drastic a rewrite as my original attempt; Glenn's idea of using a Queue worked out great! -- ___

[issue20605] test_socket (testGetaddrinfo) failing on OS X 10.6.8 (32-bit)

2014-02-11 Thread Geoffrey Spear
New submission from Geoffrey Spear: On OS X 10.6.8, I'm getting the following result for test_socket: [cpython] % ./python.exe -m test test_socket [1/1] test_socket /Users/geoff/Documents/programming/cpython/Lib/test/test_socket.py:1721: RuntimeWarning: received malformed or improperly-truncate

[issue20596] Support for alternate wcstok syntax for Windows compilers

2014-02-11 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: Based on the comments thus far, I've gone ahead with another version of this patch. Py_WCSTOK is now defined regardless of OS. For Windows, it chooses between MSVC's wcstok_s, Open Watcom's wcstok, and MinGW's/misc's two-argument wcstok. If the platform

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: To make test_lock_acquire_interruption and test_rlock_acquire_interruption more reliable, the test should maybe run a fresh Python process to get a well known number of threads. Some Python modules create C threads like Tkinter. faulthandler creates also an hi

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: I set the priority to release blocker because it's a crash, it's a regression since Python 3.3 and it can be easily fixed (revert changes done in #19466). -- ___ Python tracker __

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Charles-François wrote: > see issue #19466: I think that the change to clear the frame of daemon > threads was a mistake Good catch. If I reverted changes of #19466, threading_shutdown_interrupted.py doesn't crash anymore. It doesn't explain how the GC header

[issue20587] sqlite3 converter not being called

2014-02-11 Thread Ned Deily
Ned Deily added the comment: Perhaps the external pysqlite distribution from PyPI was installed on 2.5. Kathryn, can you supply the output from the two versions? import sqlite3 print(sqlite3.version) print(sqlite3.sqlite_version) -- nosy: +ned.deily __

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: threading_shutdown_interrupted.py: simpler and reliable script to reproduce the bug. -- Added file: http://bugs.python.org/file34053/threading_shutdown_interrupted.py ___ Python tracker

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > Are you sure? I didn't see the daemon flag in ThreadPoolExecutor. Oh you're right, ThreadPoolExecutor does create daemon threads: class ThreadPoolExecutor(_base.Executor): ... def _adjust_thread_count(self): # When the executor gets lost, the

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > Victor, you really shouldn't submit code that you don't understand. In fact I do understand overlapped_dealloc.patch, it's "quite simple". On Windows XP, if you have exit Python with pending overlapped operations, you must not release the read or write buffe

[issue6143] IDLE - an extension to clear the shell window

2014-02-11 Thread Roger Serwy
Roger Serwy added the comment: > > Removing text before "iomark" can be done by using the underlying Text widget > directly. See how the Squeezer extension does this in issue1529353. This > should simplify the implementation significantly. I agree that the underlying .delete can be called dire

[issue20587] sqlite3 converter not being called

2014-02-11 Thread Peter Otten
Peter Otten added the comment: Are you sure that the converter is called in Python 2.5? I've looked into the source (Modules/_sqlite/cursor.c), and if I understand the code correctly it uses the sqlite3_column_decltype() function from the sqlite3 API to determine the column type. So Python wou

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset f56b98143792 by R David Murray in branch 'default': whatsnew: object.__format__ raises TypeError on non-empty string. http://hg.python.org/cpython/rev/f56b98143792 -- ___ Python tracker

[issue7994] object.__format__ should reject format strings

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset f56b98143792 by R David Murray in branch 'default': whatsnew: object.__format__ raises TypeError on non-empty string. http://hg.python.org/cpython/rev/f56b98143792 -- nosy: +python-dev ___ Python tracker

[issue20320] select.select(timeout) and select.kqueue.control(timeout) must round the timeout to the upper bound

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > But originally this issue only "affects" event loops, so > presumably it'd be reasonable to stick to select()-alikes. Ok, here is a new patch which doesn't change signal.sigtimedwait() (still round down, towards zero). -- Added file: http://bugs.pyth

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Victor, you really shouldn't submit code that you don't understand. If you do, please don't claim that including it is urgent :-(. Based on that ground, I suggest to a) postpone this detail to 3.4.1, and b) create a new issue for this bug fix, and c) leave th

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Oh, I agree that refactoring is too late for Python 3.4. Anyway, I thought that the two modules had just duplicated code, but in fact they also have a different API. So it's not so easy to merge them. It would probably be easier if asyncio and multiprocessing

[issue20320] select.select(timeout) and select.kqueue.control(timeout) must round the timeout to the upper bound

2014-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I consider that sigtimedwait() is similar to select and kqueue: it's a > function to wait for an event with a timeout. IMO it should use the > same rounding method. Don't you think so? > > I don't really care how sigtimedwait() rounds its timeout, I just > tri

[issue20320] select.select(timeout) and select.kqueue.control(timeout) must round the timeout to the upper bound

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Antoine asks me on Rietveld why I chose to round up in signal.sigtimedwait(). I consider that sigtimedwait() is similar to select and kqueue: it's a function to wait for an event with a timeout. IMO it should use the same rounding method. Don't you think so?

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine> I think this is all much too late for 3.4. > > I didn't propose to merge duplicated code in Python 3.4 but 3.5. > Antoine, just to be sure, are you talking about merging duplicated > code or applying overlapped_dealloc-2.patch on Python 3.4? Both. I

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > It isn't fixed in 3.3 yet. I'm not sure that the issue should be fixed in 3.3 because the patch is quite large. Do you consider that the bug is important enough? -- ___ Python tracker

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Martin> Larry, I think this will happen (Victor, correct me if I'm wrong): Sorry but I didn't write this code and I'm not sure that I understand it. It's just surprising that a bug was fixed in one file but not the other one, and if I remember correctly, the p

[issue6143] IDLE - an extension to clear the shell window

2014-02-11 Thread Tal Einat
Tal Einat added the comment: Removing text before "iomark" can be done by using the underlying Text widget directly. See how the Squeezer extension does this in issue1529353. This should simplify the implementation significantly. I also took a look at the version of the extension in IdleX. I'

[issue20596] Support for alternate wcstok syntax for Windows compilers

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: wcstok() is available on other platforms like Linux. You may also define the constant for these platforms, no? On Linux, it has 3 parameters: wchar_t *wcstok(wchar_t *wcs, const wchar_t *delim, wchar_t **ptr); You should explain that the macro may ignore the th

[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread Christian Heimes
Christian Heimes added the comment: It's fine. We don't *want* to check the error and fail here. -- ___ Python tracker ___ ___ Python-

[issue20589] pathlib.owner() and pathlib.group() raise ImportError on Windows

2014-02-11 Thread James Skinner
James Skinner added the comment: Ok, I'm not sure when I got the idea they should return ids instead of the names :) But raising NotImplementedError is certainly an improvement on ImportError. As to implementing it on Windows, the answer by eryksun on this page works without requiring anythin

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2014-02-11 Thread Ned Deily
Ned Deily added the comment: Miki, what is the output of the following on the failing system? id -G && sw_vers -- ___ Python tracker ___

[issue1529353] Squeezer - squeeze large output in the interpreter

2014-02-11 Thread Tal Einat
-- Added file: http://bugs.python.org/file34050/taleinat.20140211.IDLE_Squeezer.patch ___ Python tracker <http://bugs.python.org/issue1529353> ___ ___ Python-bugs-l

[issue20604] Missing invalid mode in error message of socket.makefile.

2014-02-11 Thread Franck Michea
New submission from Franck Michea: Hi! Noticed that the wrong mode was missing from the error message of socket.makefile. Nothing important, but this patch fixes the thing anyway, if you want it. -- components: Library (Lib) files: missing_mode_in_error.patch keywords: patch messages:

[issue19744] test_venv and installation fail if SSL/TLS is not available

2014-02-11 Thread Nick Coghlan
Changes by Nick Coghlan : -- title: test_venv fails if SSL/TLS is not available -> test_venv and installation fail if SSL/TLS is not available ___ Python tracker ___ ___

[issue19744] test_venv fails if SSL/TLS is not available

2014-02-11 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: tim.peters -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Your checkin 6a1711c96fa6 caused a Coverity complain: > > ** CID 1171506: Unchecked return value (CHECKED_RETURN) > /Objects/moduleobject.c: 352 in _PyModule_ClearDict() > /Objects/moduleobject.c: 333 in _PyModule_ClearDict() Actually this was in old code.

[issue19744] test_venv fails if SSL/TLS is not available

2014-02-11 Thread Nick Coghlan
Nick Coghlan added the comment: This upsets "make install" as well - currently with a traceback. -- priority: deferred blocker -> release blocker status: pending -> open ___ Python tracker _

[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread Christian Heimes
Christian Heimes added the comment: The two problematic code paths were marked as "intentional" and "ignore" in the past. There is no point in reporting errors that late in the shutdown phase. Also the code paths are very unlikely to trigger an error. -- __

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this is all much too late for 3.4. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2014-02-11 Thread Nick Coghlan
Nick Coghlan added the comment: As Serhiy noted, 3.3 is still affected. On the other hand, the approach I used for 3.4 is a pretty invasive fix, so I'm not sure it's a good idea to implement something like that in a maintenance release. -- ___ Python

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Larry Hastings
Larry Hastings added the comment: Some questions. a) Is at least one of these Overlapped objects new in 3.4? b) Which of these Overlapped objects is used by asyncio? c) Is the goal of merging the two objects simple code hygiene, or is the merged object going to work better somehow? Like, will

[issue20596] Support for alternate wcstok syntax for Windows compilers

2014-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The code can be a little more clear if use indentation in preprocessor directives: #ifdef MS_WINDOWS # ifdef _MSC_VER # define Py_WCSTOK(x,y,z) wcstok_s(x,y,z) # else # ifdef __WATCOMC__ # define Py_WCSTOK(x,y,z) wcstok(x,y,z) # else # define Py_WCST

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: follow-up: the work around is not the closing of the handle, but leaving the buffer allocated (as a memory leak), so that Windows can still write into it if it wants to (which it may or may not chose to do). -- ___

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Larry, I think this will happen (Victor, correct me if I'm wrong): On Windows XP only, if this overlapped object is used and not properly released before the process terminates, python may currently crash at the end of the process, and it will announce that t

[issue20587] sqlite3 converter not being called

2014-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Use "select alpha". -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-11 Thread Remi Pointel
Remi Pointel added the comment: Thanks for your response. > When running the test, is faulthandler enabled (--timeout option)? It seems yes: # $ PYTHONPATH=. ./python Tools/scripts/run_tests.py -j 1 -W

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2014-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It isn't fixed in 3.3 yet. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread Christian Heimes
Christian Heimes added the comment: Your checkin 6a1711c96fa6 caused a Coverity complain: ** CID 1171506: Unchecked return value (CHECKED_RETURN) /Objects/moduleobject.c: 352 in _PyModule_ClearDict() /Objects/moduleobject.c: 333 in _PyModule_ClearDict() __

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > Random thoughts: > - executor-created threads are daemon (unfortunately) Are you sure? I didn't see the daemon flag in ThreadPoolExecutor. -- ___ Python tracker

[issue19466] Clear state of threads earlier in Python shutdown

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > Could someone review my message http://bugs.python.org/msg206028? I replied with questions and you didn't reply :-) -- ___ Python tracker ___

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: It cannot be applied to 3.4.0 without a test case. Whether it can be applied to 3.4.0 with a test case, I don't know - IMO *nothing* can be applied anymore, unless it is release-critical (e.g. Python crashes when calling print()). Bug fixes go into 3.4.1 (and

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-02-11 Thread Matej Cepl
Matej Cepl added the comment: On Tue, 2014-02-11 at 16:52 +, Terry J. Reedy wrote: > Both patches have an unusual email section at the top that is not > needed for this tracker, and which I have not seen here before. Is this > something idiosyncratic to git? Yes, it is output of git-format-p

[issue18314] Have os.unlink remove junction points

2014-02-11 Thread Kim Gräsman
Kim Gräsman added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread Charles-François Natali
Charles-François Natali added the comment: Random thoughts: - executor-created threads are daemon (unfortunately) - see issue #19466: I think that the change to clear the frame of daemon threads was a mistake -- ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2014-02-11 Thread Larry Hastings
Larry Hastings added the comment: I suggest that that documentation counts for starting the deprecation cycle, however I would still also accept a patch adding a deprecation warning if the parameter is used. -- ___ Python tracker

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Larry Hastings
Larry Hastings added the comment: What bad thing will happen if I don't accept this for 3.4? -- ___ Python tracker ___ ___ Python-bugs

[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Turns out call _PyImportHooks_Init is not enough, see issue20602 and issue20603. -- ___ Python tracker ___ _

[issue20597] PATH_MAX already defined on some Windows compilers

2014-02-11 Thread Larry Hastings
Larry Hastings added the comment: Assuming you keep an eye on the buildbots, this has my permission to go in. Martin: While we don't officially support those compilers, I don't see the harm of removing unused #defines, so I'm willing to accept it for rc2. -- __

[issue20603] sys.path disappears at shutdown

2014-02-11 Thread Antoine Pitrou
New submission from Antoine Pitrou: Original changeset in 1998: http://hg.python.org/cpython/rev/185c1d47ce7a Stated reason is to prevent new imports. Well, mission accomplished: this is one of the reasons for the problems in issue19255 :) -- components: Interpreter Core messages: 2110

[issue20602] sys.flags and sys.float_info disappear at shutdown

2014-02-11 Thread Antoine Pitrou
New submission from Antoine Pitrou: For some reason they are wiped to fix so-called reference leaks: http://hg.python.org/cpython/rev/9639a73afa47/ This changeset is one of the culprits of the problems in issue19255. -- components: Interpreter Core messages: 211001 nosy: christian.heime

[issue20597] PATH_MAX already defined on some Windows compilers

2014-02-11 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: PATH_MAX is defined in both Open Watcom and MinGW's GCC toolchain. Neither is a "supported" compiler, I suppose. I hadn't meant to suggest that it be included in 3.4's release candidate, only that the problem exists on current versions. -- _

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If wait_for_thread_shutdown() is interrupted, maybe Python should kill > all > other threads with pthread_kill() or something like that. > > Or wait_for_thread_shutdown() should maybe block SIGINT and SIGTERM > signals using pthread_sigmark()? This sounds a

[issue19466] Clear state of threads earlier in Python shutdown

2014-02-11 Thread Charles-François Natali
Charles-François Natali added the comment: > I didn't see test_threading failing anymore recently, so I'm closing the issue. Thanks. Hm... Could someone review my message http://bugs.python.org/msg206028? Because AFAICT, this will lead to random crashes with daemon threads. -- __

[issue20597] PATH_MAX already defined on some Windows compilers

2014-02-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Jeffrey: Which compilers specifically? It's probably not MSVC, hence it's not a "supported" compiler, and IMO shouldn't go in after the release candidate for 3.4. -- ___ Python tracker

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-11 Thread Charles-François Natali
Charles-François Natali added the comment: So this looks like a bug. When running the test, is faulthandler enabled (--timeout option)? -- ___ Python tracker ___ ___

[issue20564] test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)

2014-02-11 Thread Charles-François Natali
Charles-François Natali added the comment: > So this looks like a bug. I mean an OpenBSD bug. -- ___ Python tracker ___ ___ Python-bu

[issue19465] selectors: provide a helper to choose a selector using constraints

2014-02-11 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue18795] pstats - allow stats sorting by cumulative time per call and total time per call

2014-02-11 Thread Guillaume Gelin
Changes by Guillaume Gelin : -- nosy: +ramnes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19465] selectors: provide a helper to choose a selector using constraints

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: It looks you rejected my idea, so I'm in favor of just closing the issue. Do you agree? -- ___ Python tracker ___ _

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19466] Clear state of threads earlier in Python shutdown

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: I didn't see test_threading failing anymore recently, so I'm closing the issue. Thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Is it still something to do? The initial issue looks to be fixed. You may open new issue if you see more things to do? -- nosy: +haypo ___ Python tracker _

[issue19751] test_sys: sys.hash_info.algorithm failure on SPARC Solaris buildbot

2014-02-11 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue19769] test_venv: test_with_pip() failure on "AMD64 Windows Server 2008 [SB] 3.x" buildbot

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this error recently, can I close the issue? -- ___ Python tracker ___ ___ Python-bugs-l

[issue19977] Use "surrogateescape" error handler for sys.stdin and sys.stdout on UNIX for the C locale

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > Reintroducing moji-bake intentionally doesn't sound like a particularly good > idea, wasn't that what python3 was supposed to help prevent? Sometimes practicality beats purity :-( I tried to convince users that their computer was "not well configured", they

[issue20414] Python 3.4 has two Overlapped types

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: @Martin, Richard: Could you please review overlapped_dealloc-2.patch? It should be applied on Python 3.4 IMO. -- versions: +Python 3.4 ___ Python tracker _

[issue20587] sqlite3 converter not being called

2014-02-11 Thread Kathryn M Kowalski
Kathryn M Kowalski added the comment: Worked on my machine too - but if you add "union all" AND "order by" it breaks -- Added file: http://bugs.python.org/file34047/demo2.py ___ Python tracker _

[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ba583191550 by Victor Stinner in branch 'default': Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than http://hg.python.org/cpython/rev/2ba583191550 -- nosy: +python-dev ___ P

[issue20597] PATH_MAX already defined on some Windows compilers

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: I found it: changeset: 87113:159e51e5fc2c branch: 3.3 parent: 87102:46fc4fb2c8c5 user:Victor Stinner date:Fri Nov 15 17:09:24 2013 +0100 files: Python/pythonrun.c description: pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_L

[issue20597] PATH_MAX already defined on some Windows compilers

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > Let's be a little smarter. PATH_MAX isn't used anymore. Just remove the > #defines entirely. Oh I remember that I replaced PATH_MAX with MAXPATHLEN or maybe something else when I tried to fix Python compilation issue on our IRIX buildbot :-) remove_path_m

[issue20601] tracing and tests that raise an exception in a SIGALRM handler

2014-02-11 Thread Xavier de Gaye
New submission from Xavier de Gaye: After an alarm handler raises an exception while a tracing function is being invoked and when this exception is not caught by the tracing function, the call_trampoline() function in sysmodule.c returns NULL and its caller, trace_trampoline(), removes the tra

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2014-02-11 Thread R. David Murray
R. David Murray added the comment: I'm reopening this as a 3.5 issue to do the actual removal. -- status: closed -> open versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker

[issue20526] python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed.

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: At the first CTRL+c, the main thread exit and enters Py_Finalize() which calls wait_for_thread_shutdown() (in Python: threading._shutdown()). The problem is that the second call interrupted threading._shutdown() (still in the main thread). > #9 0x004

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2014-02-11 Thread R. David Murray
R. David Murray added the comment: Well, a deprecation warning in the code would be nice in case anybody did use it. Personally I don't see any problem with putting that in 3.4.1 if we don't get to it for 3.4.0. -- ___ Python tracker

[issue20596] Support for alternate wcstok syntax for Windows compilers

2014-02-11 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: I've replaced the patch with a newer version that defines Py_WCSTOK in Include/pyport.h as Victor suggested. -- Added file: http://bugs.python.org/file34045/wcstok.default.patch ___ Python tracker

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2014-02-11 Thread Gregory P. Smith
Gregory P. Smith added the comment: documented with a deprecation. that's the best we can do for now. it can be considered for removal in the 3.5 or 3.6 timeframe. i doubt many people used it. -- nosy: +gregory.p.smith resolution: -> fixed status: open -> closed __

[issue20572] subprocess.Popen.wait() undocumented "endtime" parameter

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73793590d97b by Gregory P. Smith in branch 'default': Deprecate Popen.wait()'s undocumented endtime parameter. issue20572. http://hg.python.org/cpython/rev/73793590d97b -- nosy: +python-dev ___ Python tra

[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread Guido van Rossum
Guido van Rossum added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20600] test_create_server_ssl_verify_failed() failure on "PPC64 AIX 3.x" buildbot

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Platform: AIX-1-00F84C0C4C00-powerpc-32bit big-endian [ 49/389/3] test_ssl test_ssl: testing with 'OpenSSL 1.0.1e 11 Feb 2013' (1, 0, 1, 5, 15) under 'AIX-1-00F84C0C4C00-powerpc-32bit' HAS_SNI = True OP_ALL = 0x-7c01 O

[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: > I wonder if we just need to make a matrix of which OS versions and which > syscalls can handle PTYs correctly, and either put it in the docs or perhaps > even refuse to accept PTYs in add_reader/add_writer... Right now, I think that we don't have enough data

[issue20505] Remove resolution from selectors and granularity from asyncio

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks again Guido and Charles-François for your help on this tricky issue. Sorry for having flood your mail box :-) -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue20505] Remove resolution from selectors and granularity from asyncio

2014-02-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 360976a6d8b9 by Victor Stinner in branch 'default': Issue #20505: Remove debug code http://hg.python.org/cpython/rev/360976a6d8b9 -- ___ Python tracker ___

[issue20599] test_cleanup() of test_builtin failed

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: It's probably linked to recent changes from issue #19255. -- nosy: +pitrou ___ Python tracker ___ __

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-02-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, there should be a test. Is there a Python mirror that a test can reliably expect to continue to exist? Both patches have an unusual email section at the top that is not needed for this tracker, and which I have not seen here before. Is this something idi

[issue19255] Don't "wipe" builtins at shutdown

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: test_cleanup() of test_builtin fails: I opened issue #20599 to track this bug. -- ___ Python tracker ___ ___

[issue20597] PATH_MAX already defined on some Windows compilers

2014-02-11 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: Here's an additional patch removing PATH_MAX from Modules/main.c and Python/pythonrun.c. This solution works fine for me. -- Added file: http://bugs.python.org/file34044/remove_path_max.default.patch ___ Python t

  1   2   >