[issue38148] Add slots to asyncio transports

2019-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: Note, slots for protocols are provided by 3.8 already. -- ___ Python tracker ___ ___

[issue38148] Add slots to asyncio transports

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +15699 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16077 ___ Python tracker ___

[issue38148] Add slots to asyncio transports

2019-09-12 Thread Andrew Svetlov
New submission from Andrew Svetlov : Transports are abstract interfaces. Adding slots allows using slots in transport implementations as well. If the implementation doesn't use slots -- everything keeps working. Slots can help with saving a memory footprint a little. -- components:

[issue38107] Replace direct future and task contructor calls with factories in asyncio tests

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35810] Object Initialization does not incref Heap-allocated Types

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15698 pull_request: https://github.com/python/cpython/pull/16071 ___ Python tracker ___

[issue38140] Py_tp_dictoffset / Py_tp_finalize are unsettable in stable API

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

[issue30701] Exception parsing certain invalid email address headers

2019-09-12 Thread Tim Bell
Tim Bell added the comment: This appears to be the same issue as subsequently reported in #34155. -- ___ Python tracker ___ ___

[issue36046] support dropping privileges when running subprocesses

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: AIX has the same error as RHEL and Fedora https://buildbot.python.org/all/#/builders/161/builds/1615/steps/5/logs/stdio -- ___ Python tracker

[issue36046] support dropping privileges when running subprocesses

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

[issue36046] support dropping privileges when running subprocesses

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: and some Fedora and RHEL bots are failing with: == ERROR: test_extra_groups (test.test_subprocess.POSIXProcessTestCase)

[issue36046] support dropping privileges when running subprocesses

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: The 'Debian root' buildbot exposed a unittest issue to deal with: https://buildbot.python.org/all/#/builders/27/builds/3702/steps/5/logs/stdio == ERROR: test_user

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

2019-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's one more: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1883, in __call__ return self.func(*args) File

[issue36046] support dropping privileges when running subprocesses

2019-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for working on this. Least privilege is an important security consideration. The world will be a better place if we limit harm from bad or broken actors. -- nosy: +rhettinger ___ Python tracker

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

2019-09-12 Thread Tim Peters
Tim Peters added the comment: Following up, at least under Visual Studio for x86 "it's free" to change the code to add in `perturb` shifted left. The C source: perturb >>= PERTURB_SHIFT; i = (i*5 + (perturb << 1) + 1) & mask; compiles to this, where I added comments relating the

[issue9216] FIPS support for hashlib

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 7cad53e6b084435a220e6604010f1fa5778bd0b1 by Gregory P. Smith (Christian Heimes) in branch 'master': bpo-9216: Add usedforsecurity to hashlib constructors (GH-16044)

[issue34155] [CVE-2019-16056] email.utils.parseaddr mistakenly parse an email

2019-09-12 Thread Roberto C . Sánchez
Roberto C. Sánchez added the comment: I am working on Debian LTS support. I have submitted a PR that contains the necessary adjustments to implement the fix in 2.7. -- nosy: +rcsanchez97 ___ Python tracker

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

2019-09-12 Thread Tim Peters
Tim Peters added the comment: A more principled change would be to replace instances of this: i = (i*5 + perturb + 1) & mask; with this: i = (i*5 + (perturb << 1) + 1) & mask; The latter spelling has no fixed points. That's easy to see: `(perturb << 1) + 1` is necessarily odd,

[issue37455] asyncio.run() error related to finalizing async generators

2019-09-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread Raymond Hettinger
Change by Raymond Hettinger : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue38147] add macro for __builtin_unreachable

2019-09-12 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : GCC (along with Clang and ICC) has __builtin_unreachable() and MSVC has __assume() builtins, that can be used to optimize out unreachable conditions. So we could add macro like this: #ifdef Py_DEBUG # define Py_ASSUME(cond) (assert(cond)) #else # if

[issue38146] QVariant NULL returns anomalous values in equality statements

2019-09-12 Thread John Midgett
New submission from John Midgett : Per PEP 8, equality comparisons to None should use the "is" or "is not" keywords. However, if x is a {QVariant}NULL, the equality statement with the "is" keyword returns FALSE whereas the "==" comparison returns TRUE. Hence where cond = {QVariant}NULL:

[issue38141] Use fewer statics in Argument Clinic.

