[issue22926] asyncio: raise an exception when called from the wrong thread

2014-12-25 Thread Guido van Rossum
Guido van Rossum added the comment: SGTM. Merry Xmas! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19539] The 'raw_unicode_escape' codec buggy + not appropriate for Python 3.x

2014-12-25 Thread Jan Kaliszewski
Jan Kaliszewski added the comment: My concerns are now being addressed in the issue19548. -- ___ Python tracker ___ ___ Python-bugs-li

[issue19539] The 'raw_unicode_escape' codec buggy + not appropriate for Python 3.x

2014-12-25 Thread Jan Kaliszewski
Changes by Jan Kaliszewski : -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20069] Add unit test for os.chown

2014-12-25 Thread R. David Murray
R. David Murray added the comment: Thanks, Vajrasky. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue20069] Add unit test for os.chown

2014-12-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32c5b9aeee82 by R David Murray in branch 'default': #20069: Add tests for os.chown. https://hg.python.org/cpython/rev/32c5b9aeee82 -- nosy: +python-dev ___ Python tracker

[issue23104] [Windows x86-64] Incorrect function call

2014-12-25 Thread STINNER Victor
STINNER Victor added the comment: > testfun(objid(), c_wchar_p('test')) I'm not sure that the objid object lives until testfun() is called. It would be safer to write: o = objid() testfun(o, c_wchar_p('test'))) o = None -- nosy: +haypo ___ Python t

[issue23104] [Windows x86-64] ctypes: Incorrect function call

2014-12-25 Thread STINNER Victor
Changes by STINNER Victor : -- title: [Windows x86-64] Incorrect function call -> [Windows x86-64] ctypes: Incorrect function call ___ Python tracker ___ ___

[issue22926] asyncio: raise an exception when called from the wrong thread

2014-12-25 Thread STINNER Victor
STINNER Victor added the comment: I'm going to commit check_thread-3.patch if nobody complains: in debug mode, call_soon(), call_at() and call_later() now check threading.get_ident() to ensure that they are called from the thread running the event loop. -- Added file: http://bugs.pytho

[issue23107] Tighten-up search loops in sets

2014-12-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23113] Compiler doesn't recognize qualified exec('', {})

2014-12-25 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: -> resolved superseder: -> "exec(a, b, c)" not the same as "exec a in b, c" in nested functions ___ Python tracker ___

[issue23113] Compiler doesn't recognize qualified exec('', {})

2014-12-25 Thread John Firestone
John Firestone added the comment: Sorry. Duplicates 21591 -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23113] Compiler doesn't recognize qualified exec('', {})

2014-12-25 Thread John Firestone
New submission from John Firestone: Python 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> def outer(): ... def inner(arg): ... len(arg) ... exec(''

[issue23112] SimpleHTTPServer/http.server adds trailing slash after query string

2014-12-25 Thread Josep Portella Florit
New submission from Josep Portella Florit: To reproduce: 1) Create directory "foo" in the current directory. 2) Run "python -m SimpleHTTPServer" or "python3 -m http.server". 3A) Point web browser to "http://127.0.0.1:8000/foo/?";. The request is redirected to "http://127.0.0.1:8000/foo/?/";.

[issue20069] Add unit test for os.chown

2014-12-25 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the latest patch which executes unittest.main inside __main__ based on R. David Murray's review. Thanks! -- Added file: http://bugs.python.org/file37540/add_unit_test_os_chown_v7.patch ___ Python tracker