[issue35263] Add None handling for get_saved() in IDLE

2019-09-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> IDLE's close fails when io.filename set to None ___ Python tracker

[issue35479] multiprocessing.Pool.join() always takes at least 100 ms

2019-09-13 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- pull_requests: +15744 pull_request: https://github.com/python/cpython/pull/10564 ___ Python tracker ___

[issue35379] IDLE's close fails when io.filename set to None

2019-09-13 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- keywords: +patch pull_requests: +15743 stage: -> patch review pull_request: https://github.com/python/cpython/pull/10564 ___ Python tracker

[issue38128] IDLE undo calls get_saved() when set to None

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: None.get_saved (closing shell) was reported in #35263. None.filename (closing editor) was reported in #35379. Up-to-date reports in one page were a bit helpful. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: ->

[issue38160] Add a "PyInterpreterState *" field to PyTypeObject.

2019-09-13 Thread Stefan Behnel
Stefan Behnel added the comment: I think access to the global module state is the most critical for an extension, probably by far. A direct pointer to the interpreter state from every type feels like an optimisation that may be premature at this point. Modules should have that reference,

[issue37806] Infinite recursion with typing.get_type_hints

2019-09-13 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35379] IDLE's close fails when io.filename set to None

2019-09-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The get_saved tracebacks reported in #35263 and #38128 are the same except for line numbers. The more recent, from 3 days ago on Mac. Exception in Tkinter callback Traceback (most recent call last): File

[issue21872] LZMA library sometimes fails to decompress a file

2019-09-13 Thread Ma Lin
Ma Lin added the comment: Some memos: 1, In liblzma, these missing bytes were copied inside `dict_repeat` function: 788 case SEQ_COPY: 789 // Repeat len bytes from distance of rep0. 790 if (unlikely(dict_repeat(, rep0, ))) { See liblzma's source

[issue38167] O_DIRECT read fails with 4K mmap buffer

2019-09-13 Thread Paul
Paul added the comment: This is the platform that I'm working on as well as the failure. I have a review out for a fix. # uname -a Linux init129-13 3.10.0-957.el7.x86_64 x86_64 x86_64 x86_64 GNU/Linux # python3.7 directread.py Traceback (most recent call last): File "small.py", line 7, in

[issue38167] O_DIRECT read fails with 4K mmap buffer

2019-09-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: Works just fine for me on 3.7.3 on Ubuntu, reading 4096 bytes. How is it failing for you? Is an exception raised? It does seem faintly dangerous to explicitly use O_DIRECT when you're wrapping it in a buffered reader that doesn't know it has to read in

[issue38105] hash collision when hash(x) == -2 causes many calls to __eq__

2019-09-13 Thread Tim Peters
Tim Peters added the comment: Some results of the "add perturb shifted left 1 instead" approach. These come from using an old pile of Python code I have that allows for easy investigation of different collision probe strategies. - As expected, because it has no fixed points, there are no

[issue37806] Infinite recursion with typing.get_type_hints

2019-09-13 Thread hongweipeng
hongweipeng added the comment: Sorry, the link is https://github.com/python/cpython/pull/15400 . -- ___ Python tracker ___ ___

[issue37806] Infinite recursion with typing.get_type_hints

2019-09-13 Thread hongweipeng
hongweipeng added the comment: This report can be closed, PR #15400 has solved this issue. -- nosy: +hongweipeng ___ Python tracker ___

[issue33095] Cross-reference isolated mode from relevant locations

2019-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset bdd6945d4dbd1fe6a7fcff95f7d6908db7d791a1 by Nick Coghlan (Xtreak) in branch 'master': bpo-33095: Add reference to isolated mode in -m and script option (GH-7764) https://github.com/python/cpython/commit/bdd6945d4dbd1fe6a7fcff95f7d6908db7d791a1

[issue38052] Include sspipe Module with Core Python

2019-09-13 Thread Guido van Rossum
Guido van Rossum added the comment: I'm going to close this. I find your example hard to understand. If you want to discuss this on python-ideas or discourse, go ahead, but this is not ready for a PEP or for stdlib inclusion. -- resolution: -> wont fix stage: -> resolved status:

