[issue39386] Prevent double awaiting of async iterator

2020-02-12 Thread Nathaniel Smith
Change by Nathaniel Smith : -- pull_requests: +17844 pull_request: https://github.com/python/cpython/pull/18475 ___ Python tracker ___

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39599] ABI breakage between Python 3.7.4 and 3.7.5: change in PyGC_Head structure

2020-02-12 Thread Mark Dickinson
Mark Dickinson added the comment: > _Py_AS_GC and all APIs to get PyGC_Head from PyObject* are not only unstable, > but also private. Understood; thanks. I agree that there shouldn't be a guarantee for private undocumented calls. -- ___ Python

[issue39606] Regression: it should be possible to close async iterators multiple times

2020-02-12 Thread Nathaniel Smith
Change by Nathaniel Smith : -- keywords: +patch pull_requests: +17843 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18475 ___ Python tracker ___

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2020-02-12 Thread Steve Dower
Steve Dower added the comment: > I run into this issue when embedding CPython in a Windows app, and want to > use some pre-installed Python, which is not part of the install package... You'll run into many more issues if you keep doing this... The way to use a pre-installed Python on

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +17847 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18477 ___ Python tracker

[issue39615] cpython/abstract.h not compatible with C90

2020-02-12 Thread Peter Eisentraut
Change by Peter Eisentraut : -- keywords: +patch pull_requests: +17851 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18481 ___ Python tracker

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17856 pull_request: https://github.com/python/cpython/pull/18483 ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17854 pull_request: https://github.com/python/cpython/pull/18482 ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd by Victor Stinner in branch 'master': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd --

