[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 ___

[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

[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 Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Here's another argument for supporting android < 21: according to Google [1], 12.8% devices on the world run android-19. Furthermore, upgrading Android OS for a device is almost impossible for non-hackers unless the manufacturer provides

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

2018-01-25 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +lukasz.langa, zach.ware ___ Python tracker ___

[issue32574] asyncio.Queue, put() leaks memory if the queue is full

2018-01-25 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[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

[issue32574] asyncio.Queue, put() leaks memory if the queue is full

2018-01-25 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset c47dacb69054f6fe1c2465df585985430f7fe366 by Yury Selivanov (José Melero Fernández) in branch 'master': bpo-32574: Fix leaks in asyncio.Queue.put() and .get() (#5208)

[issue32660] Solaris should support constants like termios' FIONREAD

2018-01-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Solaris has two personalities: System V and BSD. This is not usually an issue but sometimes some constants have a different value in a mode or the other. By default, when including Solaris is in System V mode. We can force BSD mode defining

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-25 Thread Éric Araujo
Éric Araujo added the comment: New changeset 2fc98ae115e2a2095a0bcf388c27a878aafdb454 by Éric Araujo (Bo Bayles) in branch 'master': bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264)

[issue11023] pep 227 missing text

2018-01-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Moved to the PEP issue tracker. https://github.com/python/peps/issues/557 -- nosy: +csabella resolution: -> later stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue32660] Solaris should support constants like termios' FIONREAD

2018-01-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: After doing this change, I see FIVE new symbols in Python's termios: """ FIONREAD, FIONCLEX, FIOCLEX, FIOASYNC, FIONBIO. """ Good enough for now and me. -- ___ Python tracker

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2018-01-25 Thread Bert JW Regeer
Change by Bert JW Regeer : -- nosy: +X-Istence ___ Python tracker ___ ___ Python-bugs-list

[issue32660] Solaris should support constants like termios' FIONREAD

2018-01-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: With this change, a SmarOS native zone exports 206 symbols in Python termios. Before it export 201. By comparison, a Linux Ubuntu 16.04 Python provides 244 symbols. Some references for the future:

[issue32660] Solaris should support constants like termios' FIONREAD

2018-01-25 Thread Jesús Cea Avión
Change by Jesús Cea Avión : -- keywords: +patch pull_requests: +5173 stage: needs patch -> patch review ___ Python tracker ___

[issue32671] redesign Windows os.getlogin, and add os.getuser

2018-01-25 Thread Eryk Sun
New submission from Eryk Sun : os.getlogin() is supposed to return the name of the user logged in on the "controlling terminal" of the process. Windows doesn't have POSIX terminals; however, every process does belong to a terminal/desktop session that can be connected

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

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

[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

[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

[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. --

[issue32360] Save OrderedDict imports in various stdlibs.

2018-01-25 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5161 ___ 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

[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

[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 ___

[issue10381] Add timezone support to datetime C API

2018-01-25 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +5164 ___ 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

[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

[issue32654] Fixes Python for Android API 19

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

[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 ___

[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 ___ ___

[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 ___

[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

[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 ___

[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

[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 ___

<    1   2