[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-24 Thread Steve Dower
Steve Dower added the comment: I've committed a change that adds a submenu for IDLE almost exactly like Liam's mockup. Thanks for pushing me on this, I probably wouldn't have worked this hard to get something as robust otherwise :) -- ___ Python tr

[issue23773] importlib does not properly remove frames when invoking external import hooks

2015-03-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: +brett.cannon stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19351] python msi installers - silent mode

2015-03-24 Thread Steve Dower
Steve Dower added the comment: I'm not exactly sure how msiexec does its parsing, but it's possible that ALLUSERS="1" may not actually be the same as ALLUSERS=1. I use the latter regularly with most versions of Python in existence and it works fine. There may also be problems upgrading from th

[issue23767] Library and include paths not added when cross compiling on localized sytem

2015-03-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko stage: -> patch review versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs

[issue21319] WindowsRegistryFinder never added to sys.meta_path

2015-03-24 Thread Steve Dower
Steve Dower added the comment: I've seen some module paths be registered there, but no, it doesn't really get used much (maybe because it's been broken?) os.name is certainly the right test here. FWIW, I'd rather be prioritising file system over registry for finding packages anyway. It makes

[issue23763] Chain exceptions in C

2015-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it would be safer to defer automatically chaining exceptions to 3.6. After releasing 3.5 we can got reports about exceptions ignored by mistake. After fixing all bugs not covered by the testsuite, we could try automatically chain exceptions. May be t

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-24 Thread Steve Dower
Steve Dower added the comment: Migrated the test failures to #23774 and closing this. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue23774] Test failures when unable to write to install location

2015-03-24 Thread Steve Dower
New submission from Steve Dower: The following tests fail when run in an all-users installation because they cannot write to the install directory: test_compileall test_tcl test_tools test_zipfile See the attached file for traces. >From Ned Deily: Regarding tests trying to write into the inst

[issue22904] make profile-opt includes -fprofile* flags in _sysconfigdata CFLAGS

2015-03-24 Thread Ned Deily
Ned Deily added the comment: Slavek, this issue and its superseder are both closed so comments here will likely not be acted on. -- nosy: +ned.deily stage: needs patch -> resolved ___ Python tracker __

[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments

2015-03-24 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue9445] Fix undefined symbol errors on VS8.0 build

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset d094eeeb1496 by Steve Dower in branch 'default': Closes #9445: Removes detection of GetFinalPathNameByHandle https://hg.python.org/cpython/rev/d094eeeb1496 -- nosy: +python-dev stage: patch review -> resolved status: open -> closed

[issue23314] Disabling CRT asserts in debug build

2015-03-24 Thread Steve Dower
Steve Dower added the comment: I haven't seen any of these in a while, and the buildbot at http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x (the only one running VS 2015 right now AFAIK) hasn't either, so I'm calling this fixed. -- resolution: -> fixed status: open -> cl

[issue23765] Remove IsBadStringPtr calls in ctypes

2015-03-24 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue23765] Remove IsBadStringPtr calls in ctypes

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 585e555247ac by Steve Dower in branch 'default': Issue #23765: Remove IsBadStringPtr calls in ctypes https://hg.python.org/cpython/rev/585e555247ac -- nosy: +python-dev ___ Python tracker

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Many thanks Victor for fixing crashes. Unfortunately I couldn't reproduce a crash on my computers, perhaps it is was 64-bit only. Yes, I'll look how the code can be optimized. -- ___ Python tracker

[issue23773] importlib does not properly remove frames when invoking external import hooks

