[issue30470] Deprecate invalid ctypes call protection on Windows

2017-05-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1895 ___ Python tracker ___ ___

[issue30470] Deprecate invalid ctypes call protection on Windows

2017-05-24 Thread Mariatta Wijaya
New submission from Mariatta Wijaya: It was proposed by Steve Dower by email to python-dev: https://mail.python.org/pipermail/python-dev/2017-May/147959.html It should be deprecated in Python 3.6.2 and removed in 3.7.0 -- assignee: docs@python components: Documentation, ctypes

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: On further thought, I think the way I'd write a test for this is: (1) add a testing primitive that waits for N instructions and then injects a SIGINT. Probably this would require tweaking the definition of Py_MakePendingCalls like I described in my previous

[issue12857] Expose called function on frame object

2017-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: > Sure. The issue is that I need to mark certain frames as "protected" from > KeyboardInterrupt, in a way that my signal handler can see when walking the > frame stack, so it can decide whether to raise a KeyboardInterrupt > immediately or to wait until a

[issue30462] urllib does not support NO_PROXY environment variable containing domain with asterisk

2017-05-24 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1894 ___ Python tracker ___

[issue12857] Expose called function on frame object

2017-05-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: > I'm not sure I understand how `f_func` would help to better handle Control-C > in Trio. Nathaniel, could you please elaborate on that? Sure. The issue is that I need to mark certain frames as "protected" from KeyboardInterrupt, in a way that my signal

[issue12857] Expose called function on frame object

2017-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: > I don't see a better way to handle my (admittedly a bit weird) control-C case > within the interpreter I'm not sure I understand how `f_func` would help to better handle Control-C in Trio. Nathaniel, could you please elaborate on that? --

[issue12857] Expose called function on frame object

2017-05-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: Certainly which frame is being executed is an implementation detail, and I can see an argument from that that we shouldn't have a frame introspection API at all... but we do have one, and it has some pretty important use cases, like traceback printing.

[issue30449] Improve __slots__ datamodel documentation

2017-05-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: As much as possible, please stick with the existing terse style of the data model docs. They tend to be concise, direct, and very light on examples. They don't serve as a tutorial, faq, or cover programming patterns or advice. Looking at the PR, I don't

[issue30469] Inconsistent Execution of Generic Descriptor Attributes

2017-05-24 Thread Eryk Sun
Eryk Sun added the comment: It looks like slot_tp_descr_get bypasses call_method in order to unset tp->tp_descr_get for descriptors that don't define __get__. I don't know where that's an issue. If a class doesn't define __get__, its tp_descr_get slot should already be NULL. That said, I

[issue30438] tarfile would fail to extract tarballs with files under R/O directories (twice)

2017-05-24 Thread Catherine Devlin
Catherine Devlin added the comment: Okay, the problem is a little more specific than my last message suggested, but also a little less specific than the original report. A "PermissionError: [Errno 13] Permission denied" is thrown when expanding a tarfile to which a file had been added more

[issue30438] tarfile would fail to extract tarballs with files under R/O directories (twice)

2017-05-24 Thread Catherine Devlin
Changes by Catherine Devlin : -- pull_requests: +1892 ___ Python tracker ___ ___

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

2017-05-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: On my VM, ssltests pass, but both the Perl and non-Perl segfault in test_ssl (and many others). My VM has just VS2008 installed, does VS2010 come with an updated SDK? -- ___ Python tracker

[issue30451] parse windows path error in webbrowser.get() and lead to webbrowser.Error: could not locate runnable browser

2017-05-24 Thread chainly
Changes by chainly <1258626...@qq.com>: -- pull_requests: +1891 ___ Python tracker ___ ___ Python-bugs-list

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2017-05-24 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1890 ___ Python tracker ___ ___

[issue30469] Inconsistent Execution of Generic Descriptor Attributes

2017-05-24 Thread Ryan Morshead
Ryan Morshead added the comment: Is there a reason that `call_method` is not used in `slot_tp_descr_get` -- ___ Python tracker ___

[issue30465] FormattedValue expressions have wrong lineno and col_offset information

2017-05-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for adding so many tests. -- nosy: +rhettinger ___ Python tracker ___

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

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: I tried out PR1805 with Perl unavailable, and it seemed to build fine with `PC\VS9.0\build.bat -e -d -p x64`. However, trying `PC\VS9.0\amd64\python_d.exe -m test.ssltests` segfaults. Can you reproduce? -- ___

