[issue27572] Support bytes-like objects when base is given to int()

2018-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-17 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reedy > Gabriel, I believe I addressed most your concerns in my previous post. I don't think so (see below) but we don't have to agree in everything. :) > Are you are suggesting that we judge proposals _by the proposer_, rather than > the substance of

[issue26979] The danger of PyType_FromSpec()

2018-09-17 Thread Petr Viktorin
Petr Viktorin added the comment: Ah! It seems you don't need access to all tp_* slots of any type here, but just to PyType.tp_new – only one specific type, and only one specific slot. Specifically, you need a way to create class with a metaclass, from C. Is that right? Or was this only an exam

[issue34704] Do not access ob_type directly, introduce Py_TP

2018-09-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: IMHO there doesn't need to be a new API unless the semantics change w.r.t Py_TYPE (for example by adding an API that returns an owned reference instead of a borrowed reference). Py_TYPE can work with an opaque version of PyObject by turning it into a func

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread Alexandru Ardelean
New submission from Alexandru Ardelean : See: https://github.com/openwrt/packages/pull/7051 The issue seems a bit older ; see comment: https://github.com/python/cpython/pull/3943#discussion_r148949292 Build error happens on OpenWrt as well: ---

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread Alexandru Ardelean
Change by Alexandru Ardelean : -- keywords: +patch pull_requests: +8770 stage: -> patch review ___ Python tracker ___ ___ Python-bu

[issue34711] Fix test_httpservers on AIX

2018-09-17 Thread Michael Felt
New submission from Michael Felt : Going back to issue17234 - there has been a test to check that a URL with a trailing slash reports 404 status. On AIX a trailing-slash is ignored - if the rest of the path is a valid filename. At a very low-level, in Modules/_io/fileio.c the code could be a

[issue26544] platform.libc_ver() returns incorrect version number

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems the only difference between PR 8952 and PR 9062 is additional tests. This is not important. -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue22851] 2.7 core crashes with generator.gi_frame.f_restricted

2018-09-17 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8771 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue22851] 2.7 core crashes with generator.gi_frame.f_restricted

2018-09-17 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34711] Fix test_httpservers on AIX

2018-09-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: This is also an issue on Windows when the target path resides within a junction, paths outside of a junction respond (err, fail) as expected. https://developercommunity.visualstudio.com/content/problem/272379/createfile-non-error-on-filename-with-trailing-bac.h

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e0e5065daef36dafe10a46eaa8b7800274d73062 by Serhiy Storchaka in branch 'master': bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113) https://github.com/python/cpython/commit/e0e5065daef36dafe10a46eaa8b7800274d73062 ---

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8772 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8773 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue26979] The danger of PyType_FromSpec()

2018-09-17 Thread Christian Tismer
Christian Tismer added the comment: > ... Specifically, you need a way to create class with a metaclass, from C. > > Is that right? Or was this only an example of a larger problem? Yes, you are exactly right. I needed access to very few fields. In particular: PyTypeObject.tp_init PyTy

[issue34707] Python not reentrant

2018-09-17 Thread Eric V. Smith
Eric V. Smith added the comment: I think this is along the lines of a recent discussion on the c-api mailing list about passing a context value (your handle) to every C call. See this message for some discussion: https://mail.python.org/mm3/archives/list/capi-...@python.org/message/ZN6BJVUGI

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread Christian Heimes
Christian Heimes added the comment: New changeset b3a271fc0ce3e13e427be8914decfc205a220ca8 by Christian Heimes (Alexandru Ardelean) in branch 'master': bpo-34710: fix SSL module build (GH-9347) https://github.com/python/cpython/commit/b3a271fc0ce3e13e427be8914decfc205a220ca8 -- ___

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8775 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8774 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue26979] The danger of PyType_FromSpec()

2018-09-17 Thread Christian Tismer
Christian Tismer added the comment: If somebody is interested to see how the transition to the Limited API was done, here is the documentation that I was forced to write :) https://github.com/pyside/pyside2-setup/blob/5.11/sources/shiboken2/libshiboken/pep384impl_doc.rst -- _

