[issue40132] Mechanism to control who owns package names on PyPI?

2020-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: PyPI is a separate project from CPython and has its own repository, tracker, and developers. -- nosy: +terry.reedy resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue40127] Documentation of SSL library

2020-04-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-04-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: agreed, being opaque seems ideal. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40126] Incorrect error handling in unittest.mock

2020-04-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +cjw296, xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +18716 pull_request: https://github.com/python/cpython/pull/19354 ___ Python tracker ___

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 52013e5b6d5ca32eef5a3d65ecdf7db89cefc2fd by Tal Einat in branch 'master': bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152) https://github.com/python/cpython/commit/52013e5b6d5ca32eef5a3d65ecdf7db89cefc2fd

[issue40139] mimetypes module racy

2020-04-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5.3 is not the most recent 3.5. Anyway, 3.5 and 3.6 and soon 3.7 only get security patches. So it needs to be determined if there are failure with 3.8 and 3.9. -- nosy: +terry.reedy versions: -Python 3.5 ___

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-03 Thread Alex Gaynor
Alex Gaynor added the comment: Here's my suggestion: End of line reached without finding the end of string literal. Are you missing a closing quote? -- nosy: +alex ___ Python tracker

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-04-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: PyBytesObject could become a struct that contains a single opaque internal struct. there is some code out there that references PyBytesObjects internals by field name but my searches across a broad swath of code so far seem to suggest that is so rare

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Oh never mind, I'm just going to slink away now and stop posting corrections when distracted... -- ___ Python tracker ___

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Oops, that should be ... ``x == x``, ``3 < x``, and ``x > 3`` are all false ... -- ___ Python tracker ___

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +18715 pull_request: https://github.com/python/cpython/pull/19353 ___ Python tracker

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Arnuld
New submission from Arnuld : In section "6.10.1 Value comparisons", it is written: https://docs.python.org/3/reference/expressions.html "The not-a-number values float('NaN') and decimal.Decimal('NaN') are special. Any ordered comparison of a number to a not-a-number value is false. A

[issue40177] Python Language Reference Documentation

2020-04-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: How about this? "The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are special. Not-a-number values always compare unordered and unequal to any other value, including themselves. For example, if ``x = float('NaN')``, then ``x == x``,

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-03 Thread Ammar Askar
Ammar Askar added the comment: Just re-posting this here from the open PR. Rust's handling of this seems nice and beginner friendly: error: unterminated double quote string --> src/main.rs:2:19 | 2 | let message = "Hello world | ___^ 3 | |

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-03 Thread miss-islington
miss-islington added the comment: New changeset 681044a0ab6c93554ff8d003c7f9fe5fdb0c83ba by Miss Islington (bot) in branch '3.7': bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152) https://github.com/python/cpython/commit/681044a0ab6c93554ff8d003c7f9fe5fdb0c83ba

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2020-04-03 Thread miss-islington
miss-islington added the comment: New changeset 15337726e5b92976c2815d05c514804e9aa49a8c by Miss Islington (bot) in branch '3.8': bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152) https://github.com/python/cpython/commit/15337726e5b92976c2815d05c514804e9aa49a8c

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-04-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +18695 pull_request: https://github.com/python/cpython/pull/19330 ___ Python tracker

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-04-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +18696 pull_request: https://github.com/python/cpython/pull/19331 ___ Python tracker ___

[issue40168] import pandas error[python 3.8.]

2020-04-03 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Harish, it looks like you are having an issue related to Pandas and not Python itself. This bug tracker is for issues related to Python, for issues related to Pandas you will want to open a new issue at https://github.com/pandas-dev/pandas -- nosy:

[issue40168] import pandas error[python 3.8.]

2020-04-03 Thread Harish Gajjar
New submission from Harish Gajjar : Dear Python Developers, I am writing this to inform you that currently I am using python 3.8 and I installed pandas using "pip install pandas", but when I try to import pandas idle shows some error. Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29)

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-04-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b74468e233a5137ff518e61eff65ca2d8833e38a by laike9m in branch 'master': bpo-40122: Updated documentation for dis.findlabels() (GH-19274) https://github.com/python/cpython/commit/b74468e233a5137ff518e61eff65ca2d8833e38a --

[issue40132] Mechanism to control who owns package names on PyPI?

