[issue29847] Path takes and ignores **kwargs

2017-03-19 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___

[issue29855] The traceback compounding of RecursionError fails to work with __get__

2017-03-19 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +ebarry, ncoghlan ___ Python tracker ___ ___

[issue29856] curses online documentation typo

2017-03-19 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Typo fixed and backported into 2.7, 3.5 and 3.6. Thanks :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29855] The traceback compounding of RecursionError fails to work with __get__

2017-03-19 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: I'm pretty sure this is by design; the change introduced in [1] tried to keep things simple by only trimming the output when the lines were identical. More complicated scenarios are trickier to implement. It should be interesting to see if the

[issue29856] curses online documentation typo

2017-03-19 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +646 ___ Python tracker ___ ___

[issue29856] curses online documentation typo

2017-03-19 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +647 ___ Python tracker ___ ___

[issue29856] curses online documentation typo

2017-03-19 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +645 ___ Python tracker ___ ___

[issue29856] curses online documentation typo

2017-03-19 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Nice catch, that's a typo indeed. If you'd like, submit a PR [see https://docs.python.org/devguide/#quick-start] to address this. -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker

[issue29856] curses online documentation typo

2017-03-19 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks for the report, Raphael. And thanks Jim, I made a PR just as you commented :) -- assignee: docs@python -> Mariatta nosy: +Mariatta stage: -> patch review versions: +Python 2.7, Python 3.5, Python 3.6 ___

[issue29856] curses online documentation typo

2017-03-19 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +644 ___ Python tracker ___ ___

[issue29856] curses online documentation typo

2017-03-19 Thread Raphael McSinyx
New submission from Raphael McSinyx: I think there is a typo in curses online documentation about key constants: https://docs.python.org/3.7/library/curses.html#constants The key KEY_SEXIT is described as `Shifted Dxit' while I think that should be `Shifted Exit'. -- assignee:

[issue29855] The traceback compounding of RecursionError fails to work with __get__

2017-03-19 Thread assume_away
New submission from assume_away: class Property: def __init__(self, getter): self.getter = getter def __get__(self, instance, cls): return self.getter(cls if instance is None else instance) class MyClass: @Property def something(cls): return

[issue29116] Make str and bytes error messages on concatenation conform with other sequences

2017-03-19 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Something is strange: PRs 709, 723, 724 are shown as open in the "Pull Requests" section on this page. However, all four PRs are already merged. Are other see the same? Shouldn't status be automatically updated? --

[issue29854] Segfault when readline history is more then 2 * history size

2017-03-19 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +643 ___ Python tracker ___

[issue29854] Segfault when readline history is more then 2 * history size

2017-03-19 Thread Nir Soffer
New submission from Nir Soffer: GNU readline let the user select limit the history size by setting: $ cat ~/.inputrc set history-size 1000 So I cooked this test script: $ cat history.py from __future__ import print_function import readline readline.read_history_file(".history")

[issue25455] Some repr implementations don't check for self-referential structures

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +642 ___ Python tracker ___ ___

[issue29846] ImportError: Symbol not found: __PyCodecInfo_GetIncrementalDecoder when building 2.7.x on macOS

2017-03-19 Thread Adam Stewart
Adam Stewart added the comment: I also tried building with a Homebrew-installed GCC 6.2.0 but that had the same result. -- ___ Python tracker ___

[issue29846] ImportError: Symbol not found: __PyCodecInfo_GetIncrementalDecoder when building 2.7.x on macOS

2017-03-19 Thread Adam Stewart
Adam Stewart added the comment: Made a mistake. Please see the new output of DYLD_PRINT_LIBRARIES. This time I actually ran a Python command to see which libraries were loaded. -- Added file: http://bugs.python.org/file46745/dyld_print_libraries.txt

[issue29846] ImportError: Symbol not found: __PyCodecInfo_GetIncrementalDecoder when building 2.7.x on macOS

2017-03-19 Thread Adam Stewart
Adam Stewart added the comment: The output of DYLD_PRINT_LIBRARIES is attached as well. -- Added file: http://bugs.python.org/file46744/dyld_print_libraries.txt ___ Python tracker