[issue34707] Python not reentrant

2018-09-17 Thread john skaller
john skaller added the comment: eric: yes, that's relevant. Very happy it is discussed. Contrary to some indication in the post, passing a context handle around everywhere is NOT a burden at all. My system does exactly that. I would note, API's which already require, say, an interpreter hand

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 1d3078849381335008379e3de96d5a81d2131113 by Miss Islington (bot) in branch '3.7': bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113) https://github.com/python/cpython/commit/1d3078849381335008379e3de96d5a81d2131113

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset f35e4d5851555d66f1e7a36b2a37f0d82b3d1706 by Miss Islington (bot) in branch '3.6': bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113) https://github.com/python/cpython/commit/f35e4d5851555d66f1e7a36b2a37f0d82b3d1706

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8777 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5e99b56d6b249995a4fa2bc09c0bb03841f49572 by Serhiy Storchaka in branch 'master': bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784) https://github.com/python/cpython/commit/5e99b56d6b249995a4fa2bc09c0bb03841f49572 -

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset afa591d7748c66831e6e650108024f3293be33f1 by Serhiy Storchaka in branch '2.7': [2.7] bpo-33216: Clarify the documentation for CALL_FUNCTION_* (GH-8338) (GH-8783) https://github.com/python/cpython/commit/afa591d7748c66831e6e650108024f3293be33f1

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8776 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8778 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34711] Fix test_httpservers on AIX

2018-09-17 Thread Michael Felt
Michael Felt added the comment: On 17/09/2018 12:47, Jeremy Kloth wrote: > Jeremy Kloth added the comment: > > This is also an issue on Windows when the target path resides within a > junction, paths outside of a junction respond (err, fail) as expected. > > https://developercommunity.visuals

[issue12458] Tracebacks should contain the first line of continuation lines

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset da8d72c953369b872a12c13f136ada77a786714a by Serhiy Storchaka in branch 'master': bpo-12458: Fix line numbers for multiline expressions. (GH-8774) https://github.com/python/cpython/commit/da8d72c953369b872a12c13f136ada77a786714a -- _

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset e2c0aea670d603b187733606a4601d77f355bc47 by Miss Islington (bot) in branch '3.7': bpo-34710: fix SSL module build (GH-9347) https://github.com/python/cpython/commit/e2c0aea670d603b187733606a4601d77f355bc47 -- nosy: +miss-islington ___

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset fff869e2a0ee3d2d65973d82e57f05479828f5a3 by Miss Islington (bot) in branch '3.6': bpo-34710: fix SSL module build (GH-9347) https://github.com/python/cpython/commit/fff869e2a0ee3d2d65973d82e57f05479828f5a3 -- _

[issue34341] Appending to ZIP archive blows up existing Central Directory entries

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8779 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34341] Appending to ZIP archive blows up existing Central Directory entries

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9bdb7be482aef8f60daa1d36606568a132dcb616 by Serhiy Storchaka in branch 'master': bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683) https://github.com/python/cpython/commit/9bdb7be482aef8f60daa1d36606568a132dcb616 -

[issue34341] Appending to ZIP archive blows up existing Central Directory entries

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8780 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Larry for your rewriting. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34624] -W option does not accept module regexes

2018-09-17 Thread Thomas Gläßle
Change by Thomas Gläßle : -- keywords: +patch pull_requests: +8781 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue34624] -W option does not accept module regexes

2018-09-17 Thread Thomas Gläßle
Thomas Gläßle added the comment: Thanks for your response. I have opened a PR at [1] that would remove the re.escape such that the implementation matches the documentation if you decide that this is fine. [1]: https://github.com/python/cpython/pull/9358 Personally, I would go even further an

[issue23278] multiprocessing maxtasksperchild=1 + logging = task loss