[issue38167] O_DIRECT read fails with 4K mmap buffer

2019-09-13 Thread Paul
Change by Paul : -- pull_requests: +15742 pull_request: https://github.com/python/cpython/pull/16131 ___ Python tracker ___ ___

[issue38167] O_DIRECT read fails with 4K mmap buffer

2019-09-13 Thread Paul
Change by Paul : -- keywords: +patch pull_requests: +15741 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16130 ___ Python tracker ___

[issue38167] O_DIRECT read fails with 4K mmap buffer

2019-09-13 Thread Paul
New submission from Paul : The following Python3 script fails. import mmap import os fd = os.open(path_to_file, os.O_DIRECT | os.O_RDWR) fo = os.fdopen(fd, 'rb+') m = mmap.mmap(-1, 4096) fo.readinto(m) But it worked for Python2. It also works for any other multiple of 4K. For example: m =

[issue35727] sys.exit() in a multiprocessing.Process does not align with Python behavior

2019-09-13 Thread Christopher Hunt
Christopher Hunt added the comment: > I believe the mentality behind multiprocessing.Process triggering an exit > code of 1 when sys.exit() is invoked inside its process is to indicate a > non-standard exit out of its execution. Can I ask what this is based on? I did a pretty good amount of

[issue38052] Include sspipe Module with Core Python

2019-09-13 Thread Juan Telleria
Juan Telleria added the comment: Even if it is not currently mainstream, piping (tidy and readable code, left to right), should be a foundation, not just a module. -- ___ Python tracker

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-13 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38052] Include sspipe Module with Core Python

2019-09-13 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry to burst your bubble, but I don't see a reason to include this in the stdlib. Is there any reason why it can't be a dependency living on PyPI just like the packages you used in the example (numpy, pandas)? Surely this isn't a category killer? You

[issue38166] ast identifies incorrect column for compound attribute lookups

2019-09-13 Thread Justin McCann
New submission from Justin McCann : This issue is related to https://github.com/microsoft/vscode-python/issues/7327 and https://github.com/PyCQA/pylint/issues/3103 For compound attribute access in variable references like a.b.c.d, the AST reports the column of the first variable/attribute in

[issue36274] http.client cannot send non-ASCII request lines

2019-09-13 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5396] os.read not handling O_DIRECT flag

2019-09-13 Thread Michael Mol
Michael Mol added the comment: I wound up writing it in C++ instead, and my then-employer eventually opened my code. https://github.com/VirtualInterconnect/diskstress -- ___ Python tracker

[issue37953] Fix ForwardRef equality checks

2019-09-13 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37953] Fix ForwardRef equality checks

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset e91edfed4214dbae17b8906b5dc7778769aac620 by Miss Islington (bot) in branch '3.8': bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) https://github.com/python/cpython/commit/e91edfed4214dbae17b8906b5dc7778769aac620 -- nosy:

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15740 pull_request: https://github.com/python/cpython/pull/16129 ___ Python tracker ___

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bf169915ecdd42329726104278eb723a7dda2736 by Serhiy Storchaka in branch 'master': bpo-38005: Fixed comparing and creating of InterpreterID and ChannelID. (GH-15652)

[issue37953] Fix ForwardRef equality checks

2019-09-13 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset e082e7cbe4a934b86f7a07354d97d4e14a9dd46a by Ivan Levkivskyi (plokmijnuhby) in branch 'master': bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) https://github.com/python/cpython/commit/e082e7cbe4a934b86f7a07354d97d4e14a9dd46a

[issue37953] Fix ForwardRef equality checks

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15739 pull_request: https://github.com/python/cpython/pull/16128 ___ Python tracker ___

[issue38152] AST change introduced tons of reference leaks

2019-09-13 Thread Eddie Elizondo
Change by Eddie Elizondo : -- keywords: +patch pull_requests: +15738 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16127 ___ Python tracker ___

[issue38152] AST change introduced tons of reference leaks

