[issue30449] Improve __slots__ datamodel documentation

2017-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 2b44e302ec3079363c4d5c875677945953705c58 by Raymond Hettinger (Aaron Hall, MBA) in branch 'master': bpo-30449 Terse slots (#1819) https://github.com/python/cpython/commit/2b44e302ec3079363c4d5c875677945953705c58 --

[issue17942] IDLE Debugger: Improve GUI

2017-05-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue30310] tkFont.py assumes that all font families are encoded as ascii in Python 2.7

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

[issue30310] tkFont.py assumes that all font families are encoded as ascii in Python 2.7

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 96f502059717a692ca3abd968b26c5ea2918ad3a by Serhiy Storchaka in branch '2.7': [2.7] bpo-30310: tkFont now supports unicode options (e.g. font family). (#1567) https://github.com/python/cpython/commit/96f502059717a692ca3abd968b26c5ea2918ad3a

[issue30463] Add __slots__ to ABC convenience class

2017-05-25 Thread Aaron Hall
Changes by Aaron Hall : -- pull_requests: +1908 ___ Python tracker ___ ___

[issue14111] IDLE Debugger should handle interrupts

2017-05-25 Thread Louie Lu
Louie Lu added the comment: The patch is upload to PR 1821, if Roger get a GitHub account and linked to b.p.o, we can rebase the first commit and change the author in commit message to Roger's account information. -- ___ Python tracker

[issue14111] IDLE Debugger should handle interrupts

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

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

2017-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: A naming suggestion: let's leave the `interpreters` & `_interpreters` names free for a possible future PEP to make this a public API with a fallback multiprocessing backed implementation for implementations that don't have native subinterpreter support. Then

[issue30478] Python 2.7 crashes in Linux environment

2017-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: Hi HuyK, thanks for the issue report, and in particular the pointers to the key external libraries the script uses. It seems ftd2xx relies on ctypes to wrap an external library, which means that this report falls under the general policy of "triggering a

[issue30478] Python 2.7 crashes in Linux environment

2017-05-25 Thread HuyK
HuyK added the comment: Hi Louie Lu, You will need a touch-screen device running corresponding firmware in order to run the python application. FYI, I tried to run only weather data fetching or only COM port communication but the crash did not happen. It happens when I run both tasks.

[issue30420] Clarify kwarg handing for subprocess convenience APIs

2017-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: The just merged PR covers the "list `cwd` in the nominal signatures for `run()`, `call()`, `check_call()`, and `check_output()`" part of the proposal. The rest of the proposed fixes are still pending a patch (and keeping in mind Martin's caveat on minimising

[issue30478] Python 2.7 crashes in Linux environment

2017-05-25 Thread Louie Lu
Louie Lu added the comment: Hi Huyk, which version of Python does the error message generated? Also, could you try to provide a minimum reproduce python script and upload it? it will be more easy to debug this problem if we can reproduce this. -- nosy: +louielu

[issue30471] "as" keyword in comprehensions

2017-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: As Brett says, the place to propose this is on python-ideas. I'm going to mark it here as closed/rejected because it will likely have to go through a lengthy process (possibly including a PEP) before having a chance of being accepted. Please don't take

[issue30420] Clarify kwarg handing for subprocess convenience APIs

2017-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 368cf1d20630498ca7939069a05d744fabb570aa by Nick Coghlan (Alex Gaynor) in branch 'master': bpo-30420: List cwd parameter in subprocess convenience APIs (GH-1685) https://github.com/python/cpython/commit/368cf1d20630498ca7939069a05d744fabb570aa

[issue30477] tuple.index error message improvement

2017-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Is it a performance worry? It really depends on what people are doing with their down. If indexing potentially missing values is common, there will be a performance impact. Also, the cost of a __repr__ varies wildly depending on the data (i.e. a

[issue30449] Improve __slots__ datamodel documentation

2017-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Overall this looks good. Please do fix the one review comment. -- ___ Python tracker ___

[issue30449] Improve __slots__ datamodel documentation

2017-05-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___

[issue30478] Python 2.7 crashes in Linux environment

2017-05-25 Thread HuyK
New submission from HuyK: Hi all, I have a python script to run as a Weather Station application. The python script runs on Raspberry Pi 3 board. It gets weather data from OpenWeatherMap website and sends result to a remote touch-screen device via COM port to display It uses two main

[issue30477] tuple.index error message improvement

2017-05-25 Thread Joe Jevnik
Joe Jevnik added the comment: As a more meta question: I have noticed that many error messages in the stdlib use PyErr_SetString, or choose to use the type name instead of the repr of the object. Is there a reason for this? I normally try to fill the error message with as much context as

[issue30477] tuple.index error message improvement

2017-05-25 Thread Joe Jevnik
Joe Jevnik added the comment: I agree, "%R in tuple" is enough information for me. This would also remove the need to manually repr the object. -- type: enhancement -> ___ Python tracker

[issue30477] tuple.index error message improvement

2017-05-25 Thread Brett Cannon
Brett Cannon added the comment: I'm wondering if including the whole "tuple.index(%R)" part is still necessary? The traceback will tell you what method you called, so wouldn't "%R not in tuple" be enough? -- components: +Interpreter Core type: -> enhancement

[issue30477] tuple.index error message improvement

2017-05-25 Thread Joe Jevnik
New submission from Joe Jevnik: The old error of tuple.index(x): x not in tuple seemed very confusing to me. It was also harder to quickly understand what the program was doing wrong. This saves people a second pass through the program under the debugger because they can just see what the

[issue30449] Improve __slots__ datamodel documentation

2017-05-25 Thread Aaron Hall
Aaron Hall added the comment: I created a new PR based on rhettinger's feedback (which on consideration was quite correct) with a fresh branch from master. Terseness is retained, and I think this revision makes the documentation more correct and complete. The rewording makes the behavior

[issue30449] Improve __slots__ datamodel documentation

2017-05-25 Thread Aaron Hall
Changes by Aaron Hall : -- pull_requests: +1905 ___ Python tracker ___ ___

[issue30471] "as" keyword in comprehensions

2017-05-25 Thread Brett Cannon
Brett Cannon added the comment: The best place to propose this is on the python-ideas mailing list. My suspicion, though, is people will say it's not worth the new syntax as you can also undo your comprehensions as normal code and simply assign to a variable name directly. -- nosy:

[issue30476] Add _GenerateCRCTable() to zipfile.py to pre-compute CRC Table

2017-05-25 Thread Shubha Ramani
New submission from Shubha Ramani: It is wasteful to generate the CRC Table every time, via _crctable = list(map(_gen_crc, range(256))). Better to have a pre-computed table. I will submit the patch which incorporates this feature along with micro-benchmark results. Related issue:

[issue30448] test_subprocess creates a core dump on FreeBSD

2017-05-25 Thread Eric Snow
Eric Snow added the comment: At this point I'm not convinced the failure is due to my recent changes. Regardless, I do agree with you about detecting hard crashes. -- ___ Python tracker

[issue30459] PyList_SET_ITEM could be safer

2017-05-25 Thread Espie Marc
Espie Marc added the comment: it's still 100% safe as a macro since each parameter is not used more than once. only the return type is an issue. -- ___ Python tracker

[issue30413] Add fnmatch.filterfalse function

2017-05-25 Thread Brett Cannon
Brett Cannon added the comment: I don't think os.normcase() calling os.fspath() needs to be a worry. Pragmatically it's just getting a str/bytes from an object that knows how to return a str/bytes for a path. IOW it's no different than os.normcase(str(path)) and so embedding the call such

[issue30475] Docs for PyDict_GetItemWithError() should say it returns a borrowed reference.

2017-05-25 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1904 ___ Python tracker ___ ___

[issue30460] file opened for updating cannot write after read

2017-05-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems to me that it is a quite simple fix: --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -1110,7 +1110,7 @@ file_read(PyFileObject *f, PyObject *args) -clearerr(f->f_fp); +if (ferror(f->f_fp)) clearerr(f->f_fp); which is

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: Updated PR. It seems that in my testing back and forth, some build artifacts were affecting my outcomes. That's what I get for cutting corners... Per Zach's comment, I've changed to VS project files to use the prepare_ssl.py include directories

[issue30459] PyList_SET_ITEM could be safer

2017-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I prefer to leave this as macro rather than assuming the compiler will heed the inline hint. -- ___ Python tracker

[issue30475] Docs for PyDict_GetItemWithError() should say it returns a borrowed reference.

2017-05-25 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow components: +Documentation stage: -> needs patch versions: +Python 3.7 ___ Python tracker

[issue30475] Docs for PyDict_GetItemWithError() should say it returns a borrowed reference.

2017-05-25 Thread Eric Snow
New submission from Eric Snow: Per Object/dictobject.c, PyDict_GetItemWithError() returns a borrowed reference. However, the documentation does not say so. That should be fixed. -- messages: 294506 nosy: eric.snow priority: normal severity: normal status: open title: Docs for

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not the initial author of zipfile. That initial code for decrypting was added in issue698833. I like your idea about replacing the generating code with the precomputed table. Please open a separate issue for this. --

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 3.6 _PyStack_UnpackDict() returns just args if there are no keyword arguments. But if args is NULL, the result of _PyStack_UnpackDict() is treated as error. Thank you for the reproducer Louie! -- assignee: -> haypo components: +Interpreter Core

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: Serhiy, I am curious why did you have chosen to compute the CRC32 table everytime? It is standard (the generator polynomial does not change) and always will output the same values. And it is also less computational intensive to loading a precomputed

[issue30459] PyList_SET_ITEM could be safer

2017-05-25 Thread Stefan Krah
Stefan Krah added the comment: I guess since it's documented, it would be ok to change for 3.7. BTW, we also allow "static inline" now in headers, so perhaps we could make it a function. -- nosy: +skrah ___ Python tracker

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

2017-05-25 Thread Eric Snow
Eric Snow added the comment: proposed: https://mail.python.org/pipermail/python-ideas/2017-May/045765.html -- ___ Python tracker ___

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-25 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks Jim and Stéphane. -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30459] PyList_SET_ITEM could be safer

2017-05-25 Thread Espie Marc
Espie Marc added the comment: Note that the API is fully documented for returning void... not anything else. "No basis" right. We're taling 1 pieces of software. a lot of what is actually used in the world. I'm very surprised, considering python has routinely done "spring cleanup" by

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-25 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1903 ___ Python tracker ___ ___

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-25 Thread Osvaldo Santana Neto
Osvaldo Santana Neto added the comment: New version of patch: 1. Use RLock instead of Lock (Mark & Antoine recomendation) 2. Add lock acquire at `__setitem__` and `__delitem__` as following (Mark & Antoine recomendation) 3. Add lock protection in `__repr__` implementation. I've some questions

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Louie Lu
Louie Lu added the comment: This bug is introduce at commit: 37e4ef7b17ce6e98ca725c0a53ae14c313c0e48c, then fixed at commit: 998c20962ca3e2e693c1635efe76c0144dde76fc -- ___ Python tracker

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Shubha Ramani
Shubha Ramani added the comment: Serhiy yes what you said makes sense. Thanks for clarifying. Updates (benchmarking results) shortly...stay tuned. -- ___ Python tracker

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I assigned this issue to me as the maintainer of the zipfile module. This means that I undertake to examine the results of benchmarking, make the review of the proposed patch, and merge it if it improves the performance and doesn't have negative side

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-25 Thread Steve Dower
Steve Dower added the comment: > I don't think we've ever advertised the svn windows deps as a service we > provide the community. Except in the dev guide :) ([after looking] well, linked from the dev guide https://github.com/python/cpython/blob/master/PCbuild/readme.txt#L230 ) Maybe we just

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is committed and pushed, thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset bdd964710deffe8593063dcb63157e5b55a82c61 by Antoine Pitrou in branch '2.7': [2.7] bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc (GH-1683) (#1817)

[issue30446] Embedded 3.6.1 distribution cannot find _socket module

2017-05-25 Thread Steve Dower
Steve Dower added the comment: I've been meaning to get to looking at this issue for a couple of days now, sorry. There are two critical pieces here: * don't delete or move _socket.pyd * don't delete or move python36._pth (but possibly update it) The first one should be obvious - I assume you

[issue30459] PyList_SET_ITEM could be safer

2017-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Well, there is not going to be a lot of breakage. This > problem is the only instance I've encountered in the > full OpenBSD ports tree. That is no basis for knowing what the entire rest of the world has done with done with this API (perhaps valid

[issue30467] Propagate zipfile.py pypy issue #905 patch to CPython 2.7

2017-05-25 Thread Shubha Ramani
Shubha Ramani added the comment: Please assign this bug to me. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Shubha Ramani
Shubha Ramani added the comment: serhiy sure I will attach proof of the performance bottle-neck on 2.7 and 3.7 before I submit a patch. Please assign this bug to me. -- ___ Python tracker

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Shubha Ramani
Shubha Ramani added the comment: Please assign this bug to me. I will submit a patch -- ___ Python tracker ___

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 89004d761361332314beb08b443bff5b092ec36e by Antoine Pitrou in branch '3.5': [3.5] bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc (GH-1683) (#1816)

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 2783cc42629b9445ea848ce36bbf213ef7789271 by Antoine Pitrou in branch '3.6': [3.6] bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc (GH-1683) (#1815)

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Xiang Zhang
Xiang Zhang added the comment: Interestingly I could only reproduce the failure on 3.6 but not master. -- nosy: +xiang.zhang ___ Python tracker ___

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1902 ___ Python tracker ___ ___

[issue14111] IDLE Debugger should handle interrupts

2017-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Roger, Python development has moved from hg and out private server to git and GitHub. Patches posted on the tracker must be converted to git pull requests (PRs) to be merged, and also for proper review and editing. Unless you prefer to do it yourself, we

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Louie Lu
Louie Lu added the comment: Another way to reproduce this problem: >>> import datetime >>> from collections import defaultdict as dd >>> d = dd(datetime.datetime.now) >>> d['foo'] Traceback (most recent call last): File "", line 1, in SystemError: returned NULL without setting an error

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1901 ___ Python tracker ___ ___

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +1900 ___ Python tracker ___ ___

[issue30414] multiprocesing.Queue silently ignore messages after exc in _feeder

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset bc50f03db4f58c869b78e98468e374d7e61f1227 by Antoine Pitrou (grzgrzgrz3) in branch 'master': bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc (#1683)

[issue30446] Embedded 3.6.1 distribution cannot find _socket module

2017-05-25 Thread Zachary Ware
Zachary Ware added the comment: I suspect you'll need to set sys.path (PySys_SetPath, I think, but trust the docs more than me). Try importing sys and printing sys.path to confirm. -- ___ Python tracker

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-25 Thread Zachary Ware
Zachary Ware added the comment: Ok, sounds good. The two points you raised on the PR also sound fine, as far as I can tell. -- ___ Python tracker ___

[issue30474] Crash on OS X EXC_BAD_ACCESS (SIGSEGV)

2017-05-25 Thread Ned Deily
Ned Deily added the comment: According to the crash trace you supplied, the crash happened as a result of a call in librdkafka called from the cimpl extension module. As neither of these are part of the Python standard library, suggest you contact the project that supplies them or possibly

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Peter Parente
Peter Parente added the comment: Much simpler example: https://gist.github.com/parente/a4772297459f05e43e12a5820051431b Wrapping the datetime.datetime.now in a lambda avoids the issue. -- ___ Python tracker

[issue9216] FIPS support for hashlib

2017-05-25 Thread Charalampos Stratakis
Changes by Charalampos Stratakis : -- nosy: +cstratak ___ Python tracker ___ ___

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2017-05-25 Thread Charalampos Stratakis
Changes by Charalampos Stratakis : -- nosy: +cstratak ___ Python tracker ___ ___

[issue30474] Crash on OS X EXC_BAD_ACCESS (SIGSEGV)

2017-05-25 Thread Kevin Buchs
Changes by Kevin Buchs : Added file: http://bugs.python.org/file46901/Kafka-Poll.py ___ Python tracker ___

[issue30474] Crash on OS X EXC_BAD_ACCESS (SIGSEGV)

2017-05-25 Thread Kevin Buchs
New submission from Kevin Buchs: I have been getting periodic crashes from a long running python job on Mac OS X. There is nothing indicative of a crash from standard output or error. I'm not sure if the OS X crash records actually find your way back to you, but I am explicitly including mine

[issue12857] Expose called function on frame object

2017-05-25 Thread Nick Coghlan
Nick Coghlan added the comment: Regarding Mark's point about the anonymous scopes created for things like list comprehensions, at least in CPython, those are actually full functions with generated names like "" (at module level) or "f.." (at function level). >From the point of view of code

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

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

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f43b293f2fee91578e28c7aa566510a0cd6e33cb by Serhiy Storchaka in branch '3.6': [3.6] bpo-29943: Do not replace the function PySlice_GetIndicesEx() with a macro (GH-1049) (#1813)

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +haypo ___ Python tracker ___ ___

[issue26219] implement per-opcode cache in ceval

2017-05-25 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___

[issue30473] defaultdict raises SystemError, __missing__ returned NULL in thread

2017-05-25 Thread Peter Parente
New submission from Peter Parente: Working on this PR (https://github.com/maxpoint/spylon/pull/49), I encountered an unexpected SystemError in Python 3.6 on my Mac and on Travis Linux. Exception in thread Thread-4: Traceback (most recent call last): File

[issue30459] PyList_SET_ITEM could be safer

2017-05-25 Thread Espie Marc
Espie Marc added the comment: yep, casting to (void) would be safer indeed. didn't think of that one ;) -- ___ Python tracker ___

[issue30413] Add fnmatch.filterfalse function

2017-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +brett.cannon ___ Python tracker ___ ___

[issue30452] xml.etree sourcecode bug

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This error message is not created by xml.etree, it is just propagated from the expat library. Open a ticket on the expat library tracker if you want to improve the error message. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: ->

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1899 ___ Python tracker ___ ___

[issue30472] [Selenium 3.4.2-geckodriver 0.16.1] Python 3.6.1 unable to initialize webdriver with "marionette" set to True

2017-05-25 Thread Debanjan Bhattacharjee
New submission from Debanjan Bhattacharjee: Python 3.6.1 unable to initialize webdriver (geckodriver) for Selenium with "marionette" set to True. Here is my code block written in PyCharm: from selenium import webdriver from selenium.webdriver.common.desired_capabilities import

[issue29104] Left bracket remains in format string result when '\' preceeds it

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

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 89a310264000a613b7f6abd5916946aef09ae7d2 by Serhiy Storchaka in branch '3.6': [3.6] bpo-29104: Fixed parsing backslashes in f-strings. (GH-490) (#1812) https://github.com/python/cpython/commit/89a310264000a613b7f6abd5916946aef09ae7d2

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps. But this discussion shows the matter is complicated and we shouldn't rely on fragile assumptions about implementation details. So we need a lock. -- ___ Python tracker

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Invoking GC before iterating or after iterating doesn't break the atomicity of iterating. -- ___ Python tracker ___

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you provide a benchmarkin script that demonstrates a performance bottleneck? The patch is against 2.7. Please provide a patch against the master branch. -- ___ Python tracker

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: FWIW: The bug in osascript is still present in the current 10.12.6 beta (build 16G8c) -- ___ Python tracker ___

[issue30447] test_capi.test_subinterps() fails on ARMv7 Ubuntu 3.x

2017-05-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks for fixing that one Eric. -- ___ Python tracker ___ ___

[issue12345] Add math.tau

2017-05-25 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: -1878 ___ Python tracker ___ ___

[issue25571] Improve the lltrace feature with the Py_Debug mode

2017-05-25 Thread STINNER Victor
STINNER Victor added the comment: https://bugs.python.org/issue29400 -- ___ Python tracker ___ ___

[issue30467] Propagate zipfile.py pypy issue #905 patch to CPython 2.7

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is the same as issue30468. It isn't worth to open separate issues for different versions. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Propagate zipfile.py pypy issue #905 patch

[issue30468] Propagate zipfile.py pypy issue #905 patch to CPython 3.7

2017-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka components: +Library (Lib) nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker

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

2017-05-25 Thread Louie Lu
Louie Lu added the comment: PR 1811 fix some bug in condition of hide_event, now it will work on three different platforms. Terry, it will need your review. -- versions: +Python 3.7 ___ Python tracker

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Every time you create a GC-tracked object, you can invoke the GC. See _PyObject_GC_Alloc. -- ___ Python tracker ___

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But it is destroyed only after iterating. -- ___ Python tracker ___ ___

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1898 ___ Python tracker ___ ___

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > While there are no special code for list(dict), regular iteration over exact > dict don't hit the GC. Doesn't it? Creating a dict iterator creates a GC-tracked object. -- ___ Python tracker

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0cd7a3f196cf34d9bb0a52e61327f7fe289d9750 by Serhiy Storchaka in branch 'master': bpo-29104: Fixed parsing backslashes in f-strings. (#490) https://github.com/python/cpython/commit/0cd7a3f196cf34d9bb0a52e61327f7fe289d9750 --

  1   2   >