[issue41074] msilib does not work correctly with non-ASCII names

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 55939b1708d6fc0d36d2be11ccdc6bf207e1bd41 by Serhiy Storchaka in branch 'master': bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126) https://github.com/python/cpython/commit/55939b1708d6fc0d36d2be11ccdc6bf207e1bd41 --

[issue41074] msilib does not work correctly with non-ASCII names

2020-06-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +20294 pull_request: https://github.com/python/cpython/pull/21133 ___ Python tracker _

[issue41074] msilib does not work correctly with non-ASCII names

2020-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +20295 pull_request: https://github.com/python/cpython/pull/21134 ___ Python tracker ___ __

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
New submission from STINNER Victor : Python stdlib has around 139 extension modules. Not all of them *need* to use internal C API. I'm interested to try to convert a bunch of them to the limited C API, as part of my work on the PEP 620. IMHO "Eating your own dog food" is a good practice to en

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

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: > Another idea would be to convert some C extensions of the standard library to > the limited C API. It would ensure that the limited C API contains enough > functions to be useful, but would also notify us directly if the API is > broken. I created bpo-411

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-27499 "PY_SSIZE_T_CLEAN conflicts with Py_LIMITED_API". -- ___ Python tracker ___ __

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: Other missing features of the limited C API: * bpo-2897: "PyMemberDef missing in limited API / Deprecate structmember.h" * Stefan Behnel wrote: "Some code cannot even be migrated at all, e.g. because the entire buffer protocol is missing from it. Some bugs wer

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: PyType_FromSpec() doesn't support 11 slots: * tp_dict * tp_mro * tp_cache * tp_subclasses * tp_weaklist * tp_vectorcall * tp_weaklistoffset (see PyMemberDef) * tp_dictoffset (see PyMemberDef) * tp_vectorcall_offset (see PyMemberDef) * bf_getbuffer * bf_release

[issue41074] msilib does not work correctly with non-ASCII names

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 3f4de44cf7f3da754efbbc0e70feabf3b9384dce by Miss Islington (bot) in branch '3.8': bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126) https://github.com/python/cpython/commit/3f4de44cf7f3da754efbbc0e70feabf3b9384dce ---

[issue41074] msilib does not work correctly with non-ASCII names

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 0ef6a3fc0eb9337656ef843bbcde09c15267173d by Miss Islington (bot) in branch '3.9': bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126) https://github.com/python/cpython/commit/0ef6a3fc0eb9337656ef843bbcde09c15267173d ---

[issue41074] msilib does not work correctly with non-ASCII names

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are also problems with FCICreate, but this is a different issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-39123: "PyThread_xxx() not available when using limited API". -- ___ Python tracker ___

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-23903: "Generate PC/python3.def by scraping headers". Steve Dower suggests to convert macros to functions. I'm not sure which functions are still implemented as macro in the limited C API. -- ___ Pyth

[issue35949] Move PyThreadState into Include/internal/pycore_pystate.h

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-39947 "[C API] Make the PyThreadState structure opaque (move it to the internal C API)" since I already pushed multiple changes there. But this issue contains interesting technical information! -- resolution:

[issue35949] Move PyThreadState into Include/internal/pycore_pystate.h

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: > Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END I excluded the TRASHCAN API from the limited C API: commit 0fa4f43db086ac3459811cca4ec5201ffbee694a Author: Victor Stinner Date: Wed Feb 5 12:23:27 2020 +0100 bpo-39542: Exclude trashcan from the limit

[issue39947] [C API] Make the PyThreadState structure opaque (move it to the internal C API)

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-35949 "Move PyThreadState into Include/internal/pycore_pystate.h" as a duplicate of this issue. bpo-35949 lists Py_ALLOW_RECURSION and Py_END_ALLOW_RECURSION which access PyThreadState.recursion_critical member directly. -- ___

[issue23644] g++ module compile fails with ‘_Atomic’ does not name a type

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: Atomic functions are no longer part of the public C API: code was moved to pycore_atomic.h internal C API. I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-16731: "xxlimited/xxmodule docstrings ambiguous". -- ___ Python tracker ___ ___ Pyth

