[issue30660] Lossless Optimization of PNG files

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What tools did you use, optipng, advpng, pngcrush, pngnq, pngquant, or other? How much space is saved? Note that some tools remove an information about palette that makes files displaying differently on different platforms and output devises. -- __

[issue30660] Lossless Optimization of PNG files

2017-06-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, wrong issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue30662] fix OrderedDict.__init__ docstring to reflect PEP 468

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently there are two implementations of OrderedDict, and Python implementation is not used. Is C implementation need an update? What about the module documentation, is it need an update? I don't think that we should include such details about past Python

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg295986 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently there are two implementations of OrderedDict, and Python implementation is not used. Is C implementation need an update? What about the module documentation, is it need an update? I don't think that we should include such details about past Python

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30509] Optimize calling type slots

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Without Py_LOCAL_INLINE all mickrobenchmarks become about 20% slower. I'm not sure that all these changes are needed. Maybe the same effect can be achieved by smaller changes. But I tried and failed to achieve the same performance with a smaller patch yet. M

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue30662] fix OrderedDict.__init__ docstring to reflect PEP 468

2017-06-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger versions: +Python 3.6 ___ Python tracker ___ ___ Python-b

[issue30662] fix OrderedDict.__init__ docstring to reflect PEP 468

2017-06-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue30662] fix OrderedDict.__init__ docstring to reflect PEP 468

2017-06-13 Thread Jonathan Eunice
Changes by Jonathan Eunice : -- pull_requests: +2232 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27485] urllib.splitport -- is it official or not?

2017-06-13 Thread Martin Panter
Martin Panter added the comment: I don't think it is worth changing the implementations to be in terms of urlsplit or urlparse. This is proposed for splithost in , but I suspect it would change the behaviour in some corner cases. See Issue 22852 for

[issue30662] fix OrderedDict.__init__ docstring to reflect PEP 468

2017-06-13 Thread Jonathan Eunice
New submission from Jonathan Eunice: In Python 3.6 and current repo (pre-3.7), the docstring for collections.OrderedDict.__init__() stats that keyword argument order is arbitrary. That is untrue if I properly understand PEP 468, which as of Python 3.6 makes the order of kwargs stable / identic

[issue30642] Fix leaks in idlelib

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: f:\dev\36>python -m test -R: -ugui test_idle gives about 40 invoke event messages, but the test passes. So the messages and leaks are not connected. -- ___ Python tracker ___

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Now that I know how to backport with confidence, and have cleared the backlog, and synched 3.6 with 3.7, I want to review this next. I would like to get it in 6.2, but 6.2 was due yesterday, but delayed, and there is no info on how long the delay is. This ma

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-06-13 Thread Louie Lu
Louie Lu added the comment: Terry, would you like to verify the fixed? I think it will be good if this fix can be backported in 3.6 before 3.6.2 released. -- ___ Python tracker

[issue30628] why venv install old pip?

2017-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: Emily's answer sort of covered the "It's not as simple as it might seem" aspect, whereby the bit that's genuinely tricky is to provide access to the system pip(/setuptools/wheel) without providing accessing to the system site packages in general. If the latter

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22d909f8c24bd7768df1a5bf0e52c597ea947cfb by terryjreedy in branch '3.6': [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178) https://github.com/python/cpython/commit/22d909f8c24bd7768df1a5bf0e52c597ea947cfb --

[issue30661] Support tarfile.PAX_FORMAT in shutil.make_archive

2017-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: The main benefit I'd see to the last option is that it would also cover passing a "filter" option for tarfile.TarFile.add(). Dropping down to the lower level API for that isn't *hard*, it's just a bit fiddly (note: currently untested example code): sdist = t

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2231 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 188aedf8bb623d41302e10503268b0852ea91134 by terryjreedy in branch 'master': bpo-25514: Improve IDLE's connection refused message (#2177) https://github.com/python/cpython/commit/188aedf8bb623d41302e10503268b0852ea91134 -- __

[issue30661] Support tarfile.PAX_FORMAT in shutil.make_archive