[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd by Victor Stinner in branch 'master': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd -- nosy: +vstinner

[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17855 pull_request: https://github.com/python/cpython/pull/18483 ___ Python tracker ___

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2020-02-12 Thread Steve Dower
Steve Dower added the comment: > Will Python support a release for as long as it's supported by the enterprise > version? For example, support for 1709 enterprise ends on 2020-04-14, so if > we followed that, then Python 3.9 would require Windows 10 1803 or higher. > That seems wrong while

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

2020-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f4f445b69306c68a2ba8ce8eb8c6cb3064db5fe7 by Serhiy Storchaka in branch 'master': bpo-39567: Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob(). (GH-18372)

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17848 pull_request: https://github.com/python/cpython/pull/18478 ___ Python tracker ___

[issue32856] Optimize the `for y in [x]` idiom in comprehensions

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

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

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

[issue39090] Document various options for getting the absolute path from pathlib.Path objects

2020-02-12 Thread Floris Lambrechts
Floris Lambrechts added the comment: I've written an "Absolute paths" section based on the knowledge I found in the various threads. Any review is appreciated. https://github.com/florisla/cpython/tree/pathlib-chapter-absolute-paths With some related documentation changes:

[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2020-02-12 Thread Maximilian Peters
Maximilian Peters added the comment: Ran into the same issue using Python 3.6.8 [GCC 5.4.0 20160609] on Linux. The same code worked on Windows 10 with Python 3.7 32-bit and 64-bit. -- nosy: +Maximilian Peters ___ Python tracker

[issue37413] Deprecate sys._enablelegacywindowsfsencoding()

2020-02-12 Thread Steve Dower
Steve Dower added the comment: I think we can deprecate it but leave it there - the original idea (courtesy of Guido) was to enable apps to transition to the change on their timeline, but it certainly should not be considered a core CPython feature for the rest of time. I don't have a

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue39615] cpython/abstract.h not compatible with C90

2020-02-12 Thread Peter Eisentraut
New submission from Peter Eisentraut : Some inline functions use mixed declarations and code. These end up visible in third-party code that includes Python.h, which might not be using a C99 compiler. Example: In file included from

[issue39603] [security] http.client: HTTP Header Injection in the HTTP method

2020-02-12 Thread Amir Mohamadi
Change by Amir Mohamadi : -- keywords: +patch pull_requests: +17850 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18480 ___ Python tracker ___

[issue39615] cpython/abstract.h not compatible with C90

2020-02-12 Thread Eric V. Smith
Eric V. Smith added the comment: PEP 7 says that this is allowed: Python versions greater than or equal to 3.6 use C89 with several select C99 features: ... - intermingled declarations So I don't think these changes should be accepted. -- nosy: +eric.smith

[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17845 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18476 ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17846 pull_request: https://github.com/python/cpython/pull/18476 ___ Python tracker ___

[issue39219] Fix attributes of syntax errors raized in the tokenizer

2020-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0cc6b5e559b8303b18fdd56c2befd900fe7b5e35 by Serhiy Storchaka in branch 'master': bpo-39219: Fix SyntaxError attributes in the tokenizer. (GH-17828) https://github.com/python/cpython/commit/0cc6b5e559b8303b18fdd56c2befd900fe7b5e35 --

[issue39219] Fix attributes of syntax errors raized in the tokenizer

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17849 pull_request: https://github.com/python/cpython/pull/18479 ___ Python tracker ___

[issue39219] Fix attributes of syntax errors raized in the tokenizer

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

[issue37685] Fix equality checks for some types

2020-02-12 Thread Łukasz Langa
Łukasz Langa added the comment: Unfortunately, we released 3.8.0, 3.8.1, and 3.8.2rc1 without this change. It seems too late in the release cycle to introduce this change. I'd feel better seeing it in 3.9 only. Sorry that we didn't act in time to include this in 3.8.0. --

[issue37373] Configuration of windows event loop for libraries

2020-02-12 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32856] Optimize the `for y in [x]` idiom in comprehensions

2020-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c579b1cc86053473eb052b76327279476740c9b by Serhiy Storchaka in branch 'master': bpo-32856: Optimize the assignment idiom in comprehensions. (GH-16814) https://github.com/python/cpython/commit/8c579b1cc86053473eb052b76327279476740c9b

[issue39219] Fix attributes of syntax errors raized in the tokenizer

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset efd878cdb46d9c7038d93fb36eb1ff7dc5baf9ec by Miss Islington (bot) in branch '3.8': bpo-39219: Fix SyntaxError attributes in the tokenizer. (GH-17828) https://github.com/python/cpython/commit/efd878cdb46d9c7038d93fb36eb1ff7dc5baf9ec --

[issue39090] Document various options for getting the absolute path from pathlib.Path objects

2020-02-12 Thread Paul Moore
Paul Moore added the comment: You've provided links to your branches, but not to the specific text you're proposing to add. Can you link to a diff or something that shows what you've added more precisely? -- ___ Python tracker

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

2020-02-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Do these new audit events have to be documented? -- nosy: +xtreak ___ Python tracker ___

[issue39567] Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob()

2020-02-12 Thread Steve Dower
Steve Dower added the comment: Yes, they should be. They can also be backported to 3.8 - it was deliberate in the original PEP that adding new events is not a breaking change or a new feature. -- ___ Python tracker

[issue39090] Document various options for getting the absolute path from pathlib.Path objects

2020-02-12 Thread Floris Lambrechts
Floris Lambrechts added the comment: This is the new chapter: https://github.com/florisla/cpython/commit/c146ad3d086fe9e401284c12fc670ea4f9398f3b -- ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset ca133e53fafdec1aa77613fcb7558deed959383f by Miss Islington (bot) in branch '3.7': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/ca133e53fafdec1aa77613fcb7558deed959383f -- nosy:

[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset ac6f4d2db703c0ff88e496bcb7b7fe55cf2ac458 by Miss Islington (bot) in branch '3.8': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/ac6f4d2db703c0ff88e496bcb7b7fe55cf2ac458 --

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset ac6f4d2db703c0ff88e496bcb7b7fe55cf2ac458 by Miss Islington (bot) in branch '3.8': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/ac6f4d2db703c0ff88e496bcb7b7fe55cf2ac458 --

[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset ca133e53fafdec1aa77613fcb7558deed959383f by Miss Islington (bot) in branch '3.7': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/ca133e53fafdec1aa77613fcb7558deed959383f -- nosy:

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: Default with prefix=/usr: * posix_prefix: * stdlib: '/usr/lib/python3.9' * platstdlib: '/usr/lib/python3.9' * platlib: '/usr/lib/python3.9/site-packages' * posix_user: * stdlib: '~/.local/lib/python3.9' * platstdlib: '~/.local/lib/python3.9' *

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread Matej Cepl
Matej Cepl added the comment: > posix_user: > > * stdlib: '~/.local/lib64/python3.9' > * platstdlib: '~/.local/lib64/python3.9' > * platlib: '~/.local/lib64/python3.9/site-packages' I am still not sure about the this one. I know that I have mentioned a possibility of multiplatform $HOME on

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

2020-02-12 Thread Dong-hee Na
Dong-hee Na added the comment: FYI, I am working on to add Py_IS_TYPE macro. :) -- nosy: +corona10 ___ Python tracker ___ ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: Ooops, SuSE has 2 patches. SuSE currently uses these patches for lib64 in the Python 3 package: (1) https://build.opensuse.org/package/view_file/devel:languages:python:Factory/python3/F00102-lib64.patch?expand=1 (2)

[issue39616] SSLContext.check_hostname description is inaccurate wrt match_hostname

2020-02-12 Thread Ville Skyttä
New submission from Ville Skyttä : Doc says "Whether to match the peer cert’s hostname with match_hostname() in SSLSocket.do_handshake()." but match_hostname() is no longer used to do that in the first place, OpenSSL is used for that. check_hostname affects the OpenSSL usage, too. --

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-02-12 Thread hai shi
Change by hai shi : -- pull_requests: +17859 pull_request: https://github.com/python/cpython/pull/18486 ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: Summary: * This issue is mostly about pushing a 16-years old patch from Fedora and SuSE to Python upstream. Other Linux distributions use different solutions to support multiple architectures in the same filesystem. For example, Debian and Ubuntu uses

[issue39603] [security] http.client: HTTP Header Injection in the HTTP method

2020-02-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: Welcome to work on the patch, Amir. * We shouldn't be encoding anything. * Create reject for Unicode control characters and reject the request if the request contains any control character. Write tests for this. It will similar to one of the examples

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: SuSE currently uses this patch for lib64 in the Python 3 package: https://build.opensuse.org/package/view_file/devel:languages:python:Factory/python3/F00102-lib64.patch?expand=1 -- ___ Python tracker

[issue39616] SSLContext.check_hostname description is inaccurate wrt match_hostname

2020-02-12 Thread Ville Skyttä
Change by Ville Skyttä : -- keywords: +patch pull_requests: +17857 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18484 ___ Python tracker ___

[issue39603] [security] http.client: HTTP Header Injection in the HTTP method

2020-02-12 Thread Amir Mohamadi
Change by Amir Mohamadi : -- pull_requests: +17858 pull_request: https://github.com/python/cpython/pull/18485 ___ Python tracker ___

[issue25753] Reference leaks in test_smtplib

2020-02-12 Thread Dong-hee Na
Dong-hee Na added the comment: +1 for me to close this issue. On the master branch, this issue is not reproducible. I am closing this issue, if someone wants to open this issue, please re-open this :) -- nosy: +corona10 resolution: -> out of date stage: -> resolved status: open ->

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread Miro Hrončok
Miro Hrončok added the comment: > > Also note that the extension modules have archful suffix, so they will not > > collide in $HOME, unless they are installed as name.so. > > Yeah, it seems like pip install adopted Debian multiarch naming: > "x86_64-linux-gnu" triplet in

[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ben Boeckel for the bugfix. Sorry for the delay (6 years)! But it's now fixed in 3.7, 3.8 and master branches. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Are you going to work on a patch then, Batuhan? Serhiy already submitted a PR, which looks great. -- ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread Miro Hrončok
Miro Hrončok added the comment: Also note that the extension modules have archful suffix, so they will not collide in $HOME, unless they are installed as name.so. -- ___ Python tracker

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: > posix_user: > > * stdlib: '~/.local/lib64/python3.9' > * platstdlib: '~/.local/lib64/python3.9' > * platlib: '~/.local/lib64/python3.9/site-packages' Honestly, I have no idea how posix_user is used. ~/.local/lib64/ directory doesn't exist on my work

[issue24916] In sysconfig, don't rely on sys.version format

2020-02-12 Thread Daniel Bengtsson
Change by Daniel Bengtsson : -- pull_requests: +17860 pull_request: https://github.com/python/cpython/pull/18487 ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: lib64_tests.py: test suite hardcoded for Fedora, SuSE and PR 18381 with --with-python-libdir=lib64. I wrote it to help me to understand differences between Fedora, SuSE and PR 18381. On Fedora, the test fails because we have an additional patch on distutils

[issue39617] max_workers argument to concurrent.futures.ProcessPoolExecutor is not flexible enough

2020-02-12 Thread sds
New submission from sds : The number of workers (max_workers) I want to use often depends on the server load. Imagine this scenario: I have 64 CPUs and I need to run 200 processes. However, others are using the server too, so currently loadavg is 50, thus I will set `max_workers` to (say) 20.

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

2020-02-12 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17861 pull_request: https://github.com/python/cpython/pull/18488 ___ Python tracker ___

[issue39617] max_workers argument to concurrent.futures.ProcessPoolExecutor is not flexible enough

2020-02-12 Thread sds
sds added the comment: cf https://github.com/joblib/joblib/issues/1006 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39618] logger.exception with default message

2020-02-12 Thread Denis Vieira
New submission from Denis Vieira : On my Python projects i like to use the logger.exception() method without any other message. I'm forced to send an empty string on every call. logger.exception('') It would be nice the exception method have the expected parameter "msg" with an default

[issue39618] logger.exception with default message

2020-02-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: Links on Debian Multiarch: * https://wiki.debian.org/Multiarch/HOWTO * https://lwn.net/Articles/711199/ -- ___ Python tracker ___

[issue1294959] Problems with /usr/lib64 builds.

2020-02-12 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24916] In sysconfig, don't rely on sys.version format

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: The "py_version" variable of sysconfig is discussed since 2015 but... it's unused. It is supposed to build paths. Does it really make sense to build a path which contains "+"? It can confuse some application which may associate a special meaning to "+".

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6e619c48b8e804ece9521453fc8da0640a04d5b1 by Serhiy Storchaka in branch 'master': bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. (GH-18477)

[issue39613] IsolatedAsyncioTestCase closes default event loop

2020-02-12 Thread Zsolt Dollenstein
Change by Zsolt Dollenstein : -- nosy: +zsol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39298] add BLAKE3 to hashlib

2020-02-12 Thread Jack O'Connor
Jack O'Connor added the comment: Version 0.2.0 of the BLAKE3 repo includes optimized assembly implementations. These are behind the "c" Cargo feature for the `blake3` Rust crate, but included by default for the internal bindings crate. So the easiest way to rerun our favorite benchmark is:

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17867 pull_request: https://github.com/python/cpython/pull/18494 ___ Python tracker ___

[issue18819] tarfile fills devmajor and devminor fields even for non-devices

2020-02-12 Thread Ethan Furman
Ethan Furman added the comment: New changeset 674935b8caf33e47c78f1b8e197b1b77a04992d2 by William Chargin in branch 'master': bpo-18819: tarfile: only set device fields for device files (GH-18080) https://github.com/python/cpython/commit/674935b8caf33e47c78f1b8e197b1b77a04992d2 --

[issue35081] Move internal headers to Include/internal/

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17865 pull_request: https://github.com/python/cpython/pull/18492 ___ Python tracker ___

[issue35081] Move internal headers to Include/internal/

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 45876a90e2663f12b90c2090ec3e48bd97841aae by Victor Stinner in branch 'master': bpo-35081: Move bytes_methods.h to the internal C API (GH-18492) https://github.com/python/cpython/commit/45876a90e2663f12b90c2090ec3e48bd97841aae --

[issue39619] os.chroot is not enabled on HP-UX builds

2020-02-12 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +17868 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18495 ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17863 pull_request: https://github.com/python/cpython/pull/18490 ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17866 pull_request: https://github.com/python/cpython/pull/18493 ___ Python tracker ___

[issue39619] os.chroot is not enabled on HP-UX builds

2020-02-12 Thread Ian Norton
New submission from Ian Norton : When building on HP-UX using: The configure stage fails to detect chroot(). This is due to setting _XOPEN_SOURCE to a value higher than 500. The fix for this is to not set _XOPEN_SOURCE when configuring for HP-UX -- components: Interpreter Core

[issue35081] Move internal headers to Include/internal/

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17862 pull_request: https://github.com/python/cpython/pull/18489 ___ Python tracker ___

[issue37685] Fix equality checks for some types

2020-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Łukasz. I considered this as a bug fix, but was not sure that we should fix these bugs. They were here from the beginning. Josh, as for using total_ordering, I think it is a different issue. I did not want to change the behavior except fixing

[issue39615] cpython/abstract.h not compatible with C90

2020-02-12 Thread Peter Eisentraut
Peter Eisentraut added the comment: That's fair for code internal to CPython itself, but these are header files included by third-party code that is embedding Python, so a bit more flexibility and adaptability would be welcome there. -- ___

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35081] Move internal headers to Include/internal/

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset e9e7d284c434768333fdfb53a3663eae74cb995a by Victor Stinner in branch 'master': bpo-35081: Move dtoa.h header to the internal C API (GH-18489) https://github.com/python/cpython/commit/e9e7d284c434768333fdfb53a3663eae74cb995a --

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 98921aeaf5879b51e2dd1870c9285cfa8d1a52c7 by Victor Stinner in branch 'master': bpo-35134: Add Include/cpython/bytesobject.h file (GH-18494) https://github.com/python/cpython/commit/98921aeaf5879b51e2dd1870c9285cfa8d1a52c7 --