2020-04-03 Thread ChrisRands
ChrisRands added the comment: Thanks Rémi, I missed that in PEP 541. I am still concerned that PyPI may become saturated with unmaintained packages (it is already common that one's preferred package name is taken). However, the guidance is already clear, and I guess anything stronger, like

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-04-03 Thread miss-islington
miss-islington added the comment: New changeset 77c623ba3d084e99d68c30f368bd7fbd7f175b60 by Miss Islington (bot) in branch '3.8': bpo-40122: Updated documentation for dis.findlabels() (GH-19274) https://github.com/python/cpython/commit/77c623ba3d084e99d68c30f368bd7fbd7f175b60 --

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-04-03 Thread miss-islington
miss-islington added the comment: New changeset 00c779fd9c0a9e7586681a44e35607c1113b5014 by Miss Islington (bot) in branch '3.7': bpo-40122: Updated documentation for dis.findlabels() (GH-19274) https://github.com/python/cpython/commit/00c779fd9c0a9e7586681a44e35607c1113b5014 --

[issue40163] multissl doesn't support tarballs in /source/old/

2020-04-03 Thread Christian Heimes
Christian Heimes added the comment: Benjamin, Larry, The problem affects testing of security-only branches and 2.7. -- components: +Tests nosy: +benjamin.peterson, larry type: -> behavior ___ Python tracker

[issue40083] No run option available in python idle in version 3.8.2

2020-04-03 Thread Rajesh R Naik
Rajesh R Naik added the comment: 1.How are you installing python? From the python.org installer (which one)? From the Window store? From a 3rd party installer (which one)? >> we installed form python.org not from windows store and not 3rd party 2.How do you start IDLE? >> by searching

[issue40163] multissl doesn't support tarballs in /source/old/

2020-04-03 Thread Christian Heimes
Christian Heimes added the comment: Ah crap :/ That's annoying. This breaks all CI of all our active branches and all open PRs. I'll fix the issue and talk to OpenSSL upstream. -- assignee: -> christian.heimes versions: +Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8

[issue40163] multissl doesn't support tarballs in /source/old/

2020-04-03 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +18694 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19329 ___ Python tracker

[issue39952] Using VS2019 to automatically build Python3 and it failed to build

2020-04-03 Thread Lin Gao
Lin Gao added the comment: Hi Steve, Sorry for the delay. Thanks for your information and help. We mainly use open source projects to test the vs compiler backend. Now is the migration for testing and need to replace vs2017 with vs2019. Currently we used the second work around you

[issue40143] shutil.rmtree will frequently fail on Windows under heavy load due to racy deletion

2020-04-03 Thread Steve Dower
Steve Dower added the comment: What about renaming the base directory in place? Moving things across drives doesn't help, and we can't reasonably determine a suitable location for temp files other than by leaving them where they are. -- ___

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-03 Thread Michael Felt
Michael Felt added the comment: Thanks for the fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0961dbdea2a449fc5b7d77610d6d10e6036fbdf3 by Victor Stinner in branch '3.7': bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) (GH-19316) (GH-19318)

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: > Well, if needed I can create one but looks like it is going be an obsoleted > OS soon :/ I dislike the idea of making Python codes to support Solaris, since Solaris vendor doesn't support it anymore... Moreover, it's closed source, and most core devs

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: For me, the most sane option is to make structures opaque in the C API, and then flexible array members. I did something similar for atomic types. First, we got tons of build isssues with various C compilers and then with C++ compilers. I moved the header

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-04-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue9253] argparse: optional subparsers

2020-04-03 Thread brent s.
Change by brent s. : -- nosy: +bsaner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40149] test_threading leaked [38, 38, 38] references, sum=114

2020-04-03 Thread Dong-hee Na
Dong-hee Na added the comment: gc: collectable gc: collectable gc: collectable gc: collectable is not collected for the first time. -- ___ Python tracker ___

[issue37095] [Feature Request]: Add zstd support in tarfile

2020-04-03 Thread Ugra Dániel
Change by Ugra Dániel : -- nosy: +daniel.ugra ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2020-04-03 Thread Miguel Amaral
Miguel Amaral added the comment: A related issue(which I believe has no topic in this forum yet) is substituting an expression that results in a multiline string into a multiline f-string while matching its indentation. If a new type of string prefix is made to auto-dedent, maybe the