2018-09-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34341] Appending to ZIP archive blows up existing Central Directory entries

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset efdf316d23c2bc81f499c46faaba5e1b49509afa by Miss Islington (bot) in branch '3.7': bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683) https://github.com/python/cpython/commit/efdf316d23c2bc81f499c46faaba5e1b49509afa --

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset f8e34eee74871b3343f6c3545bce41242ba378e8 by Miss Islington (bot) in branch '3.7': bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784) https://github.com/python/cpython/commit/f8e34eee74871b3343f6c3545bce41242ba378e8 --

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 1e7193bd027a5a4aa1a387e3f201a3e465c25f01 by Miss Islington (bot) in branch '3.6': bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784) https://github.com/python/cpython/commit/1e7193bd027a5a4aa1a387e3f201a3e465c25f01 --

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34341] Appending to ZIP archive blows up existing Central Directory entries

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 83a0985165abf340294c10d732840e9d46ba218c by Miss Islington (bot) in branch '3.6': bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683) https://github.com/python/cpython/commit/83a0985165abf340294c10d732840e9d46ba218c --

[issue34676] Guarantee that divmod() and PyNumber_Divmod() return a 2-tuple

2018-09-17 Thread Paul Ganssle
Paul Ganssle added the comment: @Serhiy I like the "convert to a tuple" idea before returning *better*, though I think I'd prefer to just check that it's tuple-like, something like: if not all(hasattr(return_val, attr) for attr in ['__getitem__', '__len__']) or len(return_val) != 2:

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 5f883fcb9b50b8335953b3849b7f224d5cd59d56 by Miss Islington (bot) (Christian Heimes) in branch '2.7': [2.7] bpo-34710: fix SSL module build (GH-9347) (GH-9353) https://github.com/python/cpython/commit/5f883fcb9b50b8335953b3849b7f224d5cd59d56 --

[issue31635] test_strptime failure on OpenBSD

2018-09-17 Thread Paul Ganssle
Paul Ganssle added the comment: @Serhiy Looking more closely at #13414, I think there's a good chance that we've just discovered a different bug in OpenBSD's implementation of wcsftime (or strftime). Looks like OpenBSD 6.1 was released in 2017, which should have been years after the fix from

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread Michael Felt
Change by Michael Felt : -- components: +IO title: Fix test_httpservers on AIX -> return ENOTDIR when open() accepts filenames with a trailing slash ___ Python tracker ___ ___

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread Michael Felt
Michael Felt added the comment: OK - issue17324 (not 1 7 2 3 4) And, as jkloth reported that Windows also has an issue - sometimes, found a way to do this in Modules/_io/fileio.c diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index c0e43e0ae4..3623ff16ea 100644 --- a/Modules/_io/fi

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +8782 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> compile error ___ Python tracker ___

[issue34710] SSL Module build fails with more pedantic compiler flags

2018-09-17 Thread Christian Heimes
Christian Heimes added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30455] Generate C code from token.py and not vice versa

2018-09-17 Thread Emily Morehouse
Change by Emily Morehouse : -- pull_requests: +8783 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2018-09-17 Thread Eric Snow
Eric Snow added the comment: @Neil, we're definitely on the same page. In fact, in a world where subinterpreters do not share a GIL, we can't ever use an object in one interpreter that was created in another (due to thread safety on refcounts). The role of "tightly controlling" passing/sha

[issue34707] Python not reentrant

2018-09-17 Thread Eric Snow
Eric Snow added the comment: Also see PEP 432 ("Restructuring the CPython startup sequence"), which is still in the process of fine-tuning. -- nosy: +eric.snow, ncoghlan, vstinner ___ Python tracker ___

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue34712] Style fixes in examples of "Input and Output" tutorial section

2018-09-17 Thread Ben Hoyt
New submission from Ben Hoyt : There are a couple of examples in the "Input and Output" section of the tutorial that use an unusual / non-PEP 8 Python style or whitespace. I think our examples, especially in the tutorial, should reflect good, PEP 8 style. I'll fix these in a PR which I'll att

[issue34712] Style fixes in examples of "Input and Output" tutorial section