2019-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Dropping "static" will hit performance. _PyArg_Parser is used at first place because it can cache some data between calls. If drop static, you should drop also _PyArg_Parser and return to old slow arguments parsing. -- nosy: +serhiy.storchaka

[issue38143] plistlib: cleanup PEP8 violations

2019-09-12 Thread Julien Palard
Julien Palard added the comment: Hi Jon, thanks for trying to enhance Python. You should start by reading the devguide [1]. We'd like to enhance the style and may or may not do it in the future, but if we do I'll be all in the single conmit, and I bet using black. We do not accept such

[issue38144] Add the root_dir and dir_fd parameters in glob.glob()

2019-09-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +15696 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16075 ___ Python tracker

[issue38145] Fix short option 'd' in 'distutils' command 'bdist_dumb'

2019-09-12 Thread sinoroc
Change by sinoroc : -- title: Fix short option 'd' in 'scommand 'bdist_dumb' -> Fix short option 'd' in 'distutils' command 'bdist_dumb' ___ Python tracker ___

[issue38145] Fix short option 'd' in 'scommand 'bdist_dumb'

2019-09-12 Thread sinoroc
New submission from sinoroc : In the 'distutils' command 'bdist_dumb', the short option 'd' is used for both the 'bdist-dir' and 'dist-dir' options. The bdist-dir option appeared first on 2000-05-13 in commit: ba0506b The dist-dir option appeared then on 2000-07-05 in commit: c4eb84a There

[issue38144] Add the root_dir and dir_fd parameters in glob.glob()

2019-09-12 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The pattern for the glob() function can be relative and absolute. If it is relative, paths are searched from the current directory. If you want to search them in other directory, you need either change the current directory (which affects other parts of

[issue37455] asyncio.run() error related to finalizing async generators

2019-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, please close as a duplicate. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38143] plistlib: cleanup PEP8 violations

2019-09-12 Thread Jon Janzen
Change by Jon Janzen : -- keywords: +patch pull_requests: +15694 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16074 ___ Python tracker ___

[issue38143] plistlib: cleanup PEP8 violations

2019-09-12 Thread Jon Janzen
New submission from Jon Janzen : There are a series of PEP8 violations in plistlib. Most of them are spacing issues, a few naming issues, and also some unused function parameters and unused imports that can be done away with. -- components: Library (Lib) messages: 352221 nosy:

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 664d56a52eb5b98ac24b2d0cd4a080ffd49fd93d by Miss Islington (bot) in branch '3.8': bpo-38133: Allow py.exe launcher to locate installations from the Microsoft Store (GH-16025)

[issue37967] Beta GPG signature check failing

2019-09-12 Thread Trishank Kuppusamy
Trishank Kuppusamy added the comment: The problem with not authoritatively publishing one or more public keys for the Python tarballs is that no one will know for sure which key to trust. If you naively download the public key associated with a malicious tarball, you would trust it w/o

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15693 pull_request: https://github.com/python/cpython/pull/16073 ___ Python tracker ___

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread Steve Dower
Steve Dower added the comment: New changeset ed93a8852d120c5a3606720edc723bf5aa6a1fc2 by Steve Dower in branch 'master': bpo-38133: Allow py.exe launcher to locate installations from the Microsoft Store (GH-16025)

[issue36046] support dropping privileges when running subprocesses

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: I'm curious to see what weird things the various buildbot platforms find for this one. crossing my fingers. -- ___ Python tracker ___

[issue36046] support dropping privileges when running subprocesses

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 2b2ead74382513d0bb9ef34504e283a71e6a706f by Gregory P. Smith (Patrick McLean) in branch 'master': bpo-36046: Add user and group parameters to subprocess (GH-11950)

[issue38142] Make _hashlib extension module PEP-384 compatible

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +15692 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16071 ___ Python tracker

[issue37455] asyncio.run() error related to finalizing async generators

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this would be fixed by issue38013. Andrew I feel these are the same issues here and can be closed. -- nosy: +xtreak ___ Python tracker

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

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

[issue38142] Make _hashlib extension module PEP-384 compatible

