[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: You cannot safely use Python's os.fork() in a process that has threads. Because of POSIX. The CPython interpreter is by definition not async signal safe so no Python code may safely be executed after the fork() system call if the process contained _any_

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-05-22 Thread Yury Selivanov
Yury Selivanov added the comment: > Since the limit is arbitrary anyway, sys.getrecursionlimit() seems like a > reasonable choice. The recursion limit can be changed for whatever purposes and I'm not sure that it's a good idea that it will affect unwrap behaviour in such cases. I'd suggest

[issue30433] Devguide lacks instructions for building docs

2017-05-22 Thread Caleb Hattingh
Changes by Caleb Hattingh : -- pull_requests: -1812 ___ Python tracker ___ ___

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-05-22 Thread Thomas Kluyver
Thomas Kluyver added the comment: I could go either way on that. It's not hard to imagine it as a recursive algorithm, and using the recursion limit provides a simple configuration escape hatch if someone has a desperate need for something wrapped 3000 times for some strange reason. But it

[issue19764] subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST with STARTUPINFOEX on Windows Vista

2017-05-22 Thread Segev Finer
Segev Finer added the comment: GitHub PR bit rotting away... :P Just a friendly reminder :) -- ___ Python tracker ___

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1811 ___ Python tracker ___ ___

[issue30433] Devguide lacks instructions for building docs

2017-05-22 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hello, Are you sure about the PR ? -- nosy: +matrixise ___ Python tracker ___

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2017-05-22 Thread Davin Potts
Davin Potts added the comment: To better accommodate very slow buildbots, a parameter is added in PR-1722 to scale up the timeout durations where they are necessary on a per-machine basis. Relevant tests have a timeout set to some default number of seconds times a multiplier value. The

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-05-22 Thread Davin Potts
Davin Potts added the comment: Patch on issue30317 also addresses this issue in a more flexible way. -- dependencies: +test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot nosy: +davin ___

[issue11410] Use GCC visibility attrs in PyAPI_*

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue20210] Provide configure options to enable/disable Python modules and extensions

2017-05-22 Thread Thomas Wouters
Thomas Wouters added the comment: This feature would also be nice to have for Python at Google: we want builds to be as reproducible as possible, avoid third-party libraries even when they are available on the build system, and avoid certain extension modules in any form. We currently delete

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushal.das ___ Python tracker ___ ___ Python-bugs-list

[issue30433] Devguide lacks instructions for building docs

2017-05-22 Thread Caleb Hattingh
Caleb Hattingh added the comment: Oops, sorry! The PR was wrong because it auto-assumes the main cpython repo, but my PR is in the devguide repo. This is the URL for the PR: https://github.com/python/devguide/pull/206 -- ___ Python tracker

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- resolution: -> out of date ___ Python tracker ___ ___

[issue11470] Flag inappropriate uses of callable class attributes

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue17942] IDLE Debugger: Improve GUI

2017-05-22 Thread Mark Roseman
Mark Roseman added the comment: Please go ahead with any of the patches I submitted earlier, credit is absolutely not an issue. -- ___ Python tracker

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 43c8a9e39bb2d4f25ed7ae17a55f34e375d1868b by Mariatta (Naomi Ceder) in branch 'master': bpo-30372: Clarify that '__builtins__' is a CPython Implementation detail (GH-1725)

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Dariusz Smigiel
Dariusz Smigiel added the comment: Rudi, Andrew I missed your replaces. This, indeed, looks like osascript bug. I don't think it's backward incompatible change, especially between 10.12.4 and 10.12.5 which would completely broke default behavior. --

[issue30434] multiprocessing AuthenticationError "digest sent was rejected"