2018-09-17 Thread Ben Hoyt
Change by Ben Hoyt : -- keywords: +patch pull_requests: +8784 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue34712] Style fixes in examples of "Input and Output" tutorial section

2018-09-17 Thread Ben Hoyt
Ben Hoyt added the comment: GitHub PR link with changes and commit notes attached. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue30140] Binary arithmetic does not always call subclasses first

2018-09-17 Thread Guido van Rossum
Guido van Rossum added the comment: If anyone cares, here's what I recall of the history of this feature. Originally my design was just 1. try left arg's __op__ 2. if that returns NotImplemented, try right arg's __rop__ That's simple to explain and usually works. But when thinking through ed

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: > I'd strongly prefer to just go back to the PEP 538 design. It's much simpler > to implement, we don't actually want anyone turning off locale coercion > except for debugging purposes (unlike UTF-8 mode), and the only argument > against doing this the way P

[issue34691] _contextvars missing in x64 master branch Windows build?

2018-09-17 Thread Steve Dower
Steve Dower added the comment: It looks like _contextvars has both its own project and is also built as part of pythoncore.vcxproj. However, _contextvars.vcxproj is not in PCbuild.sln, which means when you build through Visual Studio (rather than with build.bat via pcbuild.proj), you don't

[issue34691] _contextvars missing in x64 master branch Windows build?

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: > How much do you think it hurts to have it always loaded into memory, even if > it hasn't truly been imported or used? I'd be fine with that. Would you be able to do the necessary change (I don't have VS at hand)? -- _

[issue34713] csvwriter.writerow()'s return type is undocumented

2018-09-17 Thread Nicholas Chammas
New submission from Nicholas Chammas : It _looks_ like csvwriter.writerow() returns the number of bytes (or is it characters?) written. However, there is no documentation of this: https://docs.python.org/3.7/library/csv.html#csv.csvwriter.writerow Is this behavior part of the method's "contra

[issue34688] Segfault in pandas that works fine on 3.7

2018-09-17 Thread Vladimir Matveev
Vladimir Matveev added the comment: somewhat shortened repro that fails with the same error on master: ``` import pandas import numpy now = pandas.Timestamp.now() arr = numpy.array([ ['a', now] for i in range(0, 3)]) arr.sum(0) ``` -- nosy: +v2m __

[issue34713] csvwriter.writerow()'s return type is undocumented

2018-09-17 Thread Nicholas Chammas
Nicholas Chammas added the comment: Looks like it's bytes written, not characters: ``` >>> import csv >>> with open('test.csv', 'w', newline='') as csv_file: ... csv_writer = csv.writer( ... csv_file, ... dialect='unix', ... ) ... csv_writer.writerow('야 너') # 3 char

[issue34691] _contextvars missing in x64 master branch Windows build?

2018-09-17 Thread Steve Dower
Steve Dower added the comment: Shouldn't need VS for this change (updating the SLN file generally does need it). I'm happy to do it though. In case someone else gets to it before me: * delete _contextvars.vcxproj and remove all references from PCbuild and Tools/msi * add _contextvars entries

[issue34689] Lib/sysconfig.py expands non-variables

2018-09-17 Thread Erwan Le Pape
Change by Erwan Le Pape : -- keywords: +patch pull_requests: +8786 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34688] Segfault in pandas that works fine on 3.7

2018-09-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Pandas issue that contains other segfaults : https://github.com/pandas-dev/pandas/issues/22714 Thanks -- ___ Python tracker ___ _

[issue34712] Style fixes in examples of "Input and Output" tutorial section

2018-09-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread Steve Dower
Steve Dower added the comment: Ned - I don't think this is necessarily a release blocker, as we've been shipping it for a long time, but it would be nice if we can hold 3.7.1rc1 just long enough to get it in (provided Christian jumps in and says he'll get the last minor concerns on the PRs w

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34713] csvwriter.writerow()'s return type is undocumented