2017-06-13 Thread Nick Coghlan
New submission from Nick Coghlan: shutil.make_archive currently just uses the default tar format, which is GNU_FORMAT. This format doesn't ensure that all character paths are encoded as UTF-8, and hence may end up embedding platform specific encoding assumptions into the generated tarball. I

[issue30628] why venv install old pip?

2017-06-13 Thread R. David Murray
R. David Murray added the comment: OK, so the key here is venv's dependency on a pip wheel. That makes sense, but is certainly counterintuitive. One would naively think that having a copy of PIP installed would make it easy to link that into the venv, but obviously it is a lot more complex t

[issue30655] speech module

2017-06-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: not a bug -> third party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tested (and tweaked) the visible box with this: from idlelib.run import show_socket_error show_socket_error(OSError(61, 'connection refused'), ('port', )) URL was tested with cut-and-paste from run.py. This should be turned into an htest (human view test).

[issue30658] Buildbot: don't sent email notification for custom builders

2017-06-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: This is not a cpython issue, is it? -- nosy: +Mariatta ___ Python tracker ___ ___ Python-bugs-list

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2230 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30628] why venv install old pip?

2017-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: The upstream supported install path for bootstrapping the venv is from a wheel file. The CPython source tree contains the necessary wheels, and, by default, upgrading the system pip doesn't touch them. The only distro I can speak authoritatively for when it come

[issue30660] Lossless Optimization of PNG files

2017-06-13 Thread Tiago Filipe Silva
New submission from Tiago Filipe Silva: I took the liberty to apply tools that optimize the binary weight (without loss of quality) of the 14 PNG files present in the Python 3.7 source tree and then applied a pull request (#2141). Is there anything to be discussed? Thanks. -- messages

[issue20485] Enable non-ASCII extension module names

2017-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: PEP 489 was accepted and implemented, so Python 3.5+ supports non-ASCII extension module names as described in https://www.python.org/dev/peps/pep-0489/#export-hook-name -- resolution: -> fixed stage: test needed -> resolved status: open -> closed

[issue27485] urllib.splitport -- is it official or not?

2017-06-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you. >From my understanding, urllib didn't officially supported the split* functions >(splittype, splithost, splitport, splinport, splituser, splitpasswd, >splitattr, splitquery, splitvalue, splittag) even though they were migrated to >urllib.parse. Th

[issue27485] urllib.splitport -- is it official or not?

2017-06-13 Thread Brett Cannon
Brett Cannon added the comment: Go for it, Cheryl! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue27485] urllib.splitport -- is it official or not?

2017-06-13 Thread Guido van Rossum
Guido van Rossum added the comment: Skimming the issue I can't even figure out what the task is -- Cheryl, I suppose you have, could you post a brief summary of your plan here? -- ___ Python tracker __

[issue30649] test_utime_current_old() of test_os fails randomy on x86 Windows7 3.6

2017-06-13 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2228 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-13 Thread Brett Cannon
Changes by Brett Cannon : -- title: imp.py: load_package: function has a buggy loop with `path = os.path.join(path, '__init__'+extension)` -> imp.py: load_package() appends to its own loop variable ___ Python tracker

[issue30645] imp.py: load_package: function has a buggy loop with `path = os.path.join(path, '__init__'+extension)`

2017-06-13 Thread Brett Cannon
Brett Cannon added the comment: Three things. One, the imp module is deprecated, so please don't use it. Two, all undocumented functions in the imp module are considered unsupported, so double-please don't use imp.load_package(). :) Three, we can't look at that patch without the person supply

[issue30509] Optimize calling type slots

2017-06-13 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure about adding Py_LOCAL_INLINE() (static inline). I'm not sure that it's needed when you use PGO compilation. Would it be possible to run again your benchmark without added Py_LOCAL_INLINE() please? It's hard to say no to a change makes so many cor

[issue27485] urllib.splitport -- is it official or not?

2017-06-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Would it be OK for me to work on this? -- nosy: +csabella ___ Python tracker ___ ___ Python-bugs-lis

[issue30649] test_utime_current_old() of test_os fails randomy on x86 Windows7 3.6