[issue29846] ImportError: Symbol not found: __PyCodecInfo_GetIncrementalDecoder when building 2.7.x on macOS

2017-03-19 Thread Adam Stewart
Adam Stewart added the comment: I agree, the `--enable-shared` fix is nice, but I would also love to squash this bug. An interesting piece of information: When I provide the full path to the executable (not just relying on the hashed python location), I see: $

[issue29845] Mark tests that use _testcapi as CPython-only

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29846] ImportError: Symbol not found: __PyCodecInfo_GetIncrementalDecoder when building 2.7.x on macOS

2017-03-19 Thread Ned Deily
Ned Deily added the comment: Glad the --enable-shared workaround worked around. If you feel like exploring the issue further, a couple of things that might be useful would be to set one or more of dyld's debugging environment variables, like DYLD_PRINT_LIBRARIES, to try to see exactly which

[issue29844] Windows Python installers not installing DLL to System32/SysWOW64

2017-03-19 Thread Decorater
Decorater added the comment: tbh, I would rather have it default for all python files installed for all users to go in ``%SystemDrive%\Python{major}{minor}`` on windows and then work with then the environment variables like currently so that way none of the python dll's are outside of such

[issue29844] Windows Python installers not installing DLL to System32/SysWOW64

2017-03-19 Thread Steve Dower
Steve Dower added the comment: Maybe I need to look through the history to see whether I actually intended the all-users install to be in System, but I don't think I did (despite writing the documentation linked - it may have been adapted from the old documentation). Applications that need

[issue29845] Mark tests that use _testcapi as CPython-only

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +641 ___ Python tracker ___ ___

[issue29845] Mark tests that use _testcapi as CPython-only

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +640 ___ Python tracker ___ ___

[issue29116] Make str and bytes error messages on concatenation conform with other sequences

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +639 ___ Python tracker ___ ___

[issue29116] Make str and bytes error messages on concatenation conform with other sequences

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +638 ___ Python tracker ___ ___

[issue29748] Argument Clinic: slice index converter

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25455] Some repr implementations don't check for self-referential structures

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +637 ___ Python tracker ___ ___

[issue29850] file access, other drives

2017-03-19 Thread Gabriel POTTER
Gabriel POTTER added the comment: Thanks a lot, that resolved it. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker

[issue13349] Non-informative error message in index() and remove() functions

2017-03-19 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: @Sean Ochoa, do you want to make this into a PR? The only tweak I would suggest would be to change all error messages to either be: "object.method(repr(x)): element not in object" or: "repr(x) not in object" also, this probably needs to be

[issue29853] Improve exception messages for remove and index methods

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Non-informative error message in index() and remove() functions ___ Python tracker

[issue29853] Improve exception messages for remove and index methods

2017-03-19 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: I'd be happy to supply a PR for this if the change seems reasonable. -- ___ Python tracker ___

[issue29853] Improve exception messages for remove and index methods

2017-03-19 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard: Currently, there's a discrepancy in the exception reporting for the `.index` and `.remove` methods of many objects: For arrays: array.remove(val) -> ValueError: array.remove(x): x not in list array.index(val) -> ValueError: array.index(x):

[issue15988] Inconsistency in overflow error messages of integer argument

2017-03-19 Thread Oren Milman
Oren Milman added the comment: ISTM that what's left is (except for my 7 sub-patches): - making the error messages of long_rshift and long_lshift consistent (waits for #29816) - deciding whether to open an issue for changing the type of errors PyLong_AsSize_t raises --

[issue15988] Inconsistency in overflow error messages of integer argument

2017-03-19 Thread Oren Milman
Oren Milman added the comment: Here is a patch including only changes related to mmap, posix, socket and select. (I ran the test module, and on my Windows 10, the same tests failed with and without my patches. However, on my Ubuntu 16.04 VM, none of the tests failed.) -- Added file:

[issue29842] Make Executor.map work with infinite/large inputs correctly