[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

2020-04-03 Thread STINNER Victor
New submission from STINNER Victor : Leaking the PyTypeObject structure in the C API indirectly causes ABI issue (especially for statically allocated types), cause practical issues when old fields are removed and new fields are added (ex: tp_vectorcall addition and tp_print removal caused a

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

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-40170 "[C API] Make PyTypeObject structure an opaque structure in the public C API". -- ___ Python tracker ___

[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

2020-04-03 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40163] multissl doesn't support tarballs in /source/old/

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: > talk to OpenSSL upstream. Do you mean continue to provide old versions in /source/ directory as well? Maybe they move tarballs to /source/old/ on purpose, to force users to use the latest versions which get fixes for new vulnerabilities? --

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-03 Thread Steve Dower
Steve Dower added the comment: Either of those fixes look good. I normally use IO.Path personally, which might be because it's been around longer, but anything that works on VS 2017 and later should be fine. -- ___ Python tracker

[issue24132] Direct sub-classing of pathlib.Path

2020-04-03 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40169] `dis.findlabels()` should accept a code object

2020-04-03 Thread laike9m
New submission from laike9m : Continuing our discussion in https://bugs.python.org/issue40122. I would like to make `dis.findlabels()` accept a code object just like other APIs in the dis module. Also this can be a good chance to add tests for it. -- components: Library (Lib)

[issue40171] Attempting to import inaccessible package imports an empty package

2020-04-03 Thread Konrad Borowski
Konrad Borowski added the comment: The attached example works on Python 2, but it breaks with Python 3. This may be a regression. -- ___ Python tracker ___

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-03 Thread nergall2
Change by nergall2 : -- keywords: +patch pull_requests: +18699 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19336 ___ Python tracker ___

[issue40160] documentation example of os.walk should be less destructive

2020-04-03 Thread John Taylor
John Taylor added the comment: I would prefer an example that does not actually modify the file system. Is there any way this could be achieved, yet still demonstrate why topdown=False is necessary? -- ___ Python tracker

[issue40143] shutil.rmtree will frequently fail on Windows under heavy load due to racy deletion

2020-04-03 Thread Eryk Sun
Eryk Sun added the comment: > It's inherently racy, since deleting a file on Windows *doesn't > actually delete it*, instead it marks the file for deletion. The > system will eventually get around to deleting it, but under heavy > load, this might be sometime after an attempt is made to

[issue40105] Updating zip comment doesn't truncate the zip file

2020-04-03 Thread mzr
Change by mzr : -- nosy: +mzr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40105] Updating zip comment doesn't truncate the zip file

2020-04-03 Thread Yudi
Change by Yudi : -- keywords: +patch pull_requests: +18698 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19333 ___ Python tracker ___

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-03 Thread nergall2
New submission from nergall2 : ZipInfo currently only allow adding entries to zip archives but doesn't have the ability to remove entries from them - pretty useful feature. -- components: Library (Lib) messages: 365704 nosy: nergall2 priority: normal severity: normal status: open

[issue40171] Attempting to import inaccessible package imports an empty package

2020-04-03 Thread Konrad Borowski
New submission from Konrad Borowski : The attached shell program returns `AttributeError: module 'mod' has no attribute 'x'`. I would rather expect `ImportError` instead of loading an empty package due to permission error causing Python module to be inaccessible. -- files:

[issue40172] ZipInfo corrupts file names in some old zip archives

2020-04-03 Thread Yudi
New submission from Yudi : Some old zip files that don't yet use unicode file names might have entries with characters beyond the ascii range. ZipInfo seems to encode these file names with 'cp437' codepage (correct for old zips) but decode them back with 'ascii' code page which might corrupt

[issue40172] ZipInfo corrupts file names in some old zip archives

2020-04-03 Thread Yudi
Change by Yudi : -- keywords: +patch pull_requests: +18697 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19335 ___ Python tracker ___

[issue40173] test.support.import_fresh_module fails to correctly block submodules when fresh is specified

2020-04-03 Thread Paul Ganssle
New submission from Paul Ganssle : It seems that test.support.import_fresh_module gets tripped up with its module blocking when you attempt to get a fresh copy of a submodule of a module where you are also importing the module that you are trying to block (bit of a doozy of a sentence

[issue40112] AIX: xlc - default path changed and no longer recognized

2020-04-03 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue40112] AIX: xlc - default path changed and no longer recognized

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 76db37b1d37a9daadd9e5b320f2d5a53cd1352ec by Michael Felt in branch 'master': bpo-40112: distutils test_search_cpp: Fix logic to determine if C compiler is xlc on AIX (GH-19225)