2019-09-13 Thread Eddie Elizondo
Eddie Elizondo added the comment: I have a fix for this coming up. -- nosy: +eelizondo ___ Python tracker ___ ___ Python-bugs-list

[issue33214] join method for list and tuple

2019-09-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: Note that all of Serhiy's examples are for a known, fixed number of things to concatenate/union/merge. str.join's API can be used for that by wrapping the arguments in an anonymous tuple/list, but it's more naturally for a variable number of things, and the

[issue38165] freezes when loading a program on imports

2019-09-13 Thread Evgeniy Mischuk
Evgeniy Mischuk added the comment: best interface site dont care about my eyes -- ___ Python tracker ___ ___ Python-bugs-list

[issue38165] freezes when loading a program on imports

2019-09-13 Thread Evgeniy Mischuk
Evgeniy Mischuk added the comment: https://drive.google.com/file/d/1tJhgN9mwyPrgQc2YCmuwKioH-65Y42l-/view?usp=sharing -- ___ Python tracker ___

[issue38165] freezes when loading a program on imports

2019-09-13 Thread Evgeniy Mischuk
Change by Evgeniy Mischuk : -- keywords: +patch pull_requests: +15737 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16126 ___ Python tracker ___

[issue38165] freezes when loading a program on imports

2019-09-13 Thread Evgeniy Mischuk
New submission from Evgeniy Mischuk : freezes when loading a program on imports because user rights are insufficient python installed on c:/ and requires administrator rights when run program from not root user -- components: Windows messages: 352384 nosy: Evgeniy Mischuk, paul.moore,

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset cf25765cf79a5bd19ba90a535a51367d6177f2bc by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) (GH-16113)

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 3906920cfecba83d529f8755f5ec2e53e49f9e90 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.7': bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) (GH-16114)

[issue24416] Have date.isocalendar() return a structseq instance

2019-09-13 Thread Paul Ganssle
Paul Ganssle added the comment: The current state of the PR doesn't hinge on the pure Python implementation, we went with a very simple tuple subclass to keep the two more closely in sync and because we don't need any of the additional functionality that namedtuple brings, but if it were

[issue32790] Keep trailing zeros in precision for string format option g

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your PR and this issue, the PR is merged into master, 3.8 and 3.7. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker

[issue32790] Keep trailing zeros in precision for string format option g

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset e6b14c026fd9045a0d460b62dbcb512fca4c64ec by Miss Islington (bot) in branch '3.8': bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624) https://github.com/python/cpython/commit/e6b14c026fd9045a0d460b62dbcb512fca4c64ec

[issue38162] Import Long Load

2019-09-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +15736 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16120 ___ Python tracker ___

[issue32790] Keep trailing zeros in precision for string format option g

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset 77878cadc58aaca234482dffbb5fe89c74c026fa by Miss Islington (bot) in branch '3.7': bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624) https://github.com/python/cpython/commit/77878cadc58aaca234482dffbb5fe89c74c026fa

[issue24416] Have date.isocalendar() return a structseq instance

2019-09-13 Thread Tim Peters
Tim Peters added the comment: I agree with Raymond here: using collections.namedtuple is fine in the pure Python version. Since Raymond checked in doc changes to purge the phrase "struct sequences" (thanks again for that!), it's consistent with everything else now for the new datetime

[issue32790] Keep trailing zeros in precision for string format option g

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15734 pull_request: https://github.com/python/cpython/pull/16121 ___ Python tracker ___

[issue32790] Keep trailing zeros in precision for string format option g

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15735 pull_request: https://github.com/python/cpython/pull/16122 ___ Python tracker ___

[issue32790] Keep trailing zeros in precision for string format option g

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset d44542f9a231bf725ecd82eb640a672c759a8227 by Stéphane Wirtel (bchhabra2490) in branch 'master': bpo-32790: Add info about alt format using # for 'g' in chart (GH-6624)

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you, I close this issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33082] multiprocessing docs bury very important 'callback=' args

2019-09-13 Thread Davin Potts
Davin Potts added the comment: I appreciate the functionality offered by the callbacks and have found good uses for them, as Chad clearly does/has. That said, the thought of expanding the documentation on the callbacks had not come up for me. Reading through the proposed changes to the