[issue30449] Improve __slots__ datamodel documentation

2017-05-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- versions: +Python 3.5 ___ Python tracker ___ ___

[issue30449] Improve __slots__ datamodel documentation

2017-05-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review ___ Python tracker ___ ___

[issue30461] glob returns results in undeterministic order

2017-05-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue30459] PyList_SET_ITEM could be safer

2017-05-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs do make the claim of returning void: https://docs.python.org/3/c-api/list.html#c.PyList_SET_ITEM However, I think we should change the docs rather than changing the macro. This macro is very old and very widely used. Changing it is likely to

[issue30463] Add __slots__ to ABC convenience class

2017-05-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: This seems reasonable. -- nosy: +rhettinger ___ Python tracker ___ ___

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

2017-05-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: Submitted PR-1805 that should restore perl-less building. Also some open issues as noted in the PR. -- ___ Python tracker

[issue30464] gammavariate has a wrong comment

2017-05-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +mark.dickinson, rhettinger ___ Python tracker ___

[issue30466] Tutorial doesn't explain the use of classes

2017-05-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: This particular PR seems fine. I'll review it in more detail later. In general, the tutorial is intended to be a structured overview of the language rather than a how-to-program lesson. Concepts are usually linked to the glossary or external sources and

[issue30449] Improve __slots__ datamodel documentation

2017-05-24 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1889 ___ Python tracker ___

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

2017-05-24 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- pull_requests: +1888 ___ Python tracker ___

[issue30466] Tutorial doesn't explain the use of classes

2017-05-24 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review ___ Python tracker ___ ___

[issue30466] Tutorial doesn't explain the use of classes

2017-05-24 Thread Trey Hunner
Changes by Trey Hunner : -- pull_requests: +1887 ___ Python tracker ___ ___

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

2017-05-24 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29102] Add an id field to PyInterpreterState.

2017-05-24 Thread Eric Snow
Eric Snow added the comment: I've fixed the compiler warning via d1c3c13fedaf62b71445ccd048e395aa4a7d510f. -- status: open -> closed ___ Python tracker

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