2019-09-12 Thread Christian Heimes
New submission from Christian Heimes : Updated _hashopenssl.c to be PEP 384 compliant. -- assignee: christian.heimes components: Extension Modules messages: 352214 nosy: christian.heimes priority: normal severity: normal status: open title: Make _hashlib extension module PEP-384

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +15691 pull_request: https://github.com/python/cpython/pull/16070 ___ Python tracker ___

[issue5396] os.read not handling O_DIRECT flag

2019-09-12 Thread Paul
Paul added the comment: Michael, I ran into the same issue as you. I got it to work by changing the mmap size to 8K. d = os.open(disk_file_path, os.O_RDWR | os.O_DIRECT | os.O_SYNC | os.O_DSYNC) readbuf = mmap.mmap(-1, 8192) os.lseek(d, 0, os.SEEK_SET) fo = os.fdopen(d, 'rb')

[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds

2019-09-12 Thread Mark Shannon
Mark Shannon added the comment: I expect to fix this is as part of the general improvements I am making to the bytecode, interpreter and compiler. So it should be fixed for 3.9 but not for 3.8 -- ___ Python tracker

[issue17013] Allow waiting on a mock

2019-09-12 Thread Mario Corchero
Mario Corchero added the comment: Spoke offline with @xtreak, I'll be sending a PR for this to take over the existing one. @lisroach proposed a new name, EventMock to differentiate it from any awaitable async notation. @michael.foord suggested using `mock_timeout` as the argument.

[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-09-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37803] "python -m pdb --help" does not work

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 21bfff9a5a766acfbdd899687850f563893a0f9e by Miss Islington (bot) in branch '3.8': closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193) https://github.com/python/cpython/commit/21bfff9a5a766acfbdd899687850f563893a0f9e

[issue37803] "python -m pdb --help" does not work

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 7da8c0aee2039685f3eff878610684f94f7f7873 by Miss Islington (bot) in branch '3.7': closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193) https://github.com/python/cpython/commit/7da8c0aee2039685f3eff878610684f94f7f7873

[issue36876] Global C variables are a problem.

2019-09-12 Thread Eric Snow
Eric Snow added the comment: New changeset 088b63ea7a8331a3e34bc93c3b873c60354b4fad by Eric Snow in branch 'master': bpo-36876: Fix the globals checker tool. (gh-16058) https://github.com/python/cpython/commit/088b63ea7a8331a3e34bc93c3b873c60354b4fad --

[issue37908] Add an example of ArgumentParser.exit()

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker

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

2019-09-12 Thread Tim Peters
Tim Peters added the comment: Something that may be slightly worth pursuing: in j = (5*j + 1) % 2**power to get a full-period sequence hitting every integer in range(2**power) exactly once, the multiplier (5) is a bit delicate (it has to be congruent to 1 mod 4), but the addend (1)

[issue37803] "python -m pdb --help" does not work

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15690 pull_request: https://github.com/python/cpython/pull/16067 ___ Python tracker ___

[issue37803] "python -m pdb --help" does not work

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15689 pull_request: https://github.com/python/cpython/pull/16066 ___ Python tracker ___

[issue37803] "python -m pdb --help" does not work

2019-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 855df7f273c3988c72f01e51ba57091887ec38b2 by Benjamin Peterson (Daniel Hahler) in branch 'master': closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193)

[issue37908] Add an example of ArgumentParser.exit()

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 6dc3e61c511d3e13ce4eac86c8b6abdff58e3617 by Miss Islington (bot) in branch '3.8': bpo-37908: Add an example of ArgumentParser.exit() (GH-15455) https://github.com/python/cpython/commit/6dc3e61c511d3e13ce4eac86c8b6abdff58e3617 -- nosy:

[issue38121] Synchronize importlib.metadata with importlib_metadata 0.22

2019-09-12 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38121] Synchronize importlib.metadata with importlib_metadata 0.22

2019-09-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset a0d4aac50b362f4c33594a86e0e299d3f812e7b1 by Jason R. Coombs in branch '3.8': [3.8] bpo-38121: Sync importlib.metadata with 0.22 backport (GH-15993) (GH-16064) https://github.com/python/cpython/commit/a0d4aac50b362f4c33594a86e0e299d3f812e7b1

[issue37908] Add an example of ArgumentParser.exit()

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset b1a2abdb06408ffc4f13d6ff50351ad49c99afc0 by Stéphane Wirtel (Hai Shi) in branch 'master': bpo-37908: Add an example of ArgumentParser.exit() (GH-15455) https://github.com/python/cpython/commit/b1a2abdb06408ffc4f13d6ff50351ad49c99afc0