[issue38163] AsyncMock child mocks should detect their type

2019-09-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24416] Have date.isocalendar() return a structseq instance

2019-09-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: It's okay for the pure python equivalent to use collections.namedtuple so long as the C code uses structseq. As Serhiy points out, there is no need to reinvent the wheel. -- ___ Python tracker

[issue38164] polishing asyncio Streams API

2019-09-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38164] polishing asyncio Streams API

2019-09-13 Thread Yury Selivanov
Change by Yury Selivanov : -- title: poloshing asyncio Streams API -> polishing asyncio Streams API ___ Python tracker ___ ___

[issue38164] poloshing asyncio Streams API

2019-09-13 Thread Yury Selivanov
New submission from Yury Selivanov : Summary of discussion at https://github.com/python-trio/trio/issues/1208: * `asyncio.Stream.write()` will start throwing a `DeprecationWarning` asking people to add an `await` if they didn't; * `asyncio.Stream.close()` will start throwing a

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 53ff2ca89feb90c1fbf2605321bcef35b457f16f by Stéphane Wirtel in branch '3.8': [3.8] bpo-38150: Fix refleak in the finalizer of a _testcapimodule type (GH-16115) (GH-16118)

[issue38098] Special Characters Don't Work When Using Virtual Environment

2019-09-13 Thread Eryk Sun
Eryk Sun added the comment: > pyreadline (2.1) The problem is pyreadline. It uses a low-level console read, but it fails to account for the Alt+Numpad sequence of input records that the console uses for non-OEM characters. IIRC, the Unicode character is only sent in the final input record

[issue38163] AsyncMock child mocks should detect their type

2019-09-13 Thread Lisa Roach
New submission from Lisa Roach : We want child mocks to match their "type" (async or sync). Ex: class Prod: async def foo(): pass def bar(): pass a_mock = AsyncMock(Prod) isinstance(a_mock.foo(), AsyncMock) == True isinstance(a_mock.bar(), MagicMock) == True Also this

[issue32092] mock.patch with autospec does not consume self / cls argument

2019-09-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, lisroach, mariocj89, xtreak versions: +Python 3.9 -Python 2.7 ___ Python tracker ___

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset 436b429ade87b10879b3f944e99a515478e86e5e by Miss Islington (bot) in branch '3.8': bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environment (GH-16098)

[issue33082] multiprocessing docs bury very important 'callback=' args

2019-09-13 Thread Julien Palard
Julien Palard added the comment: I agree Antoine on this one, if one want the result, It'll get it from the returned value (.get method in the example), or simply by using the not-async versions and directly get the results as a return value of the call. Also the given example in the

[issue38162] Import Long Load

2019-09-13 Thread Evgeniy Mischuk
New submission from Evgeniy Mischuk : for in TMP_MAX dont break and always continue -- components: Windows messages: 352365 nosy: Evgeniy Mischuk, paul.moore, steve.dower, tim.golden, zach.ware priority: normal pull_requests: 15733 severity: normal status: open title: Import Long Load

[issue33082] multiprocessing docs bury very important 'callback=' args

2019-09-13 Thread Julien Palard
Julien Palard added the comment: I'd wait for Davin's review, but I'd keep the documentation as they are. -- ___ Python tracker ___

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +15732 pull_request: https://github.com/python/cpython/pull/16118 ___ Python tracker ___

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset a67ac2f2d9550e5a36d28f9b6eeacf6575dda2d5 by Miss Islington (bot) (Eddie Elizondo) in branch 'master': bpo-38150 Fix refleak in the finalizer of a _testcapimodule type (GH-16115)

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-13 Thread Steve Dower
Steve Dower added the comment: Thanks for the report and partial patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 14fd925a18fe3db0922a7d798e373102fe7a8a9c by Stéphane Wirtel (Michael Foord) in branch 'master': bpo-38122: minor fixes to AsyncMock spec handling (GH-16099) https://github.com/python/cpython/commit/14fd925a18fe3db0922a7d798e373102fe7a8a9c

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-13 Thread Vinay Sharma
Vinay Sharma added the comment: A common use for the same can be shared memory. Currently shared memory can be used by unrelated processes, but there is no mechanism as such to synchronise them at the moment. -- ___ Python tracker

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset f2b7556ef851ac85e7cbf189d1b29fdeb9539b88 by Miss Islington (bot) (Steve Dower) in branch 'master': bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environment (GH-16098)

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15731 pull_request: https://github.com/python/cpython/pull/16116 ___ Python tracker ___