2015-03-24 Thread Shiz
New submission from Shiz: When adding a custom module loader to sys.meta_path, importlib does not properly remove its frames before invoking it. This results in a weird traceback with importlib._bootstrap frames in if an error occurs during load_module(), like such: Traceback (most recent cal

[issue23772] pymonotonic() gone backward on "AMD64 Debian root 3.x" buildbot

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: > == Linux-3.2.0-4-amd64-x86_64-with-debian-7.7 little-endian Kernel: Linux-3.2.0-4 CPU: amd64-x86_64 (little-endian) OS: debian-7.7 Linux had a bug in version < 2.6.33 (also fixed in 2.6.32.19): "[PATCH] Fix clock_gettime vsyscall time warp" https://lkml.or

[issue23771] Timeouts on "x86 Ubuntu Shared 3.x" buildbot

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: test_multiprocessing_spawn.test_notify_all() also hangs on "AMD64 Debian root 3.x" buildbot: http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/1959/steps/test/logs/stdio --- [330/393] test_multiprocessing_spawn Timeout (1:00:00)! Thread

[issue23772] pymonotonic() gone backward on "AMD64 Debian root 3.x" buildbot

2015-03-24 Thread STINNER Victor
New submission from STINNER Victor: I would be interested to know the Linux version of this buildbot slave. Maybe the slave is running in a VM and it's a virtualization issue? If it's the case, should Python fix the bug? Or should we just remove the assertion? http://buildbot.python.org/all/bu

[issue23529] Limit decompressed data when reading from LZMAFile and BZ2File

2015-03-24 Thread Martin Panter
Martin Panter added the comment: Wolfgang: If the patch here is too massive, perhaps you might like to review my patch at Issue 23528 first. :) It only fixes the “gzip” module, but is definitely simpler, so might have more chance of making it into 3.4 or 3.5 on time. === Changes introduced b

[issue23771] Timeouts on "x86 Ubuntu Shared 3.x" buildbot

2015-03-24 Thread STINNER Victor
New submission from STINNER Victor: First timeout: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/11358 This build was only triggered by one changeset 0b99d7043a99: "Issue #23694: Enhance _Py_open(), it now raises exceptions". * _Py_open() now raises exceptions on

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: It looks like fastsearch_memchr_1char() manipulate pointers for memory alignment. It's not necessary when looking for ASCII or Latin1 characters or for bytes. I propose to add a new fastsearch_memchr_1byte() function which would be used by bytes and bytearray

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ac58de829ef by Victor Stinner in branch 'default': Issue #23573: Fix bytes.rfind() and bytearray.rfind() on Windows https://hg.python.org/cpython/rev/3ac58de829ef -- ___ Python tracker

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: The problem is that Windows has no memrchr() function, and so fastsearch_memchr_1char() only supports FAST_SEARCH on Windows. -- ___ Python tracker ___

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: > Looks as this patch makes buildbots crash. Yep. It took me some minutes to find that the crash was caused by this issue :-p http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5930/steps/test/logs/stdio ... [117/393/1] test_bigmem Ass

[issue23571] Raise SystemError if a function returns a result with an exception set

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 004e3870d9e6 by Victor Stinner in branch '3.4': Issue #23571: If io.TextIOWrapper constructor fails in _Py_DisplaySourceLine(), https://hg.python.org/cpython/rev/004e3870d9e6 -- ___ Python tracker

[issue23743] Python crashes upon exit if importing g++ compiled mod after importing gcc compiled mod

2015-03-24 Thread matham
matham added the comment: Well, we won't have to wait until interested solves it. After hours of debugging including compiling Python with VS2013 and looking at windows dump files, it seems that hard work pays off - sorry, I mean asking someone who knows the answer pays off :P. I asked on #mi

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I had issues with my local repository. Third try to upload pyerr_match_clear-2.patch for Rietveld. -- Added file: http://bugs.python.org/file38680/pyerr_match_clear-2.patch ___ Python tracker