[issue40174] HAVE_CLOCK_GETTIME not repected in pytime.c

2020-04-03 Thread Jérôme
New submission from Jérôme : Hi, In the file Python/pytime.c (line 886 and others), functions and constants that I infer should be declared by HAVE_CLOCK_GETTIME are called without #ifdef. Best regards, Jérôme. -- components: Interpreter Core messages: 365703 nosy: jerome.hamm

[issue40149] test_threading leaked [38, 38, 38] references, sum=114

2020-04-03 Thread Dong-hee Na
Dong-hee Na added the comment: Running from abc import ABCMeta on the subinterpreter makes same size of leak. -- ___ Python tracker ___

[issue40126] Incorrect error handling in unittest.mock

2020-04-03 Thread Barry McLarnon
Barry McLarnon added the comment: After further investigation, it seems this was fixed in https://github.com/python/cpython/commit/436c2b0d67da68465e709a96daac7340af3a5238 However, this fix was as part of an unrelated changeset and in a different function in 3.8+, and was never rolled back

[issue40126] Incorrect error handling in unittest.mock

2020-04-03 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +18701 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19338 ___ Python tracker

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-03 Thread Chris Martinez
Change by Chris Martinez : -- keywords: +patch pull_requests: +18707 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19343 ___ Python tracker ___

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-04-03 Thread Stefan Krah
Stefan Krah added the comment: Has anything emerged xlc-wise? Traceback, does it work --without-pymalloc? I have the feeling that (in many OSS projects) the more complex xlc issues never get resolved after the initial report. So I'm contemplating to do the same as

[issue40131] Zipapp example has parameters in the wrong order

2020-04-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset d19162fe5b2aba48a94278baa0f569fc42932072 by Miss Islington (bot) in branch '3.7': bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19340)

[issue40077] Convert static types to PyType_FromSpec()

2020-04-03 Thread hai shi
Change by hai shi : -- pull_requests: +18705 pull_request: https://github.com/python/cpython/pull/19341 ___ Python tracker ___ ___

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-03 Thread Benjamin Peterson
New submission from Benjamin Peterson : It has been pointed out to me that the errors the tokenizer produces for unterminated strings, "EOL while scanning string literal" and "EOF while scanning triple-quoted string literal", contain parsing jargon that make it difficult for new users to

[issue40174] HAVE_CLOCK_GETTIME not repected in pytime.c

2020-04-03 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40131] Zipapp example has parameters in the wrong order

2020-04-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +18703 pull_request: https://github.com/python/cpython/pull/19339 ___ Python tracker

[issue40131] Zipapp example has parameters in the wrong order

2020-04-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +18704 pull_request: https://github.com/python/cpython/pull/19340 ___ Python tracker ___

[issue40131] Zipapp example has parameters in the wrong order

2020-04-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset bd6a4c3d72828d3d0e13922e165998539d24f8bc by Zackery Spytz in branch 'master': bpo-40131: Fix source and target order in zipapp example (GH-19290) https://github.com/python/cpython/commit/bd6a4c3d72828d3d0e13922e165998539d24f8bc

[issue40131] Zipapp example has parameters in the wrong order

2020-04-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset e6783981df6ae5c63f73be67cc41b1350bc0fcc6 by Miss Islington (bot) in branch '3.8': bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19339)

[issue40077] Convert static types to PyType_FromSpec()

2020-04-03 Thread hai shi
Change by hai shi : -- pull_requests: +18708 pull_request: https://github.com/python/cpython/pull/19344 ___ Python tracker ___ ___

[issue40105] Updating zip comment doesn't truncate the zip file

2020-04-03 Thread mzr
Change by mzr : -- pull_requests: +18700 pull_request: https://github.com/python/cpython/pull/19337 ___ Python tracker ___ ___

[issue39537] Change line number table format

2020-04-03 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40131] Zipapp example has parameters in the wrong order

2020-04-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Leron for the report. Thanks Zackery for the patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5, Python 3.6 ___ Python tracker

[issue40038] pathlib: remove partial support for preserving accessor when modifying a path