[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-02-12 Thread Davin Potts
Davin Potts added the comment: My sense is that it would be nice if we can catch this before ftruncate does something nasty. Where else is ftruncate used in CPython that this could similarly trigger a problem? How is it handled there (or not)? --

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17864 pull_request: https://github.com/python/cpython/pull/18491 ___ Python tracker ___

[issue39615] cpython/abstract.h not compatible with C90

2020-02-12 Thread Eric V. Smith
Eric V. Smith added the comment: I'd suggest mentioning this on python-dev, if you want to change the policy. -- ___ Python tracker ___

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset 2076d4f97ef514bb4dc4ca768fbaa3f538ce7f1f by Miss Islington (bot) in branch '3.8': bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. (GH-18477) https://github.com/python/cpython/commit/2076d4f97ef514bb4dc4ca768fbaa3f538ce7f1f

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8c3aee65ed3aff3668da330ccd6f9ba7b2aa4567 by Victor Stinner in branch 'master': bpo-35134: Add Include/cpython/fileutils.h header file (GH-18493) https://github.com/python/cpython/commit/8c3aee65ed3aff3668da330ccd6f9ba7b2aa4567 --

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-12 Thread Vedran Čačić
Vedran Čačić added the comment: I can't help with the issue itself (though I must say that I philosophically don't believe in "sailed off ships" -- in the limit, Python must be the best it can be, though it can take decades to get there), but I can help you with the error message. It simply

