[issue32471] Add an UML class diagram to the collections.abc module documentation

2018-01-25 Thread Yahya Abou Imran
Yahya Abou Imran added the comment: I succeed in submitting a PR and building the doc locally. But there is a little problem of consistency with the abstract methods: in some classes, the inherited one are mentioned (Collection, Sequence, Mapping), but not in

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 5305 for Paul Peny who uses cheap devices (less than 50$, maybe less 20$? I'm not sure) for development, but these devices use old Android versions. It seems like some people are exchanging patches, in private or in

[issue32621] Problem of consistence in collection.abc documentation

2018-01-25 Thread Yahya Abou Imran
Yahya Abou Imran added the comment: There is another one: Reversible list __reversed__ in the abstract method but inherits __iter__ from Iterable. So there is definitely an inconsistency... -- ___ Python tracker

[issue27505] Missing documentation for setting module __class__ attribute

2018-01-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- stage: needs patch -> patch review ___ Python tracker ___

[issue27505] Missing documentation for setting module __class__ attribute

2018-01-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks Nick. I've made the PRs for the versionadded and to add __class__ to the 3.6 docs. -- stage: patch review -> needs patch versions: +Python 3.7 -Python 3.5 ___ Python tracker

[issue27505] Missing documentation for setting module __class__ attribute

2018-01-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +5166 ___ Python tracker ___ ___

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: Build 537 of x86 Tiger 3.x failed, whereas the previous build was a success. Hum, maybe these asyncio failures are "just" race conditions, trigger if the system load is too high? I recall that the Windows 7 buildbot is usually

[issue27505] Missing documentation for setting module __class__ attribute

2018-01-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5165 stage: needs patch -> patch review ___ Python tracker ___

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Thu, Jan 25, 2018 at 02:28:17PM +, R. David Murray wrote: > obviously I missed that mutation of the value > in the code review of the patch that added those lines :( The docstring for send_message does say If the

[issue32667] Failing test_dtrace and test_subprocess on Ubuntu 16.04 on master

2018-01-25 Thread Jay Yin
New submission from Jay Yin : Hello everyone, I've been trying to build the master branch on Ubuntu 16.04 and it currently fails 2 test, I was wondering if this was normal or if I'm missing dependencies, I also tried apt-get build-dev python3.6 and python3.7 to no

[issue32664] Connector "|" missing between ImportError and LookupError

2018-01-25 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +easy stage: -> needs patch versions: +Python 3.7 ___ Python tracker ___

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread R. David Murray
R. David Murray added the comment: Chason: that does look like a bug. Mutable defaults are best to avoid, but if they are used read-only and not passed down further it isn't a problem. send_message was modeled on sendmail, and so copied it's use of defaults (which

[issue10381] Add timezone support to datetime C API

2018-01-25 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +5164 ___ Python tracker ___ ___

[issue10381] Add timezone support to datetime C API

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: Ok, this time it should be fixed for real ;-) -- ___ Python tracker ___

[issue32256] Make patchcheck.py work for out-of-tree builds

2018-01-25 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Any objections to the PR? -- nosy: +belopolsky, eric.araujo ___ Python tracker ___

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2018-01-25 Thread Jan Vlcinsky
Jan Vlcinsky added the comment: The fix shall go to https://github.com/python/cpython/blob/2812d3d99287c50bab99625d7240bcf1c2e32369/Lib/distutils/dist.py#L406 where `parser.read(filename)` shall be changed to `parser.read(filename, encoding="utf-8")` This

[issue32654] Fixes Python for Android API 19

2018-01-25 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pmpp ___ Python tracker ___ ___

[issue10381] Add timezone support to datetime C API

2018-01-25 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +5163 stage: resolved -> patch review ___ Python tracker ___

[issue32236] open() shouldn't silently ignore buffering=1 in binary mode

2018-01-25 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___

[issue32666] Valgrind documentation seems to need updating

2018-01-25 Thread Reuben Thomas
New submission from Reuben Thomas : I have just been trying to use Valgrind (in my case, to debug code in a library being tested via a Cython module). It is working fine, but there seem to be some discrepancies between the documentation in README.valgrind and

[issue32236] open() shouldn't silently ignore buffering=1 in binary mode

2018-01-25 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Any feedback on the updated PR? -- ___ Python tracker ___

[issue32637] Android: set sys.platform to android

2018-01-25 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list

[issue32665] pathlib.Path._from_parsed_parts should call cls.__new__(cls)

2018-01-25 Thread qb-cea
New submission from qb-cea : Hi, I tried subclassing pathlib.Path and provide it with a new attribute (basically an accessor to an extended attribute). I am rather new to the concept of __slots__ and __new__() but here is how I pictured it should look: from errno

[issue32596] Lazy import concurrent.futures.process and thread

2018-01-25 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5162 ___ Python tracker ___ ___

[issue32360] Save OrderedDict imports in various stdlibs.

2018-01-25 Thread INADA Naoki
INADA Naoki added the comment: New changeset 2812d3d99287c50bab99625d7240bcf1c2e32369 by INADA Naoki in branch 'master': bpo-32360: Remove OrderedDict usage from json.tool (GH-5315) https://github.com/python/cpython/commit/2812d3d99287c50bab99625d7240bcf1c2e32369

[issue32360] Save OrderedDict imports in various stdlibs.

2018-01-25 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5161 ___ Python tracker ___ ___

[issue27645] Supporting native backup facility of SQLite

2018-01-25 Thread Lele Gaifax
Lele Gaifax added the comment: I suspect this won't land in 3.7... Let me know if I can do something to make that happen, or instead if I should try to rebase the change on top of current master and rectify references to the Python version. --

[issue32513] dataclasses: make it easier to use user-supplied special methods

2018-01-25 Thread Eric V. Smith
Eric V. Smith added the comment: I'll look at the hash question later today. It's sufficiently complex that I really want to sit down and work through all of the cases. -- ___ Python tracker

[issue32663] SMTPUTF8SimTests are not actually being run

2018-01-25 Thread Chason Chaffin
Change by Chason Chaffin : -- keywords: +patch pull_requests: +5160 stage: -> patch review ___ Python tracker ___

[issue32655] File mode should be a constant

2018-01-25 Thread Nitish
Nitish added the comment: It appears some files like Lib/tokenize.py changes the mode of TextIOWrapper: text = TextIOWrapper(buffer, encoding, line_buffering=True) text.mode = 'r' setting of mode via _PyObject_SetAttrId(wrapper, _mode, modeobj) is done

[issue32664] Connector "|" missing between ImportError and LookupError

2018-01-25 Thread Richard Neumann
New submission from Richard Neumann : In the documentation of the built-in exceptions hierarchy, there is a "|" missing connecting ImportError and LookupError. https://docs.python.org/3/library/exceptions.html#exception-hierarchy >From LookupError.__mro__ we can tell,

[issue32571] Speed up and clean up getting optional attributes in C code

2018-01-25 Thread INADA Naoki
INADA Naoki added the comment: New changeset f320be77ffb73e3b9e7fc98c37b8df3975d84b40 by INADA Naoki (Serhiy Storchaka) in branch 'master': bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222)

[issue32663] SMTPUTF8SimTests are not actually being run

2018-01-25 Thread Chason Chaffin
New submission from Chason Chaffin : In the tests for smtplib, the suite of tests for SMTPUTF8SimTests (added by issue 24218) are not actually being run. This is troublesome in particular, because the test test_send_message_error_on_non_ascii_addrs_if_no_smtputf8 calls

[issue32652] test_distutils: BuildRpmTestCase tests fail on RHEL buildbots

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2b822a0bb1de2612c85d8f75e3ce89eda2ac9f68 by Victor Stinner in branch 'master': bpo-32652: Defer pymain_set_global_config() call (#5303) https://github.com/python/cpython/commit/2b822a0bb1de2612c85d8f75e3ce89eda2ac9f68

[issue10381] Add timezone support to datetime C API

2018-01-25 Thread STINNER Victor
STINNER Victor added the comment: Hunting reference leaks with "./python -m test -R 3:3 test_datetime" crashs since the commit 04af5b1ba9eb546a29735fac6cb5298159069b53. *** vstinner@apu$ ./python -m test -R 3:3 test_datetime Run tests sequentially 0:00:00 load avg:

[issue29708] support reproducible Python builds

2018-01-25 Thread Alexandru Ardelean
Alexandru Ardelean added the comment: Hey, Sorry, if I'm a bit late to the party with this. The road to reproducible builds has a few more steps. The way I validate whether Python is reproducible is with this link:

<    1   2