[issue21076] Turn signal.SIG* constants into enums

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: signal constants are now enum, I close the issue. For further enhancements, please open a separated issue. $ python3 Python 3.8.3 (default, May 15 2020, 00:00:00) >>> import signal; signal.SIGTERM -- resolution: -> fixed stage: patch review -> res

[issue8212] A tp_dealloc of a subclassed class cannot resurrect an object

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: > I think PEP 442 makes this request obsolete: you can simply implement > tp_finalize() and incref the object naturally from there. Right. I close the issue. -- nosy: +vstinner resolution: -> fixed stage: needs patch -> resolved status: open -> clos

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-41073: "[C API] PyType_GetSlot() should accept static types". -- ___ Python tracker ___

[issue24652] C-API Pure Embedding enhancement

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23903] Generate PC/python3.def by scraping headers

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API nosy: +paul.moore ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also ./Tools/scripts/abitype.py script and bpo-10943: "abitype: Need better support to port C extension modules to the stable C API". -- ___ Python tracker

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40077: "Convert static types to PyType_FromSpec()". -- ___ Python tracker ___ ___ Py

[issue40077] Convert static types to PyType_FromSpec()

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: The Tools/scripts/abitype.py script can help to port C extensions to PyType_FromSpec(). -- ___ Python tracker ___ __

[issue21508] C API PyArg_ParseTuple doc is innacurate

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20224] C API docs need a clear "defining custom extension types" section

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21292] C API in debug fails

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue3354] Improve error reporting for the argument parsing C API

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue17589] Make documentation about macros in C API explicit about rvalue vs statement

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue5141] C API for appending to arrays

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30852] _PyObject_GC_UNTRACK corruption when call a lambda function with C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: I close the issue since it has no activity since 2017. If you get a similar issue, I suggest to test a debug build of Python. The ABI is compatible with release build since Python 3.8. -- nosy: +vstinner resolution: -> out of date stage: -> resolve

[issue31282] C APIs called without GIL in PyOS_Readline

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: I fixed this issue in bpo-40826, especially with this change: commit c353764fd564e401cf47a5d9efab18c72c60014e Author: Victor Stinner Date: Mon Jun 1 20:59:35 2020 +0200 bpo-40826: Fix GIL usage in PyOS_Readline() (GH-20579) Fix GIL usage in Py

[issue12861] PyOS_Readline uses single lock

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: No activity for 9 years, I close the issue as out of date. -- nosy: +vstinner resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker _

[issue41111] Convert a few stdlib extensions to the limited C API

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-29086: "Document C API that is not part of the limited API". -- ___ Python tracker ___ _

[issue6467] PyOS_Readline: treatment of "1234EOF"; behavior of builtin_raw_input

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: No activity for 10 years, I close the issue as out of date. -- nosy: +vstinner resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29086] Document C API that is not part of the limited API

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue14189] C API documentation must document if returned object is a borrowed reference or strong reference

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API title: Documentation for some C APIs is missing clear specification of the type of reference they return -> C API documentation must document if returned object is a borrowed reference or strong reference versions: +Python 3.10 -Python

[issue35773] test_bdb fails on non-UTF-8 locale

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_bdb fails on non-UTF-8 locale because Python executes a Python code from the corresponding "encodings" submodule. There are shortcuts for the UTF-8 codec which avoid using the Python code. -- nosy: +serhiy.storchaka title: test_bdb fails on AI

[issue35773] test_bdb fails on non-UTF-8 locale

2020-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20296 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21136 ___ Python tracker ___

[issue41069] Use non-ascii file names in tests by default

2020-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +test_bdb fails on non-UTF-8 locale ___ Python tracker ___ ___ Python-bugs-list mailin

[issue26774] Elide Py_atomic fences when WITH_THREAD is disabled?

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: > I never liked the option to disable thread support. I close the issue. It is not longer possible to build Python without threading support. -- resolution: -> out of date stage: test needed -> resolved status: open -> closed __

[issue39277] _PyTime_FromDouble() fails to detect an integer overflow when converting a C double to a C int64_t