[issue37908] Add an example of ArgumentParser.exit()

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15688 pull_request: https://github.com/python/cpython/pull/16065 ___ Python tracker ___

[issue34709] Suggestion: make getpass.getuser() also look at SUDO_USER environment variable

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: Adding a check for SUDO_USER would break existing uses as it would no longer be reporting the user the process is running as. -- assignee: -> gregory.p.smith resolution: -> rejected stage: patch review -> resolved status: open -> closed title:

[issue21872] LZMA library sometimes fails to decompress a file

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks! -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___

[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: While there is technically still time, it'd take people spending dedicated time on it before the 3.8 release. I won't be. Important? Sure. But not urgent; this bug is not new. We've lived with it for many releases already. I believe it has been

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d04c85f5a74e61637ee17e8d4870c6a1d3b07d3e by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010) (GH-16062)

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e3c25fc902eedcd5c593fac58f35645961f55bf4 by Raymond Hettinger (Miss Islington (bot)) in branch '3.7': bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010) (GH-16063)

[issue17013] Allow waiting on a mock

2019-09-12 Thread Lisa Roach
Change by Lisa Roach : -- nosy: +lisroach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: Paul, no worries. Welcome to the team. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38121] Synchronize importlib.metadata with importlib_metadata 0.22

2019-09-12 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +15687 pull_request: https://github.com/python/cpython/pull/16064 ___ Python tracker ___

[issue38141] Use fewer statics in Argument Clinic.

2019-09-12 Thread Larry Hastings
Change by Larry Hastings : -- title: Use less statics in Argument Clinic. -> Use fewer statics in Argument Clinic. ___ Python tracker ___

[issue38123] Unable to find Python3.8.0b4 on Ubuntu 19004 desktop

2019-09-12 Thread Jonathan Gossage
Jonathan Gossage added the comment: I now do not think that it is a Python problem. It only appears when Ubuntu 18.04 is upgraded to 19.04 by the upgrade process. The problem does not show up on a fresh install of Ubuntu 19.04 followed by a source install of Python 3.8.0b4 only if the install

[issue37935] Improve performance of pathlib.scandir()

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 98a4a713d001cf2dfb04a9e318e4aea899bc8fbd by Gregory P. Smith (Miss Islington (bot)) in branch '3.8': bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (GH-15956) (GH-16043)

[issue38141] Use less statics in Argument Clinic.

2019-09-12 Thread Eric Snow
New submission from Eric Snow : (This is a sub-task of bpo-36876, "Global C variables are a problem.".) Currently Argument Clinic generates "_PyArg_Parser _parser" as a static variable. Dropping "static" solves the problem of thread safety (e.g. for subinterpreters not sharing the GIL).

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15686 pull_request: https://github.com/python/cpython/pull/16063 ___ Python tracker ___

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-09-12 Thread Paul Ganssle
Paul Ganssle added the comment: Thanks Joannah! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15685 pull_request: https://github.com/python/cpython/pull/16062 ___ Python tracker ___

[issue38096] Clean up the "struct sequence" / "named tuple" docs

2019-09-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 4210ad5ebd5769f585035e022876e161cd0e9a3e by Raymond Hettinger in branch 'master': bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010) https://github.com/python/cpython/commit/4210ad5ebd5769f585035e022876e161cd0e9a3e

[issue38137] hashopenssl fails to compile on MacOS

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 36c29e444d6bc0e31b46509610d3fb7cff74f2c2 by Miss Islington (bot) (Stéphane Wirtel) in branch '3.8': [3.8] bpo-38137: Re-add OpenSSL 1.0.2 compat (GH-16051) (GH-16057)

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 307c5fe9428b175ff3871a1fdc19bdd7562cfee5 by Miss Islington (bot) in branch '3.8': bpo-37488 : Document a warning for datetime.utcnow() and utcfromtimestamp() (GH-15773)