[issue23571] Raise SystemError if a function returns a result with an exception set

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c2376825dd2 by Victor Stinner in branch '3.4': Issue #23571: Fix reentrant call to Py_FatalError() https://hg.python.org/cpython/rev/1c2376825dd2 New changeset e9ba95418af8 by Victor Stinner in branch 'default': (Merge 3.4) Issue #23571: Fix reentr

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file38678/pyerr_match_clear-2.patch ___ Python tracker ___ ___ Python-bugs-li

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: pyerr_chain.patch: The real patch to chain automatically exceptions when using PyErr_*() functions. pyerr_match_clear-2.patch hides the original exception when it is useless, too low level like OverflowError when casting to C types, etc. Examples without pyerr_

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread productivememberofsociety666
productivememberofsociety666 added the comment: I'm not sure if I understand issue 15731 correctly, but isn't that one just about docstrings and signatures? These are both purely "cosmetic" and don't have an effect on calling behaviour, do they? This issue wouldn't be a duplicate then. ---

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file38677/pyerr_match_clear-2.patch ___ Python tracker ___ ___ Python-bugs-li

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: Oh, I had a private local commit when I generated pyerr_match_clear-2.patch and so Rietveld failed to find the branch. I regenerated the patch. -- Added file: http://bugs.python.org/file38678/pyerr_match_clear-2.patch __

[issue23766] json.dumps: solidus ("/") should be escaped

2015-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue18290. Not only solidus is incompatible with JavaScript, and it id easy to escape problem characters after passing through JSON encoder using str.replace(). -- nosy: +serhiy.storchaka ___ Python tracker

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: New issue #23770: "Rework of exceptions are handled in the parser module (in validate_repeating_list())" to fix error handling in the parser module. -- ___ Python tracker

[issue23763] Chain exceptions in C

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: pyerr_match_clear-2.patch: Updated patch, more complete (I also removed the assertions, I only added to debug). > Since my patch makes assumption on which exception is expected, it can change > the behaviour of functions if I forgot a different exception which

[issue23770] Rework of exceptions are handled in the parser module (in validate_repeating_list())

2015-03-24 Thread STINNER Victor
New submission from STINNER Victor: Attached patch avoids calling validate_numnodes() with an exception set in the parser module. I found this issue while working on the issue #23763 "Chain exceptions in C". -- files: validate_repeating_list.patch keywords: patch messages: 239199 nosy:

[issue23761] test_socket fails on Mac OSX 10.9.5

