[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-07 Thread Mark Shannon
Mark Shannon added the comment: New changeset b1c3167c232c36ed3543ca351ff10c613639b5f5 by Mark Shannon (Michael Blahay) in branch 'master': bpo-27639: Correct return type for UserList slicing operation (#13169) https://github.com/python/cpython/commit/b1c3167c232c36ed3543ca351ff10c613639b5f5

[issue36801] Wait for connection_lost in StreamWriter.drain

2019-05-07 Thread miss-islington
miss-islington added the comment: New changeset 93aa57ac6594d1cc30d147720fc8a7a4e1ca2d3e by Miss Islington (bot) in branch '3.7': bpo-36801: Fix waiting in StreamWriter.drain for closing SSL transport (GH-13098) https://github.com/python/cpython/commit/93aa57ac6594d1cc30d147720fc8a7a4e1ca2d3

[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +13097 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36840] Add stream.abort() async method

2019-05-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: The reason is: until connection_lost() is called the transport is in the active state. Destruction of closing-but-not-closed-yet trasport raises a ResourceWarning. Plain TCP socket calls connection_lost() on the next loop iteration after .abort() call. SS

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-05-07 Thread Miro Hrončok
Miro Hrončok added the comment: > But the impact of the change should probably also be discussed with at least > some of the large distributors. Adapting the Fedora package. Will try to mass rebuild our packages to see what breaks. -- nosy: +hroncok _

[issue36844] abiflag `m` is no longer showing when compiled with --enable-shared

2019-05-07 Thread Anthony Sottile
Anthony Sottile added the comment: +vstinner Hmmm, actually the relevant commit appears to be 6c44fde3e03079e0c69f823dafbe04af50b5bd0d and intentional (I ran a git bisect to find this!) https://github.com/python/cpython/pull/12931 Does PEP 3149 require an update with this change, it still

[issue31589] Links for French documentation PDF is broken: LaTeX issue with non-ASCII characters?

2019-05-07 Thread STINNER Victor
STINNER Victor added the comment: Thanks Julien for taking care of the documentation :-) It is good to have you aboard. -- ___ Python tracker ___ _

[issue36845] ipaddres.IPv4Network and ipaddress.IPv6Network tuple construction will accept out of valid range prefixlen

2019-05-07 Thread Nicolai Moore
New submission from Nicolai Moore : When using the tuple-form of constructing IPv4Network and IPv6Network will accept prefixlen outside of the normal allowed ranges. Example: >>> import ipaddress >>> ipaddress.IPv4Network(('172.21.1.0', 400)) IPv4Network('172.21.1.0/400') If given a negative

[issue36812] posix_spawnp returns error when used with file_actions

2019-05-07 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Ah okay, I'll see what information posix_spawnp() (the C function) returns on error for that case. -- ___ Python tracker ___ __

[issue36812] posix_spawnp returns error when used with file_actions

2019-05-07 Thread STINNER Victor
STINNER Victor added the comment: Depending on your libc implementation and your libc version, you may get more or less info about what gone wrong. The initial issue was not a bug but a mistake in the file mode. I close the issue. -- nosy: +vstinner resolution: -> not a bug stage:

[issue36844] abiflag `m` is no longer showing when compiled with --enable-shared

2019-05-07 Thread Anthony Sottile
Anthony Sottile added the comment: seems intentional => closing -- stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: Updated cert+key committed to pythontestdotnet. reassigning to EWDurbin to see that they're deployed. https://github.com/python/pythontestdotnet/commit/2d121419796dad6d4285bf5aefd464aff0f47a91 -- assignee: gregory.p.smith -> EWDurbin resolution:

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2019-05-07 Thread Ryan Govostes
Ryan Govostes added the comment: Just don’t run the last line which is just an echoing of the output of parser.parse_args() repeated. The Namespace type would need to be imported if you really wanted to but there’s no point. On Tuesday, May 7, 2019, Michael Blahay wrote: > > Michael Blahay a

[issue36846] range_iterator does not use __index__

2019-05-07 Thread Dan Snider
New submission from Dan Snider : I wouldn't even know where to begin to try and find a palatable solution for this that wouldn't be summarily dismissed. Perhaps it isn't unreasonable to suggest PyNumber_Index shouldn't use the less stringent PyLong_Check as the entry to the fast path. That i

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2019-05-07 Thread Windson Yang
Windson Yang added the comment: Hello, @Rémi, are you still working on this issue? -- nosy: +Windson Yang ___ Python tracker ___ ___

[issue33350] WinError 10038 is raised when loop.sock_connect is wrapped with asyncio.wait_for

2019-05-07 Thread yjq
yjq added the comment: updated: I tried the test.py and it didn't show this error. So I think what I got is not the same problem as issue33350 although it shows the same traceback message. -- ___ Python tracker

[issue36847] Segmentation fault (core dumped) Found when we import "schedule" and "mysql.connector" togather.

2019-05-07 Thread Jayesh
New submission from Jayesh : When we import following two library, then coredump found. import sys #!/usr/bin/python import schedule import mysql.connector Python 2.7.12 Ubuntu 16.04 x64 PackageVersion -- --- adium-theme-ubuntu 0.3.4 configparser

[issue36847] Segmentation fault (core dumped) Found when we import "schedule" and "mysql.connector" togather.

2019-05-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. schedule and mysql-connector are not part of standard library distributed with CPython. This tracker deals with issues in CPython. I would propose closing it as third party unless you can reproduce the segfault without third

[issue36847] Segmentation fault (core dumped) Found when we import "schedule" and "mysql.connector" togather.

2019-05-07 Thread Jayesh
Change by Jayesh : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-07 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-07 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36807] IDLE doesn't call os.fsync()

2019-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I watched the talk by Nina Zakharenko at https://www.youtube.com/watch?v=35mXD40SvXM. Since I love being able to save, compile, and run a file with one keystroke, I appreciate people wanting to do the equivalent with CircuitExpress and Adafruit. In IDLE, p

[issue36807] IDLE doesn't call os.fsync()

2019-05-07 Thread Dan Halbert
Dan Halbert added the comment: >Dan, slightly OT, but I am curious whether one can access USB ports (in a >system-dependent manner) directly from python code via os.system and ctypes? Do you mean from CircuitPython? The USB impplementation provides HID keyboard, mouse, and gamepad devices, C

[issue13824] argparse.FileType opens a file and never closes it

2019-05-07 Thread Mitar
Mitar added the comment: > So it's already possible to do what you describe, simply by doing: I think there is an edge case here if a stdin/stdout is opened? It would get closed at exist from the context, no? So I suggest that a slight extension of what open otherwise returns is returned w

[issue33153] interpreter crash when multiplying large tuples

2019-05-07 Thread Inada Naoki
Inada Naoki added the comment: This bug is happened only on x86, not amd64. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The real name of vaultah is Dmitry Kazakov. His PR LGTM. Did you notice that I recreated the original PR? -- ___ Python tracker ___ __

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-07 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : With issue17185 __signature__ was set so that inspect can use this to return signature for mock objects. But in PySide2 it has __signature__ set as a non-writeable property and hence trying to set __signature__ fails. It's actually setting __sign

<    1   2   3