[issue35727] sys.exit() in a multiprocessing.Process does not align with Python behavior

2019-09-13 Thread Davin Potts
Davin Potts added the comment: I believe the mentality behind multiprocessing.Process triggering an exit code of 1 when sys.exit() is invoked inside its process is to indicate a non-standard exit out of its execution. There may yet be other side effects that could be triggered by having a

[issue5396] os.read not handling O_DIRECT flag

2019-09-13 Thread Paul
Paul added the comment: I've dug into stracing this python program in 2.7 vs. 3.7. directread.py import mmap import os fd = os.open('/dev/dm-2', os.O_DIRECT | os.O_RDWR) # mapped block device fo = os.fdopen(fd, 'rb+') m = mmap.mmap(-1, 4096) fo.readinto(m) Python 2.7 result: ...

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Eddie Elizondo
Change by Eddie Elizondo : -- keywords: +patch pull_requests: +15730 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16115 ___ Python tracker ___

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15729 pull_request: https://github.com/python/cpython/pull/16114 ___ Python tracker ___

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586 by Gregory P. Smith in branch 'master': bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) https://github.com/python/cpython/commit/5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15728 pull_request: https://github.com/python/cpython/pull/16113 ___ Python tracker ___

[issue37199] Test suite fails when Ipv6 is unavailable

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset 83c21fdc36070f9fa3eb3b68181630e2cc6480fe by Miss Islington (bot) in branch '3.8': bpo-37199: Replace the early returns added in c2cda63. (GH-14535) https://github.com/python/cpython/commit/83c21fdc36070f9fa3eb3b68181630e2cc6480fe --

[issue37609] support "UNC" device paths in ntpath.splitdrive

2019-09-13 Thread Eryk Sun
Eryk Sun added the comment: Please consult the attached file "splitdrive.py". I redesigned splitdrive() to support "UNC" and "GLOBAL" junctions in device paths. I relaxed the design to allow repeated separators everywhere except for the UNC root. IIRC, Windows has supported this since XP.

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Eddie Elizondo
Eddie Elizondo added the comment: > Checking for refleak takes between 2 and 6 hours. Ouch! Makes sense then. We could potentially add a `pre-merge` job that only runs once the merge starts to get executed. Anyways, that's a conversation for another time :-) --- Thanks Stephane I'm very