2017-06-13 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2227 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2017-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9 by Victor Stinner in branch 'master': bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148) https://github.com/python/cpython/commit/8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9 --

[issue30649] test_utime_current_old() of test_os fails randomy on x86 Windows7 3.6

2017-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset c94caca65cd38802243b5279cf85ee44ffb2abb8 by Victor Stinner in branch 'master': bpo-30649: test_os tolerates 50 ms delta for utime (#2156) https://github.com/python/cpython/commit/c94caca65cd38802243b5279cf85ee44ffb2abb8 -- _

[issue30645] imp.py: load_package: function has a buggy loop with `path = os.path.join(path, '__init__'+extension)`

2017-06-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brett.cannon, eric.snow, ncoghlan, r.david.murray ___ Python tracker ___ ___ Python-bugs-list m

[issue1360] Queue.get() can't be interrupted with Ctrl-C unless timed out

2017-06-13 Thread Guido van Rossum
Guido van Rossum added the comment: This issue is closed, but you can open a new issue to flag this in the docs. -- ___ Python tracker ___

[issue1360] Queue.get() can't be interrupted with Ctrl-C unless timed out

2017-06-13 Thread Stephen Rosen
Stephen Rosen added the comment: Can a note be added to the Queue.get() documentation? This behavior has been known to be at least potentially confusing for a decade, and there's no mention of it in the documentation. -- nosy: +Stephen Rosen versions: +Python 2.7 -Python 2.5 _

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-06-13 Thread Jay Bosamiya
Jay Bosamiya added the comment: I've made a patch that should fix the vulnerability. Please do let me know if changes are required. Thanks a lot :) PS: For anyone who looks at this later on, in my original message describing the issue, the line `*p++ = *s++;` should be marked as (4) instead to

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-06-13 Thread Jay Bosamiya
Changes by Jay Bosamiya : -- pull_requests: +2226 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using findleak.py, attached to #30642, modified to always print the filename, I discovered that test_parenmatch also flashes (along with test_searchbase). The leak test runs each test_xyz module 9 times, so is a good way to see flashing. Adding 'root.withdraw

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d92ee3ea622b6eee5846681bad5595cfedcf20b6 by terryjreedy in branch '3.6': [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172) https://github.com/python/cpython/commit/d92ee3ea622b6eee5846681bad5595cfedcf20b6 --

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2017-06-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also . Apple basically disabled this function starting at macOS 10.7, that's why there's a warning. It is possible to suppress the warning, but I don't think its worth the trouble. BTW. The python documen

[issue30509] Optimize calling type slots

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ ./python -m perf timeit -q --compare-to=./python-orig -s 'class A:' -s ' def __add__(s, o): return s' -s 'a = A(); b = A()' --duplicate=100 'a.__add__(b)' Mean +- std dev: [python-orig] 229 ns +- 9 ns -> [python] 235 ns +- 13 ns: 1.02x slower (+2%) $ ./py

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> backport needed versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-l

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 184bd82ba8106785ba22f0d2477dbd08bef821fb by Mariatta (Ben Hoyt) in branch 'master': bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) https://github.com/python/cpython/commit/184bd82ba8106785ba22f0d2477dbd08bef821fb ---

[issue30603] textwrap: declining indent level has no test case

2017-06-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 601483d3b8a0433ca25f7fd6beea2cef674be039 by Mariatta (Jonathan Eunice) in branch 'master': bpo-30603: Add test case to textwrap.dedent (GH-2014) https://github.com/python/cpython/commit/601483d3b8a0433ca25f7fd6beea2cef674be039 -- nosy:

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file40915/dia2.py ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the reminder to get busy on this ;-). My short notes are insufficient for anyone else to write this. -- assignee: docs@python -> terry.reedy ___ Python tracker

[issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

2017-06-13 Thread Ben Hoyt
New submission from Ben Hoyt: The documentation for namedtuple._replace() needs a tweak: currently its signature shows "kwargs" without the ** notation, indicating it's a single, positional argument. It should have the ** to indicate it's actually any number of keyword arguments. See https:/

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2224 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 049cf2bb44038351e1b2eed4fc7b1b522329e550 by terryjreedy in branch 'master': bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) https://github.com/python/cpython/commit/049cf2bb44038351e1b2eed4fc7b1b522329e550 -- __

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2223 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Jay. Even if it very unlikely that this can occurred unintentionally or be used for attack, this still is a bug and should be fixed. Do you want to provide a patch? -- keywords: +easy (C) stage: -> needs patch

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using findleak.py, attached to #30642, modified to always print the filename, I discovered that test_parenmatch also flashes (along with test_searchbase). The leak test runs each test_xyz module 9 times, so is a good way to see flashing. Adding 'root.withdraw

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: commit review -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 2d0afef82a07afdb666f2ca0c533aac5d39155cd by Mariatta (Emily Morehouse) in branch 'master': bpo-30656: Fix Python C API Module Objects documentation (GH-2170) https://github.com/python/cpython/commit/2d0afef82a07afdb666f2ca0c533aac5d39155cd

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue30628] why venv install old pip?

2017-06-13 Thread R. David Murray
R. David Murray added the comment: It's not obvious from your discussion, Nick, *why* venv won't use an upgraded system pip if it has been manually upgraded. There's no need for internet access in that case (which is the argument for using the bundled pip when running ensurepip for the first

[issue30641] No way to specify "File name too long" error in except statement.

2017-06-13 Thread R. David Murray
R. David Murray added the comment: Since according to Eryk there's no way to have a reliable cross-platform exception class catching file name to long, I'm rejecting this feature request. -- resolution: -> rejected stage: -> resolved status: open -> closed ___

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2017-06-13 Thread R. David Murray
R. David Murray added the comment: Thanks, Sanyam. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ _

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2017-06-13 Thread R. David Murray
R. David Murray added the comment: New changeset b9c3da5c89c66dcccf382e8f196746da2a06d4cc by R. David Murray (Sanyam Khurana) in branch 'master': bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926) https://github.com/python/cpython/commit/b9c3da5c89c66dcccf382e8f196746da2a06

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Carol Willing
Changes by Carol Willing : -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: > We can't just remove PyExc_RecursionErrorInst since this can cause a stack > overflow Please give an example where a stack overflow occurs when PyExc_RecursionErrorInst has been removed. -- ___ Python tracker

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Michał Radwański
Changes by Michał Radwański : -- pull_requests: + ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Emily Morehouse
Emily Morehouse added the comment: Good catch, fixed in PR. -- nosy: +emilyemorehouse ___ Python tracker ___ ___ Python-bugs-list mail

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Emily Morehouse
Changes by Emily Morehouse : -- pull_requests: +2220 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Carol Willing
Carol Willing added the comment: Based on Terry's latest message and recommendation, I've marked this as a Documentation issue and suitable for new contributors. -- assignee: -> docs@python components: +Documentation keywords: +easy nosy: +docs@python, willingc ___

[issue30658] Buildbot: don't sent email notification for custom builders

2017-06-13 Thread STINNER Victor
New submission from STINNER Victor: Sadly, our version of buildbot doesn't support branches. Other options: http://docs.buildbot.net/latest/manual/cfg-reporters.html#mailnotifier-arguments -- components: Tests messages: 295936 nosy: haypo, zach.ware priority: normal severity: normal stat

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-06-13 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should be fixed now. Please reopen if not. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset a0ecaab006849ade08fbcf8413fe1e92d9c8d71c by Antoine Pitrou in branch '3.5': [3.5] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2167) https://github.com/python/cpython/commit/a0ecaab006849ade08fbcf8413fe1e92d9c8d71c ---

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset d09f1674d70dd84c5be37b5fe11bca4913146c6b by Antoine Pitrou in branch '2.7': [2.7] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2168) https://github.com/python/cpython/commit/d09f1674d70dd84c5be37b5fe11bca4913146c6b ---