2020-04-03 Thread Barney Gale
Change by Barney Gale : -- keywords: +patch pull_requests: +18706 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19342 ___ Python tracker ___

[issue40174] HAVE_CLOCK_GETTIME not repected in pytime.c

2020-04-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: Does this cause a problem? At this point, it might be preferable to just assume clock_gettime exists on POSIX systems. -- nosy: +benjamin.peterson ___ Python tracker

[issue40141] Add line and column information for keywords in the AST

2020-04-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +18711 pull_request: https://github.com/python/cpython/pull/19348 ___ Python tracker ___

[issue40141] Add line and column information for keywords in the AST

2020-04-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 40cf35c5b070b3f33aae58a996fea0e8291a8616 by Pablo Galindo in branch 'master': bpo-40141: Include the value in the column position for keyword AST nodes (GH-19348)

[issue40126] Incorrect error handling in unittest.mock

2020-04-03 Thread Barry McLarnon
Change by Barry McLarnon : -- components: +Library (Lib) -Tests ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39943] Meta: Clean up various issues in C internals

2020-04-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +18709 pull_request: https://github.com/python/cpython/pull/19345 ___ Python tracker ___

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-03 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 1.0 -> 2.0 pull_requests: +18710 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19346 ___ Python tracker

[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-04-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: master/3.9 changeset: https://github.com/python/cpython/commit/3c3aa4516c70753de06bb142b6793d01330fcf0f 3.8 changeset: https://github.com/python/cpython/commit/1098671e4e5ec1513247f05598158eaa3428c5be -- ___

[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-04-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: Support for `:=` is in, are we still lacking `f(**not x)` support? -- ___ Python tracker ___

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +18713 pull_request: https://github.com/python/cpython/pull/19350 ___ Python tracker ___

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +18712 pull_request: https://github.com/python/cpython/pull/19349 ___ Python tracker

[issue40118] os.stat in linux shows the wrong inode

2020-04-03 Thread Ammar Askar
Ammar Askar added the comment: As noted in the documentation for os.stat (https://docs.python.org/3.9/library/os.html#os.stat): > This function normally follows symlinks; to stat a symlink add the argument > follow_symlinks=False, or use lstat(). -- nosy: +ammar2 resolution: ->

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-04-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Traceback, does it work --without-pymalloc? No, it does also not work with `--without-pymalloc?`. > Has anything emerged xlc-wise? Not for now, I keep investigating and I may try to contact IBM about this, but at this stage, I am getting more

[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

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

[issue40147] Move checking for duplicated keywords to the compiler

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

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-03 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36541] Make lib2to3 grammar better match Python, support the := walrus

2020-04-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 96c5f5a3a3fabf43e8114d0dbc30bed409da1ba6 by Tim Hatch in branch '3.7': [3.7] bpo-36541: lib2to3: Support named assignment expressions (GH-12702) (GH-19317) https://github.com/python/cpython/commit/96c5f5a3a3fabf43e8114d0dbc30bed409da1ba6

[issue40147] Move checking for duplicated keywords to the compiler

2020-04-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 254ec783411d9d16e51f1116f98918be2ef0e884 by Pablo Galindo in branch 'master': bpo-40147: Move the check for duplicate keywords to the compiler (GH-19289) https://github.com/python/cpython/commit/254ec783411d9d16e51f1116f98918be2ef0e884

[issue40158] MSBuild Extensions in CPython NuGet Package has Bad Expression

2020-04-03 Thread Steve Dower
Steve Dower added the comment: New changeset 6e623ff9d251e0ce86e9b18a01bfd6f067079d7a by Chris Martinez in branch 'master': bpo-40158: Fix CPython MSBuild Properties in NuGet Package (GH-19343) https://github.com/python/cpython/commit/6e623ff9d251e0ce86e9b18a01bfd6f067079d7a --

[issue40145] Pyshellext room for binary size improvement

2020-04-03 Thread Alexander Riccio
Alexander Riccio added the comment: Oh, uh, also, do you prefer I add a commit or a new branch & PR? -- ___ Python tracker ___ ___

[issue40160] documentation example of os.walk should be less destructive

2020-04-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not think there is clearer example of topdown=False than recursive remove. If you think that this example is destructive, consider how destructive is any possible example for shutil.rmtree()! -- nosy: +serhiy.storchaka

  1   2   >