2015-03-24 Thread R. David Murray
R. David Murray added the comment: There are always going to be tests that are skipped (ones that don't run on your platform). Most of test_socket should run even if all you have is localhost networking. The 'network' resource is designed to control access to *external* networking resources,

[issue23622] Deprecate unrecognized backslash+letter escapes in re

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7384db2fce8a by Serhiy Storchaka in branch 'default': Fixed using deprecated escaping in regular expression in _strptime.py (issue23622). https://hg.python.org/cpython/rev/7384db2fce8a -- ___ Python trac

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: When calling gc.collect() after each test, I don't see any leak anymore. doTest() has a small leak: it prepends a path to sys.path, but it never removes it. Try attached leak2.py: it displays something like +254 kB. Uncomment the two following lines and the o

[issue23529] Limit decompressed data when reading from LZMAFile and BZ2File

2015-03-24 Thread Nikolaus Rath
Nikolaus Rath added the comment: As discussed in Rietveld, here's an attempt to reuse more DecompressReader for GzipFile. There is still an unexplained test failure (test_read_truncated). -- Added file: http://bugs.python.org/file38674/LZMAFile-etc.v7.patch

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread Robert Kuska
Robert Kuska added the comment: Summary for valgrind python3 test_zipimport.py ==18608== ==18608== HEAP SUMMARY: ==18608== in use at exit: 1,596,390 bytes in 11,536 blocks ==18608== total heap usage: 343,849 allocs, 332,313 frees, 59,355,776 bytes allocated ==18608== ==18608== LEAK SUMM

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread Robert Kuska
Changes by Robert Kuska : Added file: http://bugs.python.org/file38673/report ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread Robert Kuska
New submission from Robert Kuska: Leaks happen only when both testDoctestFile and testDoctestSuite are run. Run with Python 3.4.2 and 3.4.1 with same result. I have extracted those two tests into `leak.py` (attached). > $ valgrind --suppressions=/../cpython/Misc/valgrind-python.supp python3 >

[issue23171] csv.writer.writerow() does not accept generator (must be coerced to list)

2015-03-24 Thread Martin Panter
Martin Panter added the comment: Left a question about handling of the unquoted empty field exception on Rietveld. -- ___ Python tracker ___

[issue23466] PEP 461: Inconsistency between str and bytes formatting of integers

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me, except of a question added on the review. -- nosy: +haypo ___ Python tracker ___ ___

[issue23766] json.dumps: solidus ("/") should be escaped

2015-03-24 Thread R. David Murray
R. David Murray added the comment: It sounds like that makes this not-a-bug? -- nosy: +r.david.murray ___ Python tracker ___ ___ Pytho

[issue23766] json.dumps: solidus ("/") should be escaped

2015-03-24 Thread Martin Panter
Martin Panter added the comment: According to that RFC section, the forward solidus is allowed to be in an escape sequence, but it is also allowed unescaped: “All Unicode characters may be placed within the quotation marks, except for the characters that must be escaped: quotation mark, revers

[issue23761] test_socket fails on Mac OSX 10.9.5

2015-03-24 Thread Carol Willing
Carol Willing added the comment: Thanks Ned and R. David. A few questions... 1. I've rerun the tests using: One failure: 70 tests OK. 1 test failed: test_socket 1 test altered the execution environment: test_warnings 21 tests skipped: test_curses test_dbm_gnu test_devpoll test_epol

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks as this patch makes buildbots crash. -- status: closed -> open ___ Python tracker ___ ___ Py

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2015-03-24 Thread Mark Lawrence
Mark Lawrence added the comment: This https://mail.python.org/pipermail/python-dev/2014-December/137631.html seems relevant. Follow up here https://mail.python.org/pipermail/python-dev/2015-March/138731.html -- nosy: +BreamoreBoy ___ Python tracker

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-24 Thread Hammerite
Hammerite added the comment: I tried to add these responses within the code review section of the site, but I am unable to do so; when I click "Send Message", I am taken to a page that consists of the text "500 Server Error" and no other content. Therefore I am responding to the code review co

[issue23648] PEP 475 meta issue

2015-03-24 Thread STINNER Victor
STINNER Victor added the comment: Charles-François Natali added the comment: > You have to mount the share with the eintr option. Oh, I didn't know this option. Unlikely, it looks like the option was deprecated something like 7 years ago, in Linux kernel 2.6.25. Related commits: https://git.ker

[issue23671] string.Template doesn't work with the self keyword argument

2015-03-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a nice catch of a subtle bug and a nice fix. I verified that replacing 'self' with '*args' does not simply shift the problem from 'self' to 'args'. >>> class C: def test(*args, **kwargs): print(args, kwargs ) >>> c = C(

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

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

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4694c672c36 by Serhiy Storchaka in branch '3.4': Issue #21802: The reader in BufferedRWPair now is closed even when closing https://hg.python.org/cpython/rev/d4694c672c36 New changeset f515c7ccff57 by Serhiy Storchaka in branch 'default': Issue #21

[issue23622] Deprecate unrecognized backslash+letter escapes in re

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

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23622] Deprecate unrecognized backslash+letter escapes in re

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 014031a4d398 by Serhiy Storchaka in branch 'default': Issue #23622: Unknown escapes in regular expressions that consist of ``'\'`` https://hg.python.org/cpython/rev/014031a4d398 -- nosy: +python-dev ___ P

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2015-03-24 Thread mattip
mattip added the comment: This is the workflow for developing a patch for python https://docs.python.org/devguide This is the workflow for adding a patch to an issue https://docs.python.org/devguide/patch.html If there is an issue with python, please demonstrate it in a way that we can follow,

[issue23637] Warnings error with non-ascii chars.

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4727] copyreg doesn't support keyword only arguments in __new__

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83cbf61a972b by Serhiy Storchaka in branch 'default': Issue #4727: Fixed issue number in Misc/NEWS. https://hg.python.org/cpython/rev/83cbf61a972b -- nosy: +python-dev ___ Python tracker