[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset 2ccb50cf773881255c5669942a093eb68ad042f6 by Miss Islington (bot) (Joannah Nanjekye) in branch 'master': bpo-37449: Move ensurepip off of pkgutil and to importlib.resources (GH-15109)

[issue38161] AsyncMock add `.awaited` like `.called`

2019-09-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: awaited is now initialized with an Event object. Do you had any use case in mind while designing it? I think it's a good choice to have True/False instead of being used to give an Event object that is not used. -- nosy: +xtreak type: ->

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-09-13 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset d6a9d17d8b6c68073931dd8ffa213b4ac351a4ab by Paul Ganssle (Elizabeth Uselton) in branch 'master': bpo-37555: Update _CallList.__contains__ to respect ANY (#14700) https://github.com/python/cpython/commit/d6a9d17d8b6c68073931dd8ffa213b4ac351a4ab

[issue37199] Test suite fails when Ipv6 is unavailable

2019-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +15727 pull_request: https://github.com/python/cpython/pull/16112 ___ Python tracker ___

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Eddie, For the next time, when you change something in the C part, you could run the tests with this command: ./python -m test test_capi -R 3:3 -- nosy: +matrixise ___ Python tracker

[issue38098] Special Characters Don't Work When Using Virtual Environment

2019-09-13 Thread Spandan Garg
Spandan Garg added the comment: This is the output of pip list with venv active: (aladdin_windows_env) C:\Users\t-spga\Documents\workspace\aladdin_windows_env>pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a

[issue37199] Test suite fails when Ipv6 is unavailable

2019-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 81319a81b2a3f42fe1047c2e6f5fd958faab6cdb by Benjamin Peterson (Zackery Spytz) in branch 'master': bpo-37199: Replace the early returns added in c2cda63. (GH-14535)

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread STINNER Victor
STINNER Victor added the comment: > Also, I thought that the PR build bots already ran refleak tests by default? > Do you know why this it's not integrated to the PR flow? Checking for refleak takes between 2 and 6 hours. We would like to keep our pre-commit CI fast enough (less than 30

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread Eddie Elizondo
Eddie Elizondo added the comment: On it. Also, I thought that the PR build bots already ran refleak tests by default? Do you know why this it's not integrated to the PR flow? -- nosy: +eelizondo ___ Python tracker

[issue38161] AsyncMock add `.awaited` like `.called`

2019-09-13 Thread Lisa Roach
New submission from Lisa Roach : Currently Mock has a `.called` attribute, we could add an equivalent `.awaited` that returns True or False if the object has been awaited on. -- messages: 352345 nosy: lisroach priority: normal severity: normal status: open title: AsyncMock add

[issue37879] Segfaults in C heap type subclasses

2019-09-13 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue: the change caused a regression on the Refleak buildbot workers: bpo-38150. -- nosy: +vstinner resolution: fixed -> status: closed -> open ___ Python tracker

[issue38150] test_capi: test_c_subclass_of_heap_ctype_with_del_modifying_dunder_class_only_decrefs_once() leaks

2019-09-13 Thread STINNER Victor
STINNER Victor added the comment: The new test was added by: commit ff023ed36ea260ab64be5895f1f1f087c798987a Author: Eddie Elizondo Date: Wed Sep 11 05:17:13 2019 -0400 bpo-37879: Suppress subtype_dealloc decref when base type is a C heap type (GH-15323) --

[issue36274] http.client cannot send non-ASCII request lines

2019-09-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've started drafting a patch at https://github.com/python/cpython/tree/feature/putrequest-hooks -- ___ Python tracker ___

[issue26140] inspect.iscoroutinefunction raises TypeError when checks Mock of function or coroutinefunction

2019-09-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: I believe with AsyncMock implemented we can close the issue -- ___ Python tracker ___ ___

[issue38019] asyncio subprocess AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader'

2019-09-13 Thread Marat Sharafutdinov
Change by Marat Sharafutdinov : -- title: AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader' -> asyncio subprocess AttributeError: 'NoneType' object has no attribute '_add_reader' / '_remove_reader' versions: +Python 3.6, Python 3.8, Python 3.9

[issue36274] http.client cannot send non-ASCII request lines

2019-09-13 Thread Jason R. Coombs
Jason R. Coombs added the comment: I believe this issue is more recent and widespread than I originally thought. I realized today that CherryPy is affected by this issue and [disabled nightly tests](https://github.com/cherrypy/cherrypy/issues/1781#issuecomment-507836873) as a result. It

[issue25068] The proxy key's string should ignore case.

2019-09-13 Thread miss-islington
miss-islington added the comment: New changeset 590ed09a5b422d59cc1f049c64ac30733545eef0 by Miss Islington (bot) in branch '3.8': bpo-25068: urllib.request.ProxyHandler now lowercases the dict keys (GH-13489) https://github.com/python/cpython/commit/590ed09a5b422d59cc1f049c64ac30733545eef0

[issue38155] Add __all__ to the datetime module

2019-09-13 Thread Dong-hee Na
Dong-hee Na added the comment: Good news, When this issue is solved. Can we solve the issue from https://github.com/python/cpython/pull/15633 ? -- nosy: +corona10 ___ Python tracker

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list

[issue34706] Signature.from_callable sometimes drops subclassing

2019-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

  1   2   3   >