[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 ___

[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 ___

[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 Ł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)

[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

[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 --

[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 --

[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 ___

[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

[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

[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 --

[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

[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

[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.

[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

[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 ___

[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

[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

[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

[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 --

[issue21074] Too aggressive constant folding

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

[issue30293] Peephole binops folding can lead to memory and bytecache ballooning

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

[issue21074] Too aggressive constant folding

2017-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I do not think quoting the Zen of Python helps anything. Instead of practicality-beats-purity, the better aphorism is perfect-is-the-enemy-of-good. > The Code of Conduct which governs comments here requests > that we be considerate and respective The

[issue30380] Sphinx 1.6.1 raising new warnings in docs build

2017-05-22 Thread Brett Cannon
Brett Cannon added the comment: All branches are now pinned to and working under Sphinx 1.6.1, so I'm closing this as fixed! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue30436] importlib.find_spec raises AttributeError/ModuleNotFoundError when parent is not a package/module

2017-05-22 Thread tkhyn
New submission from tkhyn: Hello, I stumbled upon this issue when using the module_has_submodule function in Django, which raised an exception when trying to import a dotted path such as ``parent.module`` when ``parent`` does not exist or is not a package. I would expect (as well as the

[issue30376] Curses documentation refers to incorrect type

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1835 ___ Python tracker ___ ___

[issue30376] Curses documentation refers to incorrect type

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1836 ___ Python tracker ___ ___

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

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

[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 ___

[issue30380] Sphinx 1.6.1 raising new warnings in docs build

2017-05-22 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +1833 ___ Python tracker ___ ___

[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:

[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

[issue28340] [py2] TextIOWrapper.tell extremely slow

2017-05-22 Thread Rob Malouf
Changes by Rob Malouf : -- pull_requests: +1832 ___ Python tracker ___ ___

[issue27269] ipaddress: Wrong behavior with ::ffff:1.2.3.4 style IPs

2017-05-22 Thread Alex Perry
Changes by Alex Perry : -- pull_requests: +1831 ___ 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 ___

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

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

[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:

[issue29941] Confusion between asserts and Py_DEBUG

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

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1828 ___ Python tracker ___ ___

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

2017-05-22 Thread Steve Dower
Steve Dower added the comment: My thinking was basically to use an algorithm like this: if sys.argv[1].startswith('-'): company, _, tag = sys.argv[1][1:].rpartition('\') if company: # look for Tag under Company else: # look for tag under

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

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- versions: +Python 2.7, Python 3.5 -Python 3.3 ___ 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 ___ ___

[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 --

[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 1398b1bc7d80df5bde17041e7ec0a3bdbf54b19e by Łukasz Langa in branch '3.6': [3.6] Make rb'' strings work in lib2to3 (GH-1724) (#1730) https://github.com/python/cpython/commit/1398b1bc7d80df5bde17041e7ec0a3bdbf54b19e --

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

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- versions: -Python 3.4, Python 3.5 ___ Python tracker ___

[issue30424] make pydoc-topics fails

2017-05-22 Thread Naomi Ceder
Naomi Ceder added the comment: This issue is related to the version of sphinx. When I tested with sphinx 1.3.6 it worked fine, but with sphinx 1.6.2 I did get the error. -- nosy: +NaomiCeder ___ Python tracker

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

2017-05-22 Thread ipatrol
New submission from ipatrol: https://docs.python.org/3/reference/expressions.html#comparisons says that "Strings and binary sequences cannot be directly compared." That would seem to me to imply that an equality between them would raise an exception, as also claimed by

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

2017-05-22 Thread Sayan Chowdhury
Changes by Sayan Chowdhury : -- pull_requests: +1826 ___ 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
Changes by Łukasz Langa : -- pull_requests: +1824 ___ 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. --

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

2017-05-22 Thread Roy Williams
Changes by Roy Williams : -- pull_requests: +1822 ___ Python tracker ___ ___

[issue27269] ipaddress: Wrong behavior with ::ffff:1.2.3.4 style IPs

2017-05-22 Thread Alex Perry
Alex Perry added the comment: https://github.com/python/cpython/commit/5cc274262a99e5633177fc540261abbbecbbc51c ... seems to implement the principle in this bug, but I'm not convinced this is a good idea. -- nosy: +arp11 ___ Python tracker

[issue29941] Confusion between asserts and Py_DEBUG

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- pull_requests: +1821 ___ 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: +1820 ___ Python tracker ___ ___

[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

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1819 ___ 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 --

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-22 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1818 ___ 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 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

[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 ___

[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 ___

[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

[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

[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)

[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

[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. --

[issue30372] Status of __builtins__ is not totally clear

2017-05-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1817 ___ 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'),

[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 43c8a9e39bb2d4f25ed7ae17a55f34e375d1868b by Mariatta (Naomi Ceder) in branch 'master': bpo-30372: Clarify that '__builtins__' is a CPython Implementation detail (GH-1725)

[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 ___

[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 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

[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
Changes by Naomi Ceder : -- pull_requests: +1813 ___ Python tracker ___ ___

[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

[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()

[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

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

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

[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 ___ ___

[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

[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

[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 ___

[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 ___ ___

[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 ___

[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

[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

[issue30433] Devguide lacks instructions for building docs

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

  1   2   >