[issue4727] copyreg doesn't support keyword only arguments in __new__

2015-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch actually was committed in changeset 34930a6faf0d. -- ___ Python tracker ___ ___ Python-bu

[issue23671] string.Template doesn't work with the self keyword argument

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

[issue23671] string.Template doesn't work with the self keyword argument

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c19778123a3 by Serhiy Storchaka in branch '2.7': Issue #23671: string.Template now allows to specify the "self" parameter as https://hg.python.org/cpython/rev/1c19778123a3 New changeset 7a4b499c4dc0 by Serhiy Storchaka in branch '3.4': Issue #23671

[issue23765] Remove IsBadStringPtr calls in ctypes

2015-03-24 Thread Tim Golden
Tim Golden added the comment: Unless someone comes back who remembers what the ulterior motive was: I agree; remove the check and just the crash happen. -- ___ Python tracker __

[issue23768] assert on getting the representation of a thread in atexit function

2015-03-24 Thread Xavier de Gaye
New submission from Xavier de Gaye: The following 'thread_repr.py' script: -- import threading, atexit def foo(): print(threading.currentThread()) atexit.register(foo) gives the following output: --- Error in atexit._run_exitf

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2015-03-24 Thread Bob
Bob added the comment: ok, forgive me for asking a newbe question ot two, but when you say 'fixed in nov 2014' are you refering to the release mentioned below or something else, possibly something that didn't make it into 2.7.9? I dont really understand what 'resync libffi with the upstream

[issue23611] Pickle nested names with protocols < 4

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14904] test_unicode_repr_oflw (in test_bigmem) crashes

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23171] csv.writer.writerow() does not accept generator (must be coerced to list)

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23671] string.Template doesn't work with the self keyword argument

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22687] horrible performance of textwrap.wrap() with a long word

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

[issue23583] IDLE: printing unicode subclasses broken (again)

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

[issue23767] Library and include paths not added when cross compiling on localized sytem

2015-03-24 Thread Samuel Cabrero
New submission from Samuel Cabrero: When cross compiling on a localized system (eg. LANG=es_ES.utf8) the add_gcc_paths is called. This function parses the output of "gcc -v -E" and fails because the output is localized which results in no paths added and detect_modules not able to find any syst

[issue13583] sqlite3.Row doesn't support slice indexes

2015-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you look at the patch Gerhard? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23573] Avoid redundant allocations in str.find and like

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6db9d7c1be29 by Serhiy Storchaka in branch 'default': Issue #23573: Increased performance of string search operations (str.find, https://hg.python.org/cpython/rev/6db9d7c1be29 -- nosy: +python-dev ___ Pyt

[issue23766] json.dumps: solidus ("/") should be escaped

2015-03-24 Thread Pavel Strashkin
New submission from Pavel Strashkin: According to http://www.json.org/ and https://tools.ietf.org/html/rfc7159#section-7, the solidus ("/") should be escaped ("\/") and currently it's not. -- messages: 239170 nosy: xaka priority: normal severity: normal status: open title: json.dumps:

[issue23766] json.dumps: solidus ("/") should be escaped

2015-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23648] PEP 475 meta issue