[issue30642] Fix leaks in idlelib

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b0efd493b6af24a6ae744e7e02f4b69c70e88f3d by terryjreedy in branch '3.6': [3.6]bpo-30642: Fix ref leak in idle_test.test_macosx (#2163) (#2165) https://github.com/python/cpython/commit/b0efd493b6af24a6ae744e7e02f4b69c70e88f3d --

[issue30593] sqlite3 executescript does not respect isolation_level?

2017-06-13 Thread Aviv Palivoda
Changes by Aviv Palivoda : -- nosy: +palaviv ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 6fd03459957ee53941183212457bba19f977679f by Antoine Pitrou in branch '3.6': [3.6] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2166) https://github.com/python/cpython/commit/6fd03459957ee53941183212457bba19f977679f ---

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-06-13 Thread Jay Bosamiya
New submission from Jay Bosamiya: In Python 2.7, there is a possible integer overflow in PyString_DecodeEscape function of the file stringobject.c, which can be abused to gain a heap overflow, possibly leading to arbitrary code execution. The relevant parts of the code are highlighted below:

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Python 2.7 doesn't suffer from this bug, so no actual fix is needed. Still, I'll backport the additional test. -- stage: needs patch -> commit review versions: -Python 2.7 ___ Python tracker

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2219 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2218 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-13 Thread bapt
bapt added the comment: More details here: C.UTF-8 is a glibc only thing: https://sourceware.org/glibc/wiki/Proposals/C.UTF-8 not even mainstream. The closest thing to a C locale with unicode would be to set everything to locale C but LC_CTYPE which would be set to en_US.UTF-8. The problem is

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2217 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue24484] multiprocessing cleanup occasionally throws exception

2017-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 1eb6c0074d17f4fd425cacfdda893d65f5f77f0a by Antoine Pitrou in branch 'master': bpo-24484: Avoid race condition in multiprocessing cleanup (#2159) https://github.com/python/cpython/commit/1eb6c0074d17f4fd425cacfdda893d65f5f77f0a -- _

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-13 Thread Ned Deily
Ned Deily added the comment: macOS is also BSD-like with regard to locales: it also does not have any C.* locales other than plain C. See, for example, the discussion at bpo-18378. -- nosy: +ned.deily ___ Python tracker

[issue30642] Fix leaks in idlelib

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2216 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538

2017-06-13 Thread bapt
bapt added the comment: Per POSIX, the C locale is only expected to be ASCII. C.UTF-8 is a linux only thing (actually I thought it was a debian only thing, but maybe not). I was thinking about creating a C.utf8 locale on FreeBSD but it is not that simple to do (still doable and an interesting

[issue29591] Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-13 Thread STINNER Victor
STINNER Victor added the comment: I upgraded Modules/expat/ to expat 2.2 using attached rebuild_expat_dir.sh script: https://github.com/python/cpython/pull/2164 TODO: Should be done later in the master branch, once the security fix is handled. * Drop support for VMS? VMS support removed from

[issue29591] Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-13 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2215 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30642] Fix leaks in idlelib

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The macosx leak came from repeated calls to root.createcommand("::tk::mac::OpenDocument", doOpenFile) in macosx.addOpenEventSupport(root, flist), which is called from macosx.setupApp, which is called in test_macosx.SetupTest.test_setupapp. Attached is an im

[issue30656] typo in PyModule_New documentation

2017-06-13 Thread Jan Hnatek
New submission from Jan Hnatek: The doc for PyModule_New() refers to "PyImport_NewObject()", while it should refer to "PyModule_NewObject()": https://docs.python.org/3.6/c-api/module.html#c.PyModule_New -- assignee: docs@python components: Documentation messages: 295922 nosy: docs@pyth

[issue30642] Fix leaks in idlelib

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2214 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30650] lack of right parentheses

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch Messi Liao! Do you mind to backport it to branches 3.6 and 3.5? -- stage: -> backport needed versions: +Python 3.5, Python 3.6 ___ Python tracker _

[issue30650] lack of right parentheses

2017-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0d322181d9018b25a5c28e62a0c193b4309aaa95 by Serhiy Storchaka (messi Liao) in branch 'master': bpo-30650: Fixed a syntax error: missed right parentheses (#2154) https://github.com/python/cpython/commit/0d322181d9018b25a5c28e62a0c193b4309aaa95 -

  1   2   >