2018-09-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread Steve Dower
Steve Dower added the comment: New changeset c6fd1c1c3a65217958b68df3a4991e4f306e9b7d by Steve Dower in branch 'master': bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158) https://github.com/python/cpython/commit/c6fd1c1c3a65217958b68df3a4991e4f306e9b7d --

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8787 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8788 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34714] timeout in test_multiprocessing_spawn x86 Windows7 3.x buildbot

2018-09-17 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/58/builds/1338/steps/3/logs/stdio Timeout (0:15:00)! Thread 0x09d8 (most recent call first): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\multiprocessing\popen_spawn_win32.py", lin

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 1229664f30dd5fd4da32174a19258f8312464d45 by Miss Islington (bot) in branch '3.7': bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158) https://github.com/python/cpython/commit/1229664f30dd5fd4da32174a19258f8312464d45 --

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Example: https://buildbot.python.org/all/#/builders/87/builds/1434 ./Modules/timemodule.c:573:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] p->tm_zone = PyUn

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting returns commit 5633c4f342d as possible culprit -- ___ Python tracker ___ ___ Pyt

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 394374e30c85f6eacddbbfc7471aab62b54ce021 by Yury Selivanov in branch 'master': bpo-33649: Add low-level APIs index. (GH-9364) https://github.com/python/cpython/commit/394374e30c85f6eacddbbfc7471aab62b54ce021 -- ___

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2018-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.4 and 3.5 only get security fixes and I doubt this qualifies. I reproduced the described behavior with 3.7 on Win 10, so it is not Mac-specific. Python sys.stdout: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> IDLE's sys.stdout: The PseudoFiles ar

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30140] Binary arithmetic does not always call subclasses first

2018-09-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34686] Add `-r`, as opposed to `-R` to Python core interpreter

2018-09-17 Thread Erwan Le Pape
Erwan Le Pape added the comment: Given that marshal basically only just dumps code objects, the only viable solution I can see is adding a flag that can be passed all the way to the AST from `Python/bltinmodule.c:builtin_compile_impl` that would sort elements when creating code objects of un

[issue34716] MagicMock.__divmod__ should return a pair

2018-09-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : It is documented, that divmod() returns a pair. It is usually used with tuple unpacking: x, y = divmod(a, b) But this doesn't work when one of arguments is a MagicMock. >>> from unittest.mock import * >>> x, y = divmod(MagicMock(), 2) Traceback (mos

[issue34716] MagicMock.__divmod__ should return a pair

2018-09-17 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Reverting afde1c1a05c and 5633c4f342d fixes the issue. -- nosy: -p-ganssle ___ Python tracker ___ ___

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34676] Guarantee that divmod() and PyNumber_Divmod() return a 2-tuple

2018-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +MagicMock.__divmod__ should return a pair ___ Python tracker ___ ___ Python-bugs-list

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +8789 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread Ned Deily
Ned Deily added the comment: We discussed this last week at the sprint. Christian, it would be great if you could get this merged for 3.7 and possibly 3.6 in the next 24 hours. -- ___ Python tracker __

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +8790 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 9366 to fix the compilation of timemodule.c on FreeBSD. -- nosy: +vstinner ___ Python tracker ___

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1fb399ba4e977e697d194769070316247237f68e by Victor Stinner in branch 'master': bpo-34715: Revert "Simplify PyInit_timezone. (GH-9323)" (GH-9366) https://github.com/python/cpython/commit/1fb399ba4e977e697d194769070316247237f68e --

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7484bdfd1e2e33fdd2c44dd4ffa044aacd495337 by Victor Stinner in branch 'master': bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277) https://github.com/python/cpython/commit/7484bdfd1e2e33fdd2c44dd4ffa044aacd495337 --

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8791 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8792 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
New submission from Yury Selivanov : I'd like to remove the ":numbered:" option from Doc/library/index.rst TOC. Most standard library modules don't have extensive documentation, but some, for example asyncio, have. For such modules, numbering makes title to contain too much noise. Sphinx d

  1   2   >