2015-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: > fstat_not_eintr.py: run this script from a NFS share and unplug the network > cable, wait, replug. Spoiler: fstat() hangs until the network is back, CTRL+c > or setitimer() don't interrupt it. You have to mount the share with the eintr option. Gett

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread R. David Murray
R. David Murray added the comment: See also issue 15731 (this might be effectively a duplicate of that one, I'm not sure). I believe the idea of incorporating decorator into the stdlib has been brought up in the past. -- nosy: +r.david.murray ___ P

[issue23765] Remove IsBadStringPtr calls in ctypes

2015-03-24 Thread Steve Dower
New submission from Steve Dower: Modules/_ctypes/cfield.c has this horror in it (twice): /* XXX What about invalid pointers ??? */ if (*(void **)ptr) { #if defined(MS_WIN32) && !defined(_WIN32_WCE) if (IsBadStringPtrA(*(char **)ptr, -1)) { PyErr_Format(PyExc_ValueErro

[issue21423] concurrent.futures.ThreadPoolExecutor/ProcessPoolExecutor should accept an initializer argument

2015-03-24 Thread Mark Dickinson
Mark Dickinson added the comment: > I'm also not sure how useful it would be for ProcessPoolExecutor to receive > an instance of itself. Agreed that this doesn't make much sense; I hadn't really thought about the ProcessPoolExecutor case. I withdraw my comments! -- _

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread SilentGhost
Changes by SilentGhost : -- nosy: +ncoghlan, rhettinger versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.6 ___ Python tracker ___

[issue23764] functools.wraps should be able to change function argspec as well

2015-03-24 Thread productivememberofsociety666
New submission from productivememberofsociety666: functools.wraps currently only changes the wrapped function's "superficial" attributes such as docstring or annotations. But it would be useful to be able to change the function's actual argspec as well so it matches up with the changed annotat

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2015-03-24 Thread mattip
mattip added the comment: "Bob" is relating to a dead issue, the email was from 2012 and this issue was fixed in Nov 2014. His fix is wrong and unnecessary, which he would have discovered had he run the tests that were added with that patch. This issue was only left open in order to allow some

[issue15244] Support for opening files with FILE_SHARE_DELETE on Windows

2015-03-24 Thread eryksun
eryksun added the comment: > you can't mix CRT methods with OS methods because the CRT does its > own buffering Python 3's io uses the CRT's low I/O (ioinfo struct) in binary mode. It appears that the buffers pipech, pipech2, and dbcsbuffer are only used in text mode. So it should be generall

[issue23583] IDLE: printing unicode subclasses broken (again)

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd9e4f73b5ce by Serhiy Storchaka in branch '2.7': Issue #23583: Fixed writing unicode to standard output stream in IDLE. https://hg.python.org/cpython/rev/cd9e4f73b5ce New changeset 0c72cdf3ff22 by Serhiy Storchaka in branch '2.7': Issue #23583: Fix

[issue23757] tuple function gives wrong answer when called on list subclass with custom __iter__

2015-03-24 Thread David MacIver
David MacIver added the comment: So as a data point, this problem seems to be unique to tuple. set(x), list(x), tuple(iter(x)) all seem to work as expected and respect the overridden __iter__ (set and list were both included in the test case I attached to demonstrated this, iter I just checked

[issue23502] pprint: added support for mapping proxy

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23502] pprint: added support for mapping proxy

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 646a7e1da7f0 by Serhiy Storchaka in branch 'default': Issue #23502: The pprint module now supports mapping proxies. https://hg.python.org/cpython/rev/646a7e1da7f0 -- nosy: +python-dev ___ Python tracker

[issue17530] pprint could use line continuation for long bytes literals

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

[issue17530] pprint could use line continuation for long bytes literals

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 976de10bf731 by Serhiy Storchaka in branch 'default': Issue #17530: pprint now wraps long bytes objects and bytearrays. https://hg.python.org/cpython/rev/976de10bf731 -- nosy: +python-dev ___ Python track

[issue17530] pprint could use line continuation for long bytes literals

2015-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23741] Small pprint refactoring

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

[issue23741] Small pprint refactoring

2015-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 522f6aa1f391 by Serhiy Storchaka in branch 'default': Issue #23741: Slightly refactor the pprint module to make it a little more https://hg.python.org/cpython/rev/522f6aa1f391 -- nosy: +python-dev ___ Pyt

  1   2   >