2017-05-24 Thread Eric Snow
Eric Snow added the comment: New changeset d1c3c13fedaf62b71445ccd048e395aa4a7d510f by Eric Snow in branch 'master': bpo-30447: Fix/skip the subinterpreters test on some platforms. (#1791) https://github.com/python/cpython/commit/d1c3c13fedaf62b71445ccd048e395aa4a7d510f --

[issue30469] Inconsistent Execution of Generic Descriptor Attributes

2017-05-24 Thread Ryan Morshead
New submission from Ryan Morshead: When the `__get__`, `__set__`, or `__delete__` attribute of a descriptor is not a method, and is instead a generic callable, the first argument of that callable is inconsistent: class Callable(object): def __call__(self, first, *args,

[issue30460] file opened for updating cannot write after read

2017-05-24 Thread Eryk Sun
Eryk Sun added the comment: It might be simplest to close this as 3rd party since it's similar to bpo-29817. A workaround is to call f.seek(0, 1) to reset the stream state when switching between reading and writing. That said, a switch to writing at EOF should be supported. The problem is

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

2017-05-24 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1886 ___ Python tracker ___ ___

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

2017-05-24 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1885 ___ Python tracker ___ ___

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1884 ___ Python tracker ___ ___

[issue12857] Expose called function on frame object

2017-05-24 Thread Mark Shannon
Mark Shannon added the comment: I'm not too keen on this. Which frame is being executed is an implementation detail. For example, we currently push a new frame for list comprehensions, but that is an implementation detail. The language only specifies that list-comps execute in a new scope.

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

2017-05-24 Thread Shubha Ramani
New submission from Shubha Ramani: PyPy had a longstanding issue : ZipFile.extractall is very slow compared to CPython 2.6 https://bitbucket.org/pypy/pypy/issues/905/zipfileextractall-is-very-slow-compared-to which has been fixed in the PyPy code base. The changes were entirely in zipfile.py

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

2017-05-24 Thread Shubha Ramani
Changes by Shubha Ramani : -- title: Propagate zipfile.py pypy issue #905 patch to CPython -> Propagate zipfile.py pypy issue #905 patch to CPython 2.7 ___ Python tracker

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

2017-05-24 Thread Shubha Ramani
New submission from Shubha Ramani: PyPy had a longstanding issue : ZipFile.extractall is very slow compared to CPython 2.6 https://bitbucket.org/pypy/pypy/issues/905/zipfileextractall-is-very-slow-compared-to which has been fixed in the PyPy code base. The changes were entirely in zipfile.py

[issue24896] It is undocumented that re.UNICODE and re.LOCALE affect re.IGNORECASE

2017-05-24 Thread Brian Ward
Brian Ward added the comment: OK, I'll look at this soon and come up with the next iteration. -- ___ Python tracker ___

[issue30466] Tutorial doesn't explain the use of classes

2017-05-24 Thread Trey Hunner
New submission from Trey Hunner: The tutorial page for classes starts with "Compared with other programming languages". While object-oriented programming and classes are popular in many programming languages, not everyone learning about Python's classes is familiar with the concept. I teach

[issue30465] FormattedValue expressions have wrong lineno and col_offset information

2017-05-24 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1883 ___ Python tracker ___ ___

[issue30465] FormattedValue expressions have wrong lineno and col_offset information

2017-05-24 Thread Łukasz Langa
New submission from Łukasz Langa: f-strings are computed in a separate compiler step. This makes their lineno and col_offset information wrong. This is problematic for flake8 which reports problems inside f-strings on the wrong line (typically the first one). Attached patch fixes the issue.

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

2017-05-24 Thread Osvaldo Santana Neto
Osvaldo Santana Neto added the comment: This is an alternative implementation using `threading.Lock()`. The main issue with this implementation relies on the fact that we've to import the `threading` module during CPython interpreter loading (currently it's not imported by default). This is

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-24 Thread Mark Shannon
Changes by Mark Shannon : -- pull_requests: +1882 ___ Python tracker ___ ___ Python-bugs-list

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

2017-05-24 Thread Osvaldo Santana Neto
Osvaldo Santana Neto added the comment: This patch implements a lock protection (as suggested by Antoine) using `_thread.allocate_lock()` module (instead of `threading.Lock()`) due to the fact that CPython interpreter already imports `_thread` module during its bootstrap process. --

[issue29851] Have importlib.reload() raise ModuleNotFoundError when a spec can't be found

2017-05-24 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29851] Have importlib.reload() raise ModuleNotFoundError when a spec can't be found

2017-05-24 Thread Brett Cannon
Brett Cannon added the comment: New changeset 94987826e89e8a89c20f081e18be33fc840e6203 by Brett Cannon (Garvit Khatri) in branch 'master': bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found (GH-972)

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: > If all you need is that with foo: pass guarantees that either both or neither > of __enter__ and __exit__ are called, for C context managers, and only C > context managers, then the fix is trivial. It would be nice to have it for 'async with foo: pass' as

[issue30404] Make stdout and stderr truly unbuffered when using -u option

2017-05-24 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +1881 ___ Python tracker ___ ___

[issue30464] gammavariate has a wrong comment

2017-05-24 Thread Leonardo De Marchi
New submission from Leonardo De Marchi: The gammavariate function in random.py has a wrong comment. It says that when alpha is one it's equivalent to call expovariate(1). We can see that is not true (see graphs) and it should be expovariate(1/beta). It's not a big deal but it can cause

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-24 Thread Mark Shannon
Mark Shannon added the comment: Nathaniel, Do you have any way to reliably test for this failure mode? -- ___ Python tracker ___

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

2017-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nevermind, I saw the PR and the test case. -- ___ Python tracker ___ ___

[issue28647] python --help: -u is misdocumented as binary mode

2017-05-24 Thread Armin Rigo
Changes by Armin Rigo : -- nosy: -arigo ___ Python tracker ___ ___

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

2017-05-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review type: -> behavior ___ Python tracker ___

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-24 Thread Mark Shannon
Mark Shannon added the comment: If all you need is that with foo: pass guarantees that either both or neither of __enter__ and __exit__ are called, for C context managers, and only C context managers, then the fix is trivial. To protect Python code would need a custom context manager

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

2017-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you expand on which exceptions you are getting in the feeder thread? -- nosy: +pitrou ___ Python tracker ___

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

2017-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: The environ class could have its own lock and then the __iter__ method could be rewritten as follows: def __iter__(self): with self._lock: keys = list(self._data) for key in keys: yield self.decodekey(key)