[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2019-09-12 Thread Ned Deily
Ned Deily added the comment: This issue does not seem to me to be a security issue so would not meet the criteria for backporting to 3.6. -- ___ Python tracker ___

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +15684 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16061 ___ Python tracker ___

[issue38138] test_importlib is leaking references

2019-09-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- title: test_importleak is leaking references -> test_importlib is leaking references ___ Python tracker ___

[issue38108] Everything in Mock should inherit from Base

2019-09-12 Thread Lisa Roach
Change by Lisa Roach : -- keywords: +patch pull_requests: +15683 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16060 ___ Python tracker ___

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +15682 pull_request: https://github.com/python/cpython/pull/16059 ___ Python tracker ___

[issue16690] Reference leak with custom tp_dealloc in PyType_FromSpec

2019-09-12 Thread Petr Viktorin
Petr Viktorin added the comment: This is fixed in Python 3.5+. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38118] Valgrind warnings when running tokenize.py

2019-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> off-by-one error in PyState_AddModule ___ Python tracker

[issue37802] micro-optimization of PyLong_FromSize_t()

2019-09-12 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___

[issue21872] LZMA library sometimes fails to decompress a file

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset a3c53a1b45b05bcb69660eac5a271443b37ecc42 by Miss Islington (bot) in branch '3.7': bpo-21872: fix lzma library decompresses data incompletely (GH-14048) https://github.com/python/cpython/commit/a3c53a1b45b05bcb69660eac5a271443b37ecc42

[issue37802] micro-optimization of PyLong_FromSize_t()

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset c6734ee7c55add5fdc2c821729ed5f67e237a096 by Gregory P. Smith (Sergey Fedoseev) in branch 'master': bpo-37802: Slightly improve perfomance of PyLong_FromUnsigned*() (GH-15192)

[issue38138] test_importleak is leaking references

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close the issue, I have tested with 3.8, there is no leaks with test_importlib, nice ;-) Thanks Dino -- nosy: +matrixise resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue36876] Global C variables are a problem.

2019-09-12 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +15681 pull_request: https://github.com/python/cpython/pull/16058 ___ Python tracker ___

[issue21872] LZMA library sometimes fails to decompress a file

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 824407f76e211a2a19c94d5cb1f39fc422ab62ee by Miss Islington (bot) in branch '3.8': bpo-21872: fix lzma library decompresses data incompletely (GH-14048) https://github.com/python/cpython/commit/824407f76e211a2a19c94d5cb1f39fc422ab62ee

[issue37012] Possible crash due to PyType_FromSpecWithBases()

2019-09-12 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37090] test_gdb's test_pycfunction should test all calling conventions

2019-09-12 Thread Petr Viktorin
Petr Viktorin added the comment: Fixed here and in https://bugs.python.org/issue37499 ( https://github.com/python/cpython/pull/15776 ) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38137] hashopenssl fails to compile on MacOS

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

[issue38138] test_importleak is leaking references

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 8d88e8c662a80c186c7a0e67f1c1f3d4010276f8 by Miss Islington (bot) (Dino Viehland) in branch 'master': bpo-38138: Fix memory leak introduced by interned strings (GH-16053)

[issue36960] Make datetime docs more user-friendly

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 8976359c598f56825648f4e5397b78c5d14ea13c by Miss Islington (bot) in branch '3.8': Overhaul datetime documentation (GH-13410) https://github.com/python/cpython/commit/8976359c598f56825648f4e5397b78c5d14ea13c -- nosy: +miss-islington

[issue36991] zipfile: AttributeError on extract

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 717cc61ed103684b8c73e0e8af10ace345f39f16 by Miss Islington (bot) in branch '3.8': bpo-36991: Fix incorrect exception escaping ZipFile.extract() (GH-13632) https://github.com/python/cpython/commit/717cc61ed103684b8c73e0e8af10ace345f39f16

[issue37141] Allow multiple separators in Stream.readuntil

2019-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: please do -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38137] hashopenssl fails to compile on MacOS

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 9a4963b932a087b78596cca0b8394ac898faa490 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-38137: Re-add OpenSSL 1.0.2 compat (GH-16051) https://github.com/python/cpython/commit/9a4963b932a087b78596cca0b8394ac898faa490

[issue21872] LZMA library sometimes fails to decompress a file

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 4ffd05d7ec47cfd0d7fc95dce851633be9663255 by Gregory P. Smith (animalize) in branch 'master': bpo-21872: fix lzma library decompresses data incompletely (GH-14048)

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

  1   2   3   >