[issue39621] md5_compress() in Modules/md5module.c can take a const buf

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17872 pull_request: https://github.com/python/cpython/pull/18498 ___ Python tracker ___

[issue39621] md5_compress() in Modules/md5module.c can take a const buf

2020-02-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 597ebed748d0b0c061f8c108bd98270d103286c1 by Andy Lester in branch 'master': closes bpo-39621: Make buf arg to md5_compress be const. (GH-18497) https://github.com/python/cpython/commit/597ebed748d0b0c061f8c108bd98270d103286c1 --

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-12 Thread JitterMan
JitterMan added the comment: Ah, that make sense. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2020-02-12 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +17870 pull_request: https://github.com/python/cpython/pull/18496 ___ Python tracker ___

[issue39615] cpython/abstract.h not compatible with C90

2020-02-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: C99 is not disallowed in headers. -- nosy: +benjamin.peterson resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39620] PyObject_GetAttrString and tp_getattr do not agree

2020-02-12 Thread Andy Lester
Andy Lester added the comment: Do you know why it was reverted? (Granted, it was 15 years ago...) It looks like the original changeset is trying to address at least two different problems with non-const string literals. My ticket here is focusing only on getattrfunc and setattrfunc. The

[issue39621] md5_compress() in Modules/md5module.c can take a const buf

2020-02-12 Thread Andy Lester
New submission from Andy Lester : The function md5_compress does not modify its buffer argument. static void md5_compress(struct md5_state *md5, unsigned char *buf) buf should be const. -- components: Extension Modules messages: 361932 nosy: petdance priority: normal severity: normal

[issue39621] md5_compress() in Modules/md5module.c can take a const buf

2020-02-12 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +17871 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18497 ___ Python tracker ___

[issue39621] md5_compress() in Modules/md5module.c can take a const buf

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset 669981b3b14dd16dec42089d6ac8d6449fde8abd by Miss Islington (bot) in branch '3.8': closes bpo-39621: Make buf arg to md5_compress be const. (GH-18497) https://github.com/python/cpython/commit/669981b3b14dd16dec42089d6ac8d6449fde8abd --

  1   2   >