[issue30445] test_traceback fails in coverage run

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: Merged, thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30445] test_traceback fails in coverage run

2017-05-24 Thread Zachary Ware
New submission from Zachary Ware: New changeset 3480ef9dd3177be8c0d71a74853dca6e5b11fbe1 by Zachary Ware (codedragon) in branch 'master': bpo-30445: Allow appended output in RecursionError message https://github.com/python/cpython/commit/3480ef9dd3177be8c0d71a74853dca6e5b11fbe1 --

[issue28647] python --help: -u is misdocumented as binary mode

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1880 ___ Python tracker ___ ___

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Mike
Mike added the comment: My pleasure. And thank you for backporting on my behalf :) -- ___ Python tracker ___

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: Backported. Thanks for the patch, Mike! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: New changeset aa27f0e94f4d9c5ef589984dc2b32d856e8e038f by Zachary Ware in branch '3.5': [3.5] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1792) https://github.com/python/cpython/commit/aa27f0e94f4d9c5ef589984dc2b32d856e8e038f --

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: New changeset a2a9984a278d2ee945e91ce13e000e571794fc24 by Zachary Ware in branch '3.6': [3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793) https://github.com/python/cpython/commit/a2a9984a278d2ee945e91ce13e000e571794fc24 -- nosy:

[issue28647] python --help: -u is misdocumented as binary mode

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1879 ___ Python tracker ___ ___

[issue30461] glob returns results in undeterministic order

2017-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks as a duplicate of issue21748. That behavior was explicitly documented in issue25615. -- nosy: +serhiy.storchaka ___ Python tracker

[issue12345] Add math.tau

2017-05-24 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1878 ___ Python tracker ___

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

2017-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'll apply to 3.6 the same patch as for 3.5 tomorrow. -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue30463] Add __slots__ to ABC convenience class

2017-05-24 Thread Aaron Hall
New submission from Aaron Hall: We have __slots__ with other ABC's, see http://bugs.python.org/issue11333 and http://bugs.python.org/issue21421. There are no downsides to having empty slots on a non-instantiable class, but it does give the option of denying __dict__ creation for subclassers.

[issue30462] urllib does not support NO_PROXY environment variable containing domain with asterisk

2017-05-24 Thread Jiri Hnidek
New submission from Jiri Hnidek: Module urllib contains method proxy_bypass_environment(domain_name). This method check if domain_name should be excluded from proxying. The domain_name is checked against environment variable no_proxy or NO_PROXY. This variable contains comma separated list of

[issue30304] TestCase.assertMultiLineEqual only registered for Unicode strings in 2.7

2017-05-24 Thread Sourav Singh
Sourav Singh added the comment: @Martin I would like to take a stab at the issue. How do I start? -- nosy: +Sourav Singh ___ Python tracker ___

[issue18859] README.valgrind should mention --with-valgrind

2017-05-24 Thread Sourav Singh
Sourav Singh added the comment: Is the issue fixed? -- nosy: +Sourav Singh ___ Python tracker ___ ___

[issue20265] Bring Windows docs up to date

2017-05-24 Thread Sourav Singh
Sourav Singh added the comment: The issue is beileve is fixed now. -- nosy: +Sourav Singh ___ Python tracker ___

[issue9938] Documentation for argparse interactive use

2017-05-24 Thread Sourav Singh
Sourav Singh added the comment: I would like to send a patch for the issue. How do I start -- nosy: +Sourav Singh ___ Python tracker ___

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

2017-05-24 Thread Brett Cannon
Brett Cannon added the comment: Here is why Python does when importing a module that lacks __path__: >>> import importlib >>> del importlib.__path__ >>> import importlib.util Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'importlib.util';

[issue30461] glob returns results in undeterministic order

2017-05-24 Thread Bernhard M. Wiedemann
Changes by Bernhard M. Wiedemann : -- pull_requests: +1877 ___ Python tracker ___ ___

[issue28845] Clean up known issues for AIX

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! I'm going to decline backporting this; let's just focus on the future for this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.5, Python 3.6

[issue30461] glob returns results in undeterministic order

2017-05-24 Thread Bernhard M. Wiedemann
New submission from Bernhard M. Wiedemann: because POSIX readdir does not guarantee any order glob often gives unexpectedly random results. Some background: for openSUSE Linux we build packages in the Open Build Service (OBS) which tracks dependencies, so when e.g. a new glibc is submitted, all

