[issue40745] Typo in library/typing

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset b38bda6e90741a989db2fe321e8b98d5a5c4 by Miss Islington (bot) in branch '3.8': bpo-40745: Fix typos in NewType docs (GH-20379) https://github.com/python/cpython/commit/b38bda6e90741a989db2fe321e8b98d5a5c4 --

[issue40745] Typo in library/typing

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 6597e2af83e947d18706a3c2a463a7b728974a64 by Miss Islington (bot) in branch '3.9': bpo-40745: Fix typos in NewType docs (GH-20379) https://github.com/python/cpython/commit/6597e2af83e947d18706a3c2a463a7b728974a64 --

[issue40745] Typo in library/typing

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19671 pull_request: https://github.com/python/cpython/pull/20411 ___ Python tracker ___

[issue40745] Typo in library/typing

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 2b0e654f91f28379c6c7ef5fd80e8754afb70935 by ziheng in branch 'master': bpo-40745: Fix typos in NewType docs (GH-20379) https://github.com/python/cpython/commit/2b0e654f91f28379c6c7ef5fd80e8754afb70935 -- nosy: +miss-islington

[issue40745] Typo in library/typing

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19670 pull_request: https://github.com/python/cpython/pull/20410 ___ Python tracker ___

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b03e0ee226b72da737dd0fbf39b635d13bcc220d by Benjamin Peterson in branch '3.9': [3.9] closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) (#20407)

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 1f2cc7cedee1a768ee43151c115f6e338751eb8c by Miss Islington (bot) in branch '3.8': closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403)

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +19669 pull_request: https://github.com/python/cpython/pull/20407 ___ Python tracker ___

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a by sth in branch 'master': closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) https://github.com/python/cpython/commit/4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19668 pull_request: https://github.com/python/cpython/pull/20406 ___ Python tracker

[issue35808] Let's retire pgen

2020-05-25 Thread Ammar Askar
Change by Ammar Askar : -- nosy: +ammar2 nosy_count: 7.0 -> 8.0 pull_requests: +19667 pull_request: https://github.com/python/cpython/pull/20405 ___ Python tracker ___

[issue40755] Add missing multiset predicates to collections.Counter

2020-05-25 Thread Vedran Čačić
Vedran Čačić added the comment: isequal is really strange considering we're talking about Python here. Do any of other stdlib types have that method instead of just using == (which works fine even now)? I'd even spell the second and third as <= and >=, same as set does. But if we're finally

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-25 Thread Sidhant Bansal
Sidhant Bansal added the comment: Hi Remi, I understand your concerns with the current approach to resolve this issue. I would like to propose a new/different change to the way `csv.writer` works. I am putting here the diff of how the updated docs

[issue38964] Output of syntax error in f-string contains wrong filename

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 791a46ed58f74d673cf2c0d81deec57155bf7583 by Lysandros Nikolaou in branch '3.9': [3.9] bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399) (GH-20404)

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-05-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Joshua, Go for it! :-) Please take a look at https://devguide.python.org for how to get started and let us know if you have any questions. -- ___ Python tracker

[issue37824] IDLE: Handle Shell input warnings properly.

2020-05-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: I added a commit to the PR to show warnings once. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38964] Output of syntax error in f-string contains wrong filename

2020-05-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +19666 pull_request: https://github.com/python/cpython/pull/20404 ___ Python tracker ___

[issue38964] Output of syntax error in f-string contains wrong filename

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f7b1e461567e5e3fa3ba46f589d9edc1b45b2dd0 by Lysandros Nikolaou in branch 'master': bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399)

[issue39673] Map errno==ETIME to TimeoutError

2020-05-25 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: First, let me say I like Giampaolo's TimeoutExpired *much* better as the name for this kind of exception! But that ship has sailed. I don't understand Giampaolo's comment. If I understand the claim correctly, the problem is that people who should be

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6cb0ad20396116b5076a58b05b55286d6d5e0c94 by Lysandros Nikolaou in branch '3.9': bpo-40246: Fix test_fstring when run with the old parser (GH-20402) https://github.com/python/cpython/commit/6cb0ad20396116b5076a58b05b55286d6d5e0c94

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch pull_requests: +19665 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20403 ___ Python tracker ___

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +19664 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/20402 ___ Python tracker ___

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Stephan Hohe
New submission from Stephan Hohe : The [documentation][1] for asyncio.create_subprocess_shell() contains an "important" block about quoting special characters. This block and the following deprecation note belong to this specific function, but are not correctly indented and shown at module