2017-05-22 Thread Alex Perry
Alex Perry added the comment: The docstring for the class points out that the `multiprocessing.Manager()` function creates started instances of the SyncManager class. You should probably follow that advice, it calls start() for you. -- nosy: +arp11

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: PR merged, and I backport it to 3.6 Thanks everyone :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-22 Thread R. David Murray
R. David Murray added the comment: It would be a white-box test, which I don't like, but it might be worth it to write a test that would check that .sock is None, indicating that close was called. You really can't check for no warning because when the warning gets generated is effectively

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Ned Deily
Ned Deily added the comment: We should check whether the osascript regression is fixed in the most recent 10.12.6 Developer Preview and, if not, open a RADAR (Apple bug report). -- ___ Python tracker

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0c4aca54dcf0c54f299c78aa71fe8f48ff04f9d9 by Łukasz Langa in branch 'master': Make rb'' strings work in lib2to3 (#1724) https://github.com/python/cpython/commit/0c4aca54dcf0c54f299c78aa71fe8f48ff04f9d9 --

[issue30405] build.bat: register binaries for py launcher

2017-05-22 Thread Eryk Sun
Eryk Sun added the comment: Supporting PEP 514 tags is an interesting idea, but maybe you could go into more detail about what you have in mind. Are you thinking of using the SysVersion, SysArchitecture, and [Windowed]ExecutablePath fields where available instead of parsing version tags and

[issue30432] FileInput doesn't accept PathLike objects for file names

2017-05-22 Thread Roy Williams
New submission from Roy Williams: ``` from fileinput import FileInput from pathlib import Path p = Path('.') FileInput(p) ``` Results in: Traceback (most recent call last): File "", line 1, in File

[issue30433] Devguide lacks instructions for building docs

2017-05-22 Thread Caleb Hattingh
New submission from Caleb Hattingh: The official devguide at https://github.com/python/devguide does not include instructions on exactly how to build the docs! If, after cloning, you simply type `make`, you get some helpful output: $ make Please use `make ' where is one of html to

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Kushal Das
Kushal Das added the comment: I am picking this up. -- assignee: -> kushal.das ___ Python tracker ___ ___

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1818 ___ Python tracker ___ ___

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1819 ___ Python tracker ___ ___

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1817 ___ Python tracker ___ ___

[issue30274] Make importlib.abc.ExtensionFileLoader.__init__() documentation match code

2017-05-22 Thread Sayan Chowdhury
Sayan Chowdhury added the comment: I am starting to work on this issue. -- nosy: +sayanchowdhury ___ Python tracker ___

[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs

2017-05-22 Thread Jamiel Almeida
Jamiel Almeida added the comment: I'm picking this up. -- nosy: +slashfoo versions: +Python 3.7 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue24658] open().write() fails on 2 GB+ data (OS X)

2017-05-22 Thread STINNER Victor
STINNER Victor added the comment: I don't say that something is broken. Just that it would be nice if someone could test socket methods. On Windows, the bug was obvious: the function takes a C int... -- ___ Python tracker

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Alan Pierce
Changes by Alan Pierce : -- nosy: +alangpierce ___ Python tracker ___ ___

[issue30416] constant folding opens compiler to quadratic time hashing

2017-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch makes const folding more safe by checking arguments before doing expensive calculation that can create large object (multiplication, power and left shift). It fixes examples in this issue, issue21074, issue30293. The limit for repetition is

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: needs patch -> patch review versions: +Python 3.7 ___ Python tracker ___

[issue21074] Too aggressive constant folding

2017-05-22 Thread Andrew Dalke
Andrew Dalke added the comment: I do not think quoting the Zen of Python helps anything. As I wrote, "it gives different answers depending on where one draws the line." This includes "practicality beats purity". >From my viewpoint, the peephole optimizer isn't going to change because the

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 3d3b189f8ef321ccfb144a46d50892939d6004aa by Mariatta in branch '3.6': [3.6] bpo-30372: Clarify that '__builtins__' is a CPython Implementation detail (GH-1725) (GH-1727)

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-22 Thread Dariusz Smigiel
Dariusz Smigiel added the comment: The same applies for latest build: Python 3.7.0a0 (heads/master:128641d17e, May 22 2017, 09:40:08) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin I can try to work on that. -- nosy: +dasm versions: +Python 3.7

[issue30434] multiprocessing AuthenticationError "digest sent was rejected"

2017-05-22 Thread Soon Jeffrey
New submission from Soon Jeffrey: This is codes I run: class TopicManager(SyncManager): pass Server side: m = TopicManager(address=('', 5), authkey='12345') s = m.get_server() s.serve_forever() client side: m = TopicManager(address=('eng-g9-018', 5), authkey='12345') m.connect()

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Eryk Sun
Eryk Sun added the comment: PyOS_Readline uses a null-terminated prompt string. So input() needs to raise a ValueError if the prompt contains null characters, e.g. if PyBytes_GET_SIZE(po) != strlen(promptstr). -- nosy: +eryksun ___ Python tracker

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Naomi Ceder
Changes by Naomi Ceder : -- pull_requests: +1813 ___ Python tracker ___ ___

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2017-05-22 Thread Alex Perry
Changes by Alex Perry : -- pull_requests: +1814 ___ Python tracker ___ ___

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Naomi Ceder
Naomi Ceder added the comment: Created a PR on this... it seems that making the Implementation Detail warning come first and deleting the limited execution sentence achieves what's needed here. -- nosy: +NaomiCeder ___ Python tracker

[issue30432] FileInput doesn't accept PathLike objects for file names

2017-05-22 Thread Alex Perry
Alex Perry added the comment: You seem to be skipping a step, this is nothing to do with FileInput: >>> [n for n in Path('.')] Traceback (most recent call last): File "", line 1, in TypeError: 'PosixPath' object is not iterable >>> [n for n in Path('.').iterdir()] [PosixPath('build'),

[issue30401] Remove the .bzrignore file

2017-05-22 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks Stéphane! -- nosy: +Mariatta resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-22 Thread Jason Fried
Changes by Jason Fried : -- pull_requests: +1825 ___ Python tracker ___ ___

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1b9530c536664276ce866ae602ce04adce0810e1 by Łukasz Langa in branch 'master': bpo-23894: make lib2to3 recognize f-strings (#1733) https://github.com/python/cpython/commit/1b9530c536664276ce866ae602ce04adce0810e1 --

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f82c951d1c5416f3550d544e50ff5662d3836e73 by Łukasz Langa (Jason Fried) in branch 'master': bpo-30395 _PyGILState_Reinit deadlock fix (#1734) https://github.com/python/cpython/commit/f82c951d1c5416f3550d544e50ff5662d3836e73 -- nosy:

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2017-05-22 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue30376] Curses documentation refers to incorrect type

2017-05-22 Thread Kushal Das
Kushal Das added the comment: New changeset 93fc20b73eea3da0b6305aaee951e5dd22d5c408 by Kushal Das (Berker Peksag) in branch 'master': bpo-30376: Update outdated WindowObject references (#1630) https://github.com/python/cpython/commit/93fc20b73eea3da0b6305aaee951e5dd22d5c408 -- nosy:

[issue21074] Too aggressive constant folding

2017-05-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: -rhettinger ___ Python tracker ___ ___

[issue30426] why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underline).

2017-05-22 Thread zaazbb
zaazbb added the comment: how about add a unitive style function name, for a compatibility reason, keep the old function exists also. for example, add int.tobytes(), and keep int.to_bytes() exists. -- ___ Python tracker

[issue30426] why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underline).

2017-05-22 Thread Eric V. Smith
Eric V. Smith added the comment: We won't do that, because then we'd have two functions that do the same thing. There's no sense having to learn two functions, just to achieve consistency. Sorry. -- ___ Python tracker

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-05-22 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset f9169ce6b48c7cc7cc62d9eb5e4ee1ac7066d14b by Nick Coghlan (Thomas Kluyver) in branch 'master': bpo-25532: Protect against infinite loops in inspect.unwrap() (#1717) https://github.com/python/cpython/commit/f9169ce6b48c7cc7cc62d9eb5e4ee1ac7066d14b

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-05-22 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: needs patch -> backport needed versions: +Python 3.7 ___ Python tracker ___

[issue30437] SSL_shutdown can return meaningless SSL_ERROR_SYSCALL

2017-05-22 Thread Nathaniel Smith
New submission from Nathaniel Smith: The SSL_shutdown man page says that if it returns 0, and an SSL_ERROR_SYSCALL is set, then SSL_ERROR_SYSCALL should be ignored - or at least I think that's what it's trying to say. See the RETURN VALUES section. I think this means we should only raise this

[issue30438] tarfile would fail to extract tarballs with files under R/O directories

2017-05-22 Thread Yaroslav Halchenko
New submission from Yaroslav Halchenko: If tarfile contains a file under a directory which has no write permission, extractall would fail since chmod'ing of the directory is done right when it is "extracted". Please find attached a quick script to demonstrate the problem using Python code.

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2017-05-22 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: I agree that writexml should be available for document fragments. I doubt the additional level of indentation should be added, as you've included in point 2. -- nosy: +fdrake ___ Python tracker

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Eric Snow
Eric Snow added the comment: New changeset 6b4be195cd8868b76eb6fbe166acc39beee8ce36 by Eric Snow in branch 'master': bpo-22257: Small changes for PEP 432. (#1728) https://github.com/python/cpython/commit/6b4be195cd8868b76eb6fbe166acc39beee8ce36 --

[issue30405] build.bat: register binaries for py launcher

2017-05-22 Thread Eryk Sun
Eryk Sun added the comment: The existing code can be adapted to generalize support for version-number tags, i.e. X.Y[-32|-64]. locate_all_pythons() would need to search every company key to add executable installations that use version-number tags to the installed_pythons array. Whether a tag

[issue29102] Add an id field to PyInterpreterState.

2017-05-22 Thread Eric Snow
Eric Snow added the comment: New changeset e377416c10eb0bf055b0728cdcdc4488fdfd3b5f by Eric Snow in branch 'master': bpo-29102: Add a unique ID to PyInterpreterState. (#1639) https://github.com/python/cpython/commit/e377416c10eb0bf055b0728cdcdc4488fdfd3b5f --

[issue29102] Add an id field to PyInterpreterState.

2017-05-22 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue21056] csv documentation is incorrect

2017-05-22 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset d618c8c6d31b9b288f8a070417683974eb98e3ba by Mariatta (Amit Kumar) in branch 'master': bpo-21056: Document return type of next method of csv reader (#146) https://github.com/python/cpython/commit/d618c8c6d31b9b288f8a070417683974eb98e3ba

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1820 ___ Python tracker ___ ___

[issue30432] FileInput doesn't accept PathLike objects for file names

2017-05-22 Thread Roy Williams
Roy Williams added the comment: @arp11 sorry for the too-minimal repro :D - the issue is with FileInput attempting to cast `files` to a tuple. Instead, if passed a PathLike object FileInput should set `files` to a tuple just as it does with a str. --

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1824 ___ Python tracker ___ ___

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1827 ___ Python tracker ___ ___

[issue29941] Confusion between asserts and Py_DEBUG

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- pull_requests: +1829 ___ Python tracker ___ ___

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30427] isinstance checks in os.path.normcase redundant with os.fspath

2017-05-22 Thread Brett Cannon
Brett Cannon added the comment: The problem with leaving os.fspath() out of os.path.normcase() is that suddenly a single function that deals with paths won't work with path-like objects. So that means support for path-like objects won't implicitly work in code that assumes a path but doesn't

[issue30202] Update test.test_importlib.test_abc to test find_spec()

2017-05-22 Thread Sayan Chowdhury
Sayan Chowdhury added the comment: I am picking up this issue. -- nosy: +sayanchowdhury ___ Python tracker ___

[issue30003] Fix handling escape characters in HZ codec

2017-05-22 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 65440f8278351e16350be716dff61f5f786f7060 by Xiang Zhang in branch '3.5': bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1718) https://github.com/python/cpython/commit/65440f8278351e16350be716dff61f5f786f7060 --

[issue30003] Fix handling escape characters in HZ codec

2017-05-22 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 54af41d42eebbe4c6afe6b34ebb0fb550de1e7ba by Xiang Zhang in branch '3.6': bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1719) https://github.com/python/cpython/commit/54af41d42eebbe4c6afe6b34ebb0fb550de1e7ba --

[issue30003] Fix handling escape characters in HZ codec

2017-05-22 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2017-05-22 Thread Davin Potts
Changes by Davin Potts : -- pull_requests: +1810 ___ Python tracker ___ ___

[issue30003] Fix handling escape characters in HZ codec

2017-05-22 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 6e1b832a6c0c8f32962a196ab631ccc17471d32b by Xiang Zhang in branch '2.7': bpo-30003: Fix handling escape characters in HZ codec (#1720) (#1556) https://github.com/python/cpython/commit/6e1b832a6c0c8f32962a196ab631ccc17471d32b --

[issue23894] lib2to3 doesn't recognize rb'...' and f'...' in Python 3.6

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e8412e684ed741df246e8430f4911b31b0d8be1f by Łukasz Langa in branch '3.6': [3.6] bpo-23894: make lib2to3 recognize f-strings (GH-1733) (#1737) https://github.com/python/cpython/commit/e8412e684ed741df246e8430f4911b31b0d8be1f --

[issue30435] Documentation either unclear or incorrect on comparisons between bytes and strings in Python 3

2017-05-22 Thread Eryk Sun
Eryk Sun added the comment: How about "cannot be compared by value" or "cannot be ordered by value"? Emphasizing the value aspect doesn't conflict with the default equality comparison by identity. Note that starting Python with the -b option causes the bytes type to raise a warning in this

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why Lib/test/coding20731.py was changed? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue30432] FileInput doesn't accept PathLike objects for file names

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 002665a9da3a2924c4a08511ede62ff4d1dabc48 by Łukasz Langa (Roy Williams) in branch 'master': bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732)

[issue30439] Expose the subinterpreters C-API in the stdlib.

2017-05-22 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1839 ___ Python tracker ___ ___

[issue30439] Expose the subinterpreters C-API in the stdlib.

2017-05-22 Thread Eric Snow
New submission from Eric Snow: For a variety of reasons, I'd like to be able to manage subinterpreters from Python code. An initial effort would add a _interpreters module to the stdlib that exposes the basic functionality of the corresponding C-API. -- assignee: eric.snow

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d29feccec3ce3dcd9ab3100f8956171c70ec3027 by Łukasz Langa in branch '3.6': [3.6] bpo-30395 _PyGILState_Reinit deadlock fix (GH-1734) (#1740) https://github.com/python/cpython/commit/d29feccec3ce3dcd9ab3100f8956171c70ec3027 --

[issue21056] csv documentation is incorrect

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6ef0882303cff24c58785bb1082250088266886d by Łukasz Langa (Mariatta) in branch '3.6': [3.6] bpo-21056: Document return type of next method of csv reader (GH-146) (#1749)

[issue21056] csv documentation is incorrect

2017-05-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 32dcf426ad2ae10e24e92f60e99dbb4939fb2021 by Łukasz Langa (Mariatta) in branch '3.5': [3.5] bpo-21056: Document return type of next method of csv reader (GH-146) (#1750)

[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list

[issue21056] csv documentation is incorrect

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1838 ___ Python tracker ___ ___

[issue21056] csv documentation is incorrect

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1837 ___ Python tracker ___ ___

[issue21056] csv documentation is incorrect

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: needs patch -> backport needed versions: +Python 3.7 -Python 2.7 ___ Python tracker ___

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review type: -> enhancement versions: +Python 3.7 -Python 3.5 ___ Python tracker

[issue30432] FileInput doesn't accept PathLike objects for file names

2017-05-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs

2017-05-22 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1840 ___ Python tracker ___

[issue30426] why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underline).

2017-05-22 Thread jf
Changes by jf : -- title: why not use the same style func name. eg: int.to_bytes (with underline or not) and array.tobytes(). -> why not use the same style func name. eg: int.to_bytes (with underline) and array.tobytes(without underline).

[issue17942] IDLE Debugger: Improve GUI

2017-05-22 Thread Louie Lu
Louie Lu added the comment: Rebase markroseman patch to latest version, I own no credit on this patch. Just want to check the effect about the patch. -- Added file: http://bugs.python.org/file46884/0001-WIP.patch ___ Python tracker

[issue26949] IDLE restarts when one debugs code raising SystemExit

2017-05-22 Thread Louie Lu
Louie Lu added the comment: The problem is cause by run.py:main function, when it catch KeyboardInterrupt or SystemExit, it won't put a blank msg back to response_queue, that cause the loop in run.py:main triggering except queue.Empty to continue the loop. So, I think the KeyboardInterrupt

[issue30427] isinstance checks in os.path.normcase redundant with os.fspath

2017-05-22 Thread Wolfgang Maier
Wolfgang Maier added the comment: Just created a PR for this, which eliminates the redundancy. This also changes the error message (making it less specific), but not the type of a raised exception. If you think that the error message deserves to be preserved that could, of course, be done

[issue30413] Add fnmatch.filterfalse function

2017-05-22 Thread Wolfgang Maier
Wolfgang Maier added the comment: > Good catch! It seems to me that they are redundant. Please open a new issue > for this. done: issue 30427 -- ___ Python tracker

[issue26949] IDLE restarts when one debugs code raising SystemExit

2017-05-22 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1802 ___ Python tracker ___ ___ Python-bugs-list

  1   2   >