2020-06-25 Thread Stefan Krah
Stefan Krah added the comment: C99, 6.3.1.4 Real floating and integer: """ When a value of integer type is converted to a real floating type, if the value being converted can be represented exactly in the new type, it is unchanged. If the value being converted is in the range of values that

[issue41112] test_peg_generator fails on non-UTF-8 locale

2020-06-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ LC_ALL=es_US.iso88591 ./python -m test -v -m test_syntax_error_for_string test_peg_generator ... == ERROR: test_syntax_error_for_string (test.test_peg_generator.test_c_parser.TestCParse

[issue41112] test_peg_generator fails on non-UTF-8 locale

2020-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20297 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21138 ___ Python tracker ___

[issue41013] test_os.test_memfd_create() fails on AMD64 FreeBSD Shared 3.x

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: > So in my local repro, Python is looping forever on successful write() for > reasons I'm not immediately sure of. io.BufferedWriter.write() (well, especially its flush() method) calls write() until all data is written. Extract of _bufferedwriter_flush_unlo

[issue34137] Add Path.lexist() to pathlib

2020-06-25 Thread Nils Philippsen
Change by Nils Philippsen : -- nosy: +nils ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset 5f190d2cc60cd82a604cbffb58b6ca8f40350a7a by Rick Heil in branch 'master': bpo-39580: add check for CLI installation on macOS (GH-20271) https://github.com/python/cpython/commit/5f190d2cc60cd82a604cbffb58b6ca8f40350a7a -- __

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +20299 pull_request: https://github.com/python/cpython/pull/21140 ___ Python tracker ___ __

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-06-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20298 pull_request: https://github.com/python/cpython/pull/21139 ___ Python tracker _

[issue40275] test.support has way too many imports

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset f7ba40b505989495c3585ed782070bdae56330ad by Hai Shi in branch 'master': bpo-40275: Use new test.support helper submodules in tests (GH-20849) https://github.com/python/cpython/commit/f7ba40b505989495c3585ed782070bdae56330ad -- ___

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: My PR of bpo-40799 fix this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue23903] Generate PC/python3.def by scraping headers

2020-06-25 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset bdc55eb55f7a88e374593dea1257566c2db3f5e4 by Miss Islington (bot) in branch '3.9': bpo-39580: add check for CLI installation on macOS (GH-20271) https://github.com/python/cpython/commit/bdc55eb55f7a88e374593dea1257566c2db3f5e4 -- _

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 4564ebb1e62378d350d5483b0ae5d0d84082af2b by Miss Islington (bot) in branch '3.8': bpo-39580: add check for CLI installation on macOS (GH-20271) https://github.com/python/cpython/commit/4564ebb1e62378d350d5483b0ae5d0d84082af2b -- _

[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

2020-06-25 Thread Ned Deily
Ned Deily added the comment: Thanks again for the PR. The change will be included in python.org installers for macOS as of 3.9.0b4, 3.8.4, and 3.7.8. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20301 pull_request: https://github.com/python/cpython/pull/21142 ___ Python tracker ___ __

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-06-25 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +20300 pull_request: https://github.com/python/cpython/pull/21141 ___ Python tracker ___ ___

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ LC_ALL=uk_UA.koi8u ./python -m test -v -m test_nonascii test_warnings ... == ERROR: test_nonascii (test.test_warnings.CEnvironmentVariableTests) --

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20302 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21143 ___ Python tracker ___

[issue41069] Use non-ascii file names in tests by default

2020-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +test_peg_generator fails on non-UTF-8 locale, test_warnings fails on non-Western locales ___ Python tracker ___

[issue35773] test_bdb fails on non-UTF-8 locale

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

[issue40400] Mac build-installer.py doesn't support new plist format

2020-06-25 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. There were several issues, including this one, when trying to run build-installer.py under current versions of Python 3. These have been fixed in the version of build-installer.py to be released with 3.9.0b4, 3.8.4, and 3.7.8. --

[issue35773] test_bdb fails on non-UTF-8 locale

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 94eee69e9b3a7e7d33142a47ffea560beb8f1596 by Serhiy Storchaka in branch 'master': bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136) https://github.com/python/cpython/commit/94eee69e9b3a7e7d33142a47ffea560beb8f1596 -- _

[issue35773] test_bdb fails on non-UTF-8 locale

2020-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +20304 pull_request: https://github.com/python/cpython/pull/21145 ___ Python tracker ___ __

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-06-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 16.0 -> 17.0 pull_requests: +20305 pull_request: https://github.com/python/cpython/pull/21146 ___ Python tracker ___

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset 589e8fe07934a8585d6c5c31d12ae5f766b8fec7 by Ned Deily in branch 'master': bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) https://github.com/python/cpython/commit/589e8fe07934a8585d6c5c31d12ae5f766b8fec7 -- _

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 16e79a47ca3b4efb2300f24aa084c20bb5e8ae0d by Miss Islington (bot) in branch '3.9': bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) https://github.com/python/cpython/commit/16e79a47ca3b4efb2300f24aa084c20bb5e8ae0d

[issue41112] test_peg_generator fails on non-UTF-8 locale

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset aad8f0eeca93b2150760b5e59ed0495e47d1be1e by Serhiy Storchaka in branch 'master': bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138) https://github.com/python/cpython/commit/aad8f0eeca93b2150760b5e59ed0495e47d1be1e --

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-06-25 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +20306 pull_request: https://github.com/python/cpython/pull/21147 ___ Python tracker ___ ___

[issue35773] test_bdb fails on non-UTF-8 locale

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 84f9c23a12eb091ac5327ebcba0d63794085b7f8 by Miss Islington (bot) in branch '3.8': bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136) https://github.com/python/cpython/commit/84f9c23a12eb091ac5327ebcba0d63794085b7f8 -- __

[issue35773] test_bdb fails on non-UTF-8 locale

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset fdf6872f3893647e52f123ba62431aaf9f24ad3a by Miss Islington (bot) in branch '3.9': bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136) https://github.com/python/cpython/commit/fdf6872f3893647e52f123ba62431aaf9f24ad3a -- __

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0f8ec1fff01173803645ad6a8aea24997bf66fc1 by Serhiy Storchaka in branch 'master': bpo-41113: Fix test_warnings on non-Western locales. (GH-21143) https://github.com/python/cpython/commit/0f8ec1fff01173803645ad6a8aea24997bf66fc1 -- __

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset 7318f0ab234e1c60a19eeea4e5968fb5d4fd70af by Ned Deily in branch '3.8': bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) (GH-21147) https://github.com/python/cpython/commit/7318f0ab234e1c60a19eeea4e5968fb5d4fd70af --

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +20307 pull_request: https://github.com/python/cpython/pull/21148 ___ Python tracker _

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-25 Thread Cezary Wagner
Cezary Wagner added the comment: I do some test on linux all works - changes are detected and os.scandir() works but in Windows not - probably there is not unit test which check if os.scandir() is working on open files for writing. f.flush() no matter since file can be changed in external Py

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-25 Thread Cezary Wagner
Cezary Wagner added the comment: Use case - detection of changes in open files is very important - log scanning - synchronization ... I think that first of all it is need good unit test to detect this problem (rare edge case - probably it is missed because hard to imagine that it can not wo

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +20308 pull_request: https://github.com/python/cpython/pull/21149 ___ Python tracker ___ __

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset f547d06ea7db23bb0a2cf81ff85478746efa958e by Miss Islington (bot) in branch '3.8': bpo-41113: Fix test_warnings on non-Western locales. (GH-21143) https://github.com/python/cpython/commit/f547d06ea7db23bb0a2cf81ff85478746efa958e -- ___

[issue41112] test_peg_generator fails on non-UTF-8 locale

2020-06-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20309 pull_request: https://github.com/python/cpython/pull/21150 ___ Python tracker _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 91698d8caa4b5bb6e8dbb64b156e8afe9e32cac1 by Victor Stinner in branch 'master': bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142) https://github.com/python/cpython/commit/91698d8caa4b5bb6e8dbb64b156e8afe9e32cac1 -- _

[issue30951] Documentation error in inspect module

2020-06-25 Thread Xavier Morel
Xavier Morel added the comment: Maybe something along the lines of "names other than arguments and function locals", or "names of the symbols used in the code object, other than arguments and function locals"? This is still slightly confusing because in the case of an import the name is pres

[issue41009] @support.requires_*_version broken for classes

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset d3798ed9f1762dcf632369505d517f476eccde13 by Christian Heimes in branch '3.7': [3.7] bpo-41009: fix requires_OS_version() class decorator (GH-20942) (GH-20949) https://github.com/python/cpython/commit/d3798ed9f1762dcf632369505d517f476eccde13 ---

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-25 Thread Cezary Wagner
Cezary Wagner added the comment: I read some comments os.flush() or os.fsync() can be unrelated to problem. External application can be written in C# or whatever you want. Under Windows (not Linux) - modification dates will be stalled in such sequence. os.scandir() dir_entry.stat() # let it b

[issue41009] @support.requires_*_version broken for classes

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset cd6f9110974f733d10d9eef36a9a769a29cd3295 by Christian Heimes in branch '3.9': [3.9] bpo-41009: fix requires_OS_version() class decorator (GH-20942) (GH-20947) https://github.com/python/cpython/commit/cd6f9110974f733d10d9eef36a9a769a29cd3295 --

[issue41009] @support.requires_*_version broken for classes

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 8075fe199b0569428cebaf213663bdd1ca40d792 by Christian Heimes in branch '3.8': [3.8] bpo-41009: fix requires_OS_version() class decorator (GH-20942) (GH-20948) https://github.com/python/cpython/commit/8075fe199b0569428cebaf213663bdd1ca40d792 --

[issue40275] test.support has way too many imports

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 06a40d735939fd7d5cb77a68a6e18299b6484fa5 by Hai Shi in branch 'master': bpo-40275: Use new test.support helper submodules in tests (GH-20824) https://github.com/python/cpython/commit/06a40d735939fd7d5cb77a68a6e18299b6484fa5 -- ___

[issue41009] @support.requires_*_version broken for classes

2020-06-25 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue41113] test_warnings fails on non-Western locales

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset 086b4539806e296af9b68591670d12a22e170d43 by Miss Islington (bot) in branch '3.9': bpo-41113: Fix test_warnings on non-Western locales. (GH-21143) https://github.com/python/cpython/commit/086b4539806e296af9b68591670d12a22e170d43 -- ___

[issue41112] test_peg_generator fails on non-UTF-8 locale

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset c4dfcb28f7d466de152db75e7bae9de694bf0f0e by Miss Islington (bot) in branch '3.9': bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138) https://github.com/python/cpython/commit/c4dfcb28f7d466de152db75e7bae9de694bf0f0e --

[issue35773] test_bdb fails on non-UTF-8 locale

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

[issue40275] test.support has way too many imports

2020-06-25 Thread hai shi
Change by hai shi : -- pull_requests: +20310 pull_request: https://github.com/python/cpython/pull/21151 ___ Python tracker ___ ___ P

[issue41113] test_warnings fails on non-Western locales

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

[issue41112] test_peg_generator fails on non-UTF-8 locale

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

[issue41114] "TypeError: unhashable type" could often be more clear

2020-06-25 Thread Samuel Freilich
New submission from Samuel Freilich : Currently, if you (for example) put a dict as a value in a set or key in a dict, you get: TypeError: unhashable type: 'dict' I'm pretty sure this wording goes back a long time, but I've noticed that Python beginners tend to find this really confusing. It

[issue41115] Codecs should raise precise UnicodeDecodeError or UnicodeEncodeError

2020-06-25 Thread Antoine Pitrou
New submission from Antoine Pitrou : A number of codecs raise bare UnicodeError, rather than Unicode{Decode,Encode}Error. Example: File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/encodings/utf_16.py", line 67, in _buffer_decode raise UnicodeError("UTF-16 stream does not start

[issue41115] Codecs should raise precise UnicodeDecodeError or UnicodeEncodeError

2020-06-25 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) added the comment: This looks like an easy task. Shall I create a PR? -- nosy: +thatiparthy ___ Python tracker ___ ___

[issue41115] Codecs should raise precise UnicodeDecodeError or UnicodeEncodeError

2020-06-25 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi, IMO this can be mark as an easy issue. @thatiparthy please, go ahead -- nosy: +eamanu ___ Python tracker ___ __

  1   2   >