[issue37824] IDLE: Handle Shell input warnings properly.

2020-05-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: Terry, I put this into debug and found the reason it's printing the warning three times. In `codeop.py`, it's running `_maybe_compile` and there are three try statements: ``` def _maybe_compile(compiler, source, filename, symbol): # Check for source

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-05-25 Thread Joshua Walden
Joshua Walden added the comment: I am interesting in contributing and would like to claim this issue. -- nosy: +Joshua Walden ___ Python tracker ___

[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'IDLE' is an application implemented by Lib/idlelib. At least on Windows, application startup executables (like pip.exe, on Windows) are normally installed in /Scripts, at least on Windows. What, precisely, in 'installed in /usr/bin'? By 'shell prompt',

[issue5846] Deprecate obsolete functions in unittest

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch nosy: +erlendaasland nosy_count: 3.0 -> 4.0 pull_requests: +19663 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20400 ___ Python tracker

[issue40736] better message for re.search TypeError ("expected string or bytes-like object")

2020-05-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: I already started one actually. But if I don't get to it in a week, I'll make a note here and you can take it up. -- ___ Python tracker ___

[issue38964] Output of syntax error in f-string contains wrong filename

2020-05-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38964] Output of syntax error in f-string contains wrong filename

2020-05-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch nosy: +lys.nikolaou nosy_count: 4.0 -> 5.0 pull_requests: +19662 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20399 ___ Python tracker

[issue40558] update CONTRIBUTING.rst docs

2020-05-25 Thread Zachary Ware
Zachary Ware added the comment: The very tiny disk on buildbot.python.org had filled up; its had some space cleared and is now working again. -- ___ Python tracker ___

[issue40766] Add support for SQLITE_DIRECTONLY and SQLITE_INNOCUOUS for user-defined functions

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +19661 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20398 ___ Python tracker

[issue30008] OpenSSL 1.1.0 deprecated functions

2020-05-25 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19660 pull_request: https://github.com/python/cpython/pull/20397 ___ Python tracker ___

[issue39673] Map errno==ETIME to TimeoutError

2020-05-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm -1 about TimeoutError because the concept of "timeout" is generic enough to be often implemented as a custom exception, which poses questions re. backward/forward compatibilty. E.g. in psutil I have "TimeoutExpired", also providing a "seconds"

[issue40558] update CONTRIBUTING.rst docs

2020-05-25 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: Hello all, they don't seem to be working now? Thanks. -- nosy: +amaajemyfren ___ Python tracker ___

[issue40761] unittest.TestCase.assertTrue return True even if the expr is False

2020-05-25 Thread Zachary Ware
Zachary Ware added the comment: `unittest.TestCase.assertTrue` is simple enough (the entire implementation is copied below) that there is almost no way for it to fail to raise some kind of exception when its first argument is not truthy: def assertTrue(self, expr, msg=None):

[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-25 Thread paul rubin
paul rubin added the comment: I'm using Debian 10 MATE live install and have been running IDLE by clicking an icon on the top panel, but I just tried running IDLE from the shell prompt in a terminal window, and also see /usr/bin in the path. In both cases, the output of

[issue40688] PEG Generator: Fix scripts to always use the correct parser

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 3c6c86ab77464e6bcb489064d0ec1be5d1b19f3a by Miss Islington (bot) in branch '3.9': bpo-40688: Use the correct parser in the peg_generator scripts (GH-20235) https://github.com/python/cpython/commit/3c6c86ab77464e6bcb489064d0ec1be5d1b19f3a

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 318a18eb889e8733ffb25ada139fdd423606a609 by Miss Islington (bot) in branch '3.9': bpo-23082: Better error message for PurePath.relative_to() from pathlib (GH-19611)

[issue40688] PEG Generator: Fix scripts to always use the correct parser

2020-05-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-05-25 Thread Cheryl Sabella
New submission from Cheryl Sabella : Please only work on this issue if it would be your first contribution to CPython. The rendering for 'retval' description at the bottom of the pdb doc page isn't quite right. https://docs.python.org/3/library/pdb.html -- assignee: docs@python

[issue40688] PEG Generator: Fix scripts to always use the correct parser

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 9645930b5bc1833ef495891d22052d1ba65ab7ea by Lysandros Nikolaou in branch 'master': bpo-40688: Use the correct parser in the peg_generator scripts (GH-20235)

[issue40688] PEG Generator: Fix scripts to always use the correct parser

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19659 pull_request: https://github.com/python/cpython/pull/20396 ___ Python tracker

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-25 Thread Steve Dower
Steve Dower added the comment: I think we can safely say this is by design (I know Jason got his backport working). > Understood. However, this statement assumes the "correct path" is the most > precise path to resolve the target. If you instead define "correct path" as > the one that

[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-05-25 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Patch release is out now: https://www.sqlite.org/releaselog/3_32_1.html -- ___ Python tracker ___

[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- title: Upgrade to SQLite v3.32.0 in Windows and macOS builds -> Upgrade to SQLite v3.32.1 in Windows and macOS builds ___ Python tracker

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread Steve Dower
Steve Dower added the comment: New changeset 448325369ff73011d34d6c3a493014fe3ead8843 by Rotuna in branch 'master': bpo-23082: Better error message for PurePath.relative_to() from pathlib (GH-19611) https://github.com/python/cpython/commit/448325369ff73011d34d6c3a493014fe3ead8843

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread Steve Dower
Change by Steve Dower : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +19658 pull_request: https://github.com/python/cpython/pull/20395 ___ Python tracker

[issue40750] Support -d flag in the new parser

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 31084be618b6b7602d58e4d21ceef2e65ed8ef1b by Miss Islington (bot) in branch '3.9': bpo-40750: Do not expand the new parser debug flags if Py_BUILD_CORE is not defined (GH-20393)

[issue40754] ModuleNotFoundError: No module named '_testinternalcapi' under Win10

2020-05-25 Thread Zachary Ware
Zachary Ware added the comment: At a guess, it looks like we're not including that module in the Windows installer. And indeed, it looks like it's left out of Tools/msi/test/test_files.wxs if you would like to provide a PR :) On the other hand, I'm not sure that test (and any other

[issue32280] Expose `_PyRuntime` through a section name

2020-05-25 Thread Steve Dower
Steve Dower added the comment: It looks fine to me, but we probably want to clearly document it as unsupported/likely to change between releases/etc., especially since it's relying on an assumption that we want to change (one static runtime per process). --

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-05-25 Thread Steve Dower
Steve Dower added the comment: Sorry, Windows 7 is no longer supported in Python 3.9. You'll need to update, ideally to Windows 10, but if you want to stay on Windows 8.1 then I believe that one's supported until Python 3.10. -- resolution: -> not a bug stage: -> resolved status:

[issue40558] update CONTRIBUTING.rst docs

2020-05-25 Thread Zachary Ware
Zachary Ware added the comment: New changeset 2377a9bae3f698efaa81ff0426d0feb14c9f6329 by Hai Shi in branch 'master': Closes bpo-40558: update CONTRIBUTING.rst to reflect current branches (GH-19989) https://github.com/python/cpython/commit/2377a9bae3f698efaa81ff0426d0feb14c9f6329

[issue40750] Support -d flag in the new parser

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19657 pull_request: https://github.com/python/cpython/pull/20394 ___ Python tracker ___

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset deb4355a37e41edf1199920789fe9572c1fb43c2 by Pablo Galindo in branch 'master': bpo-40750: Do not expand the new parser debug flags if Py_BUILD_CORE is not defined (GH-20393)

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-25 Thread Ram Rachum
Ram Rachum added the comment: Brett: Oh well, I understand. Looking at the devguide, I can't find where this is written. I'm interested in seeing how it's phrased, because I do think that tiny, incremental changes are important. I would want to know why, for example, my change

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19656 pull_request: https://github.com/python/cpython/pull/20393 ___ Python tracker ___

[issue23721] Set up a daily test coverage run

2020-05-25 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30008] OpenSSL 1.1.0 deprecated functions

2020-05-25 Thread Christian Heimes
Christian Heimes added the comment: Yes, it's still relevant. I haven't got time to look into the matter yet. -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-25 Thread Brett Cannon
Brett Cannon added the comment: > Is this an axiom or is the reasoning written down somewhere? It should be written down in the devguide at devguide.python.org. I agree with Serhiy that this isn't really adding anything by making the code that much more readable, idiomatic, or faster to

[issue40756] Second argument of LoggerAdapter.__init__ should default to None

2020-05-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> vinay.sajip nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40771] python3 fromtimestamp generates OSError

2020-05-25 Thread SilentGhost
SilentGhost added the comment: You seem to have read the docs, so I'm a bit confused why you think that is a bug. According to https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp > fromtimestamp() may raise OverflowError, if the timestamp is out of the range >

[issue30008] OpenSSL 1.1.0 deprecated functions

2020-05-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: @christian.heimes, is this issue and PR still relevant? You mention 3.8 in msg291343. Thanks! -- nosy: +cheryl.sabella ___ Python tracker

[issue40772] module 'resource' has no attribute 'RLIMIT_VMEM'

2020-05-25 Thread Titusz Ban
New submission from Titusz Ban : While trying to limit the virtual memory used by a process, using import resource MAX_VIRTUAL_MEMORY = 1 * 1024 * 1024 resource.setrlimit(resource.RLIMIT_VMEM, (MAX_VIRTUAL_MEMORY, MAX_VIRTUAL_MEMORY)) The following error occurred: AttributeError: module

[issue40737] Fix possible reference leak for sqlite3 initialization

2020-05-25 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- title: Handle PyModule_AddObject() error correctly in sqlite3 -> Fix possible reference leak for sqlite3 initialization ___ Python tracker

[issue40750] Support -d flag in the new parser

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 82da2c3eb4d69b55d9e300ab5d9c1d22bd09b9cd by Miss Islington (bot) in branch '3.9': bpo-40750: Support -d flag in the new parser (GH-20340) https://github.com/python/cpython/commit/82da2c3eb4d69b55d9e300ab5d9c1d22bd09b9cd --

[issue40763] zipfile.extractall is safe by now

2020-05-25 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: Hi, On Mon, May 25, 2020 at 10:18 AM Va wrote: > > So, the big red warning in Python 3 documentation might be relevant only for > Python < 2.7.4, not for any Python 3 version. > You may be on to something. It does appear to be what was discussed in

[issue40750] Support -d flag in the new parser

2020-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19655 pull_request: https://github.com/python/cpython/pull/20392 ___ Python tracker

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 800a35c623bbcdb5793c7d7a4974524286311479 by Pablo Galindo in branch 'master': bpo-40750: Support -d flag in the new parser (GH-20340) https://github.com/python/cpython/commit/800a35c623bbcdb5793c7d7a4974524286311479 --

[issue40750] Support -d flag in the new parser

2020-05-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-25 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 7d847e29d76b178c2db66b180065771b4d90c78f by Dong-hee Na in branch 'master': bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391) https://github.com/python/cpython/commit/7d847e29d76b178c2db66b180065771b4d90c78f --

[issue40764] Conflation of Counter with Multiset

2020-05-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: For the most part, Counter() works fine with negative counts. The update() and subtract() methods were specifically designed to work with negative values. Nothing prevents use cases with negative counts. In addition, there are some methods like

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-25 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +19654 pull_request: https://github.com/python/cpython/pull/20391 ___ Python tracker ___

[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-25 Thread Andy Lester
Change by Andy Lester : -- nosy: +petdance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-25 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset ad3252bad905d41635bcbb4b76db30d570cf0087 by Dong-hee Na in branch 'master': bpo-39573: Convert Py_TYPE() to a static inline function (GH-20290) https://github.com/python/cpython/commit/ad3252bad905d41635bcbb4b76db30d570cf0087 --

[issue40771] python3 fromtimestamp generates OSError

2020-05-25 Thread Jim Carroll
New submission from Jim Carroll : We encountered an interesting mtime problem in the field, that I believe represents a bug in python's datetime timestamp handling. A file stored on a windows server had the last-modified date '1/1/4501' (that's the year 4501). os.path.getmtime() returns a

[issue39465] [subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2020-05-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19653 pull_request: https://github.com/python/cpython/pull/20390 ___ Python tracker ___

[issue40748] Tutorial 4.7 More on Defining Functions missing screen prompts

2020-05-25 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: On Sun, May 24, 2020 at 11:34 PM Chas Belov wrote: > > I'm guessing your point is that we only need to show >>> and ... when there > will be print output so that we need to distinguish between what is input and > what is output. > Yes, that is my

[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-25 Thread Miro Hrončok
Miro Hrončok added the comment: Side note: linkchecker can be installed via pip, but the released version is not Python 3 compatible. In Fedora, we package it from git. -- ___ Python tracker

[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-25 Thread Miro Hrončok
New submission from Miro Hrončok : In Fedora, we run the following check when we build Python documentation: # Verify that all of the local links work # # (we can't check network links, as we shouldn't be making network connections # within a build. Also, don't bother checking the .txt source

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 9a5e643483578c3a944ceb5aa511d6c24280aedc by Miss Islington (bot) in branch '3.9': bpo-39245: Fix docs links to the stable ABI (GH-20388) https://github.com/python/cpython/commit/9a5e643483578c3a944ceb5aa511d6c24280aedc --

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset e50883ccc4bfa198c3d5e3367306324fc49730cb by Miro Hrončok in branch 'master': bpo-39245: Fix docs links to the stable ABI (GH-20388) https://github.com/python/cpython/commit/e50883ccc4bfa198c3d5e3367306324fc49730cb -- nosy:

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19652 pull_request: https://github.com/python/cpython/pull/20389 ___ Python tracker ___

[issue39245] Public API for Vectorcall (PEP 590)

2020-05-25 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok nosy_count: 2.0 -> 3.0 pull_requests: +19651 pull_request: https://github.com/python/cpython/pull/20388 ___ Python tracker ___

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 20b2bf318345170502b9840673594a5a12a40829 by Miss Islington (bot) in branch '3.9': bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) https://github.com/python/cpython/commit/20b2bf318345170502b9840673594a5a12a40829

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset 331b2dfadb2a5dd990145c043d006166e568af7b by Miss Islington (bot) in branch '3.8': bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) https://github.com/python/cpython/commit/331b2dfadb2a5dd990145c043d006166e568af7b

[issue40768] pyaudio

2020-05-25 Thread SilentGhost
Change by SilentGhost : -- resolution: -> third party stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +gvanrossum, lys.nikolaou, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +19650 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20387 ___ Python tracker ___

[issue29882] Add an efficient popcount method for integers

2020-05-25 Thread Mark Dickinson
Mark Dickinson added the comment: > For example, should numpy.int64 get this method as well? That's for the NumPy folks to decide (and I've added Nathaniel Smith to the nosy in case he wants to comment), but I don't see any particularly strong reason that NumPy would need to add it. It

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : $ python -X oldparser Python 3.10.0a0 (heads/bpo-x:f2947e354c, May 21 2020, 18:54:57) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> (()): int File "", line 1 SyntaxError: only single target

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-25 Thread Ido Michael
Ido Michael added the comment: Does it includes the FancyURLopener? This class is derived from URLopener. Also what needs to be done? Remove the URLopener, URLopener_Tests and DummyURLopeners ? -- nosy: +Ido Michael ___ Python tracker

[issue40769] Pegen: cover extra surrounding parentheses for invalid annotated assignment

2020-05-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40736] better message for re.search TypeError ("expected string or bytes-like object")

2020-05-25 Thread Ido Michael
Ido Michael added the comment: I agree it should be more informative and have the same standard as the rest of the Errors messages. Can I start a PR? -- nosy: +Ido Michael ___ Python tracker

[issue10572] Move test sub-packages to Lib/test

2020-05-25 Thread Ido Michael
Change by Ido Michael : -- nosy: -Ido Michael ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34397] remove redundant overflow checks in tuple and list implementations

2020-05-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation

2020-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +19648 pull_request: https://github.com/python/cpython/pull/20384 ___ Python tracker ___

[issue34397] remove redundant overflow checks in tuple and list implementations

2020-05-25 Thread miss-islington
miss-islington added the comment: New changeset e682b26a6bc6d3db1a44d82db09d26224e82ccb5 by Sergey Fedoseev in branch 'master': bpo-34397: Remove redundant overflow checks in list and tuple implementation. (GH-8757)

  1   2   >