[issue28845] Clean up known issues for AIX

2017-05-24 Thread Zachary Ware
Zachary Ware added the comment: New changeset 7c2f82d158a19ec9ee6b7e259c243e1f06f0434f by Zachary Ware (Eric N. Vander Weele) in branch 'master': bpo-28845: Clean up known issues for AIX (GH-1670) https://github.com/python/cpython/commit/7c2f82d158a19ec9ee6b7e259c243e1f06f0434f --

[issue30460] file opened for updating cannot write after read

2017-05-24 Thread Jeremy Kloth
New submission from Jeremy Kloth: Attempting to append to an existing file fails with no error set: >>> import os, tempfile >>> fd, fn = tempfile.mkstemp() >>> os.write(fd, 'some text') 9 >>> os.close(fd) >>> with open(fn, 'r+') as f: ... f.read() ... f.write('more text') ... 'some

[issue25571] Improve the lltrace feature with the Py_Debug mode

2017-05-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @haypo, you told me there is an alternative to my patch, provided by an other dev. what's the bpo issue for the alternative. -- ___ Python tracker

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset c3454f0e79b35fb81b0426cfac4b801d4495b8ea by Xiang Zhang (Stéphane Wirtel) in branch '3.6': bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1790) https://github.com/python/cpython/commit/c3454f0e79b35fb81b0426cfac4b801d4495b8ea

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +1875 ___ Python tracker ___ ___

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +1876 ___ Python tracker ___ ___

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset ebbefae14039aa86d4c8a7cfab8f2b5a3ef0d241 by Xiang Zhang (Stéphane Wirtel) in branch '3.5': bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1789) https://github.com/python/cpython/commit/ebbefae14039aa86d4c8a7cfab8f2b5a3ef0d241

[issue30442] Skip test_xml_etree under coverage

2017-05-24 Thread Kushal Das
Kushal Das added the comment: New changeset 1de4705d00168afa8c5b6741af02e21fc609af58 by Kushal Das in branch 'master': bpo-30442: Skips refcount test in test_xml_etree under coverage (#1767) https://github.com/python/cpython/commit/1de4705d00168afa8c5b6741af02e21fc609af58 --

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread R. David Murray
R. David Murray added the comment: Pinging the issue is exactly what you needed to do :) As I said on the PR, I'm not set up to do backports yet so hopefully you or someone else will do those. -- stage: -> backport needed versions: +Python 3.5, Python 3.6, Python 3.7

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread R. David Murray
R. David Murray added the comment: New changeset a083c8ee6cb89ca573fe10c4c1922e2fa69ceaa3 by R. David Murray (jugglinmike) in branch 'master': bpo-30160: Clarify intended usage of wfile (gh-1300) https://github.com/python/cpython/commit/a083c8ee6cb89ca573fe10c4c1922e2fa69ceaa3 --

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 779e7c933e777270897b1e35fa9e5b12eee12af9 by Xiang Zhang (Stéphane Wirtel) in branch '2.7': bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1788) https://github.com/python/cpython/commit/779e7c933e777270897b1e35fa9e5b12eee12af9

[issue29102] Add an id field to PyInterpreterState.

2017-05-24 Thread Eric Snow
Eric Snow added the comment: (see issue30447) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2017-05-24 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1874 ___ Python tracker ___ ___

[issue29102] Add an id field to PyInterpreterState.

2017-05-24 Thread Eric Snow
Eric Snow added the comment: Apparently it is PRId64. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30362] Launcher add list and list with paths options

2017-05-24 Thread Steve Barnes
Steve Barnes added the comment: Note that the -0, --list, -0p & --list-path options will only be invoked if they are the only argument to py.exe this mirrors the original implementation of --help. -- ___ Python tracker

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

2017-05-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: Resolved for 3.7, assigning to christian to deal with the backports as I believe he has employer motivation to see those in (should be trivial). -- assignee: gregory.p.smith -> christian.heimes resolution: -> fixed stage: patch review -> backport

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

2017-05-24 Thread Ned Deily
Ned Deily added the comment: Thanks everyone for the input on this issue. We've had some discussions here at PyCon US and I think the consensus is that we all agree with Nathaniel's comment above that, for 3.6.x, that modules built on 3.6.2 (and later 3.6.x) should be importable on any 3.6.x

  1   2   >