2017-03-19 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- title: Executor.map should not submit all futures prior to yielding any results -> Make Executor.map work with infinite/large inputs correctly ___ Python tracker

[issue29850] file access, other drives

2017-03-19 Thread Paul Moore
Paul Moore added the comment: As you see from the banner, your Python 3.6 is 32-bit but your Python 2.7 is 64-bit. I'd suggest you try 64-bit Python 3.6. This definitely looks like the SysWOW64 issue Eryk described. -- ___ Python tracker

[issue15988] Inconsistency in overflow error messages of integer argument

2017-03-19 Thread Oren Milman
Oren Milman added the comment: Here is a patch including only changes related to curses, stat, callproc (ctypes) and sequence_repeat (abstract). (I ran the test module, and on my Windows 10, the same tests failed with and without my patches. However, on my Ubuntu 16.04 VM, none of the tests

[issue29850] file access, other drives

2017-03-19 Thread Gabriel POTTER
Gabriel POTTER added the comment: Thanks for your answers. I'll try to be as precise as possible. The problem i have is really specific: I have a custom file, that i added in C:/Windows/System32/ I have a Windows 10 x64 computer, with 2 versions of python installed: - Python 2.7, in

[issue14208] No way to recover original argv with python -m

2017-03-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue14208] No way to recover original argv with python -m

2017-03-19 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29852] Argument Clinic: add common converter to Py_ssize_t that accepts None

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +636 ___ Python tracker ___ ___

[issue29819] Avoid raising OverflowError in truncate() if possible

2017-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue29852 is not strict dependency, but it may make the solution of this issue simpler. -- dependencies: +Argument Clinic: add common converter to Py_ssize_t that accepts None ___ Python tracker

[issue29852] Argument Clinic: add common converter to Py_ssize_t that accepts None

2017-03-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Many methods in the io module accept int and None and convert the argument to Py_ssize_t. Proposed patch adds common Argument Clinic converter for that case. The Py_ssize_t converter now takes the accept argument that can be {int} (the default) or {int,

[issue15988] Inconsistency in overflow error messages of integer argument

2017-03-19 Thread Oren Milman
Oren Milman added the comment: Here is a patch including only changes related to time and re. (I ran the test module, and on my Windows 10, the same tests failed with and without my patches. However, on my Ubuntu 16.04 VM, none of the tests failed.) -- Added file:

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: Right, there's a longstanding RFE to allow builtin packages and submodules: https://bugs.python.org/issue1644818 At the moment, modules like pyexpat are more like the os module than they are packages: they eagerly set other modules as attributes at import time

[issue29736] Optimize builtin types constructor

2017-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And include bytearray. -- ___ Python tracker ___ ___ Python-bugs-list

[issue15988] Inconsistency in overflow error messages of integer argument

2017-03-19 Thread Oren Milman
Oren Milman added the comment: Here is a patch including only changes related to hashlib, lzma and pickle. (I ran the test module, and on my Windows 10, the same tests failed with and without my patches. However, on my Ubuntu 16.04 VM, none of the tests failed.) -- Added file:

[issue15988] Inconsistency in overflow error messages of integer argument

2017-03-19 Thread Oren Milman
Oren Milman added the comment: Here is a patch including only changes related to array. (I ran the test module, and on my Windows 10, the same tests failed with and without my patches. However, on my Ubuntu 16.04 VM, none of the tests failed.) -- Added file:

[issue29736] Optimize builtin types constructor

2017-03-19 Thread STINNER Victor
STINNER Victor added the comment: Ok, will do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29793] Convert some builtin types constructors to Argument Clinic

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29736] Optimize builtin types constructor

2017-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Victor, could you please rebase your PR? And maybe rerun benchmarks? -- ___ Python tracker ___

[issue29776] Modernize properties

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28749] Fixed the documentation of the mapping codec APIs

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +635 ___ Python tracker ___ ___

[issue28749] Fixed the documentation of the mapping codec APIs

2017-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +634 ___ Python tracker ___ ___

[issue20087] Mismatch between glibc and X11 locale.alias

2017-03-19 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- pull_requests: +633 ___ Python tracker ___ ___