[issue41124] String with encode causing addition of 'b' in the beginning

2020-06-25 Thread Srinivas Sampath
Srinivas Sampath added the comment: if you look at my code, couple of lines below the print, i am actually doing the send over the socket. It took me awhile to figure out why the socket is failing. I understand that the byte array is represented with a 'b' infront as part of encode function

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

2020-06-25 Thread SilentGhost
Change by SilentGhost : Removed file: https://bugs.python.org/file49263/Whatsapp-self-message-delivering-using-python-c55344b7f384e036bbe0fda69918c9eccf146dc1.zip ___ Python tracker

[issue41124] String with encode causing addition of 'b' in the beginning

2020-06-25 Thread SilentGhost
SilentGhost added the comment: Your request is likely failing for entirely different reasons. What you've done is encoded a str object into bytes object, which is represented with as literal using b prefix. It isn't being sent over the socket. -- nosy: +SilentGhost resolution: ->

[issue41125] Display exit-codes for abruptly terminated processes in concurrent.futures

2020-06-25 Thread Laurie Opperman
New submission from Laurie Opperman : When a process terminates in the process-pool of concurrent.futures.process, it simply gives the exception (with no __cause__): BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. I would

[issue41124] String with encode causing addition of 'b' in the beginning

2020-06-25 Thread Srinivas Sampath
New submission from Srinivas Sampath : I am trying to run the attached code. when hard-coding the string in the URL and doing .encode, then the code works. However since i am requesting user input, i cannot hard-code and the code seem to add the 'b' character in the beginning causing the

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-25 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +20322 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21164 ___ Python tracker ___

[issue41123] Remove Py_UNICODE APIs except PEP 623

2020-06-25 Thread Inada Naoki
New submission from Inada Naoki : # APIs relating to wstr Since some APIs did not have Py_DEPRECATE until 3.9 (see GH-20941), it can not be removed in 3.10. I wrote PEP 623 for them. This issue doesn't about them. # Deprecated since Python 3.3, and not documented. In Python 3.3 what's

[issue41122] functools.singledispatchfunction has confusing error message if no positional arguments are passed in

2020-06-25 Thread Mark Grandi
Change by Mark Grandi : -- title: functools.singledispatchfunction has confusing error message if no position arguments are passed in -> functools.singledispatchfunction has confusing error message if no positional arguments are passed in ___

[issue41122] functools.singledispatchfunction has confusing error message if no position arguments are passed in

2020-06-25 Thread Mark Grandi
New submission from Mark Grandi : this is with python 3.8: ```plaintext PS C:\Users\mark> py -3 --version --version Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] ``` So when using functools.singledispatch or functools.singledispatchmethod, you need to

[issue39679] functools: singledispatchmethod doesn't work with classmethod

2020-06-25 Thread Mark Grandi
Mark Grandi added the comment: same issue here, if we can't fix it then maybe we should edit the documentation to not suggest that @classmethod works? -- nosy: +markgrandi ___ Python tracker

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

2020-06-25 Thread Eryk Sun
Eryk Sun added the comment: > What it also means is that the "file still in use by another app" > scenario will probably have to manually use os.stat(). We can't > detect it, and it's the same race condition as calling os.stat() > shortly before the update flushes anyway. FAT filesystems

[issue41099] Deprecating PyUnicodeTranslateError_Create

2020-06-25 Thread Inada Naoki
Inada Naoki added the comment: I added deprecated directive in GH-21162. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41098] Deprecating PyUnicodeEncodeError_Create

2020-06-25 Thread Emmanuel Arias
Emmanuel Arias added the comment: oops, I didn't see. Thanks -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41099] Deprecating PyUnicodeTranslateError_Create

2020-06-25 Thread Inada Naoki
Inada Naoki added the comment: I prefer `PyObject_CallFunction(PyExc_UnicodeTranslateError, ...)` because UnicodeTranslateError is not so popular for third party libraries. I don't think we should provide public stable API for convenient. -- ___

[issue41098] Deprecating PyUnicodeEncodeError_Create

2020-06-25 Thread Inada Naoki
Inada Naoki added the comment: See #41099 for PyUnicodeTranslateError_Create. -- ___ Python tracker ___ ___ Python-bugs-list

[issue41098] Deprecating PyUnicodeEncodeError_Create

2020-06-25 Thread Emmanuel Arias
Emmanuel Arias added the comment: Yes, IMO in docs must exist a deprecated directive entry for `PyUnicodeEncodeError_Create`. Is the same situation with `PyUnicodeTranslateError_Create`, isn't? -- ___ Python tracker

[issue41098] Deprecating PyUnicodeEncodeError_Create

2020-06-25 Thread Emmanuel Arias
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41121] Path sep. in IDLE on Windows changes

2020-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This complaint is way too vague to work with. And for anything specific, it is almost certainly misdirected as the behavior is almost certainly not an IDLE issue. If your code, which is executed by python, not by IDLE, prints a path, IDLE displays it as

[issue41120] Possible performance improvement for itertools.product example on Python Docs

2020-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion, but the purpose of the rough equivalent example is to give a better idea of what product() does. It is not about performance — that job falls to the actual implementation. Nested generators are an intermediate level Python

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

2020-06-25 Thread One Digi Print
Change by One Digi Print : Added file: https://bugs.python.org/file49263/Whatsapp-self-message-delivering-using-python-c55344b7f384e036bbe0fda69918c9eccf146dc1.zip ___ Python tracker

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

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

[issue41118] datetime object does not preserve POSIX timestamp

2020-06-25 Thread Paul Ganssle
Paul Ganssle added the comment: There's a pretty clear warning on the documentation that utcfromtimestamp is unsuitable for this purpose: https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp What you want is a datetime that knows what time zone it's in, so that

[issue41121] Path sep. in IDLE on Windows changes

2020-06-25 Thread wyz23x2
New submission from wyz23x2 : Python supports "/" and "\" separators on Windows. So in IDLE, the path shown sometimes is: D:\xxx\xxx Sometimes is: D:/xxx/xxx That isn't right. -- assignee: terry.reedy components: IDLE messages: 372395 nosy: terry.reedy, wyz23x2 priority: normal

[issue41118] datetime object does not preserve POSIX timestamp

2020-06-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41120] Possible performance improvement for itertools.product example on Python Docs

2020-06-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41098] Deprecating PyUnicodeEncodeError_Create

2020-06-25 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +20321 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21162 ___ Python tracker ___

[issue41119] Wrong error message for list/tuple followed by a colon

2020-06-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 4b85e60601489f9ee9dd2909e28d89a31566887c by Lysandros Nikolaou in branch 'master': bpo-41119: Output correct error message for list/tuple followed by colon (GH-21160)

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

2020-06-25 Thread Steve Dower
Steve Dower added the comment: Okay, so it sounds like there's a class of files where we can't rely on the FindFileData having the right values. But we get enough information to be able just suppress the caching behaviour for those, right? Basically, my criteria for fixing this in the

[issue41120] Possible performance improvement for itertools.product example on Python Docs

2020-06-25 Thread Abbas Taher
New submission from Abbas Taher : In the documentation the following example is given: def product(*args, repeat=1): # product('ABCD', 'xy') --> Ax Ay Bx By Cx Cy Dx Dy # product(range(2), repeat=3) --> 000 001 010 011 100 101 110 111 pools = [tuple(pool) for pool in args] * repeat

[issue41103] Removing old buffer support

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

[issue41103] Removing old buffer support

2020-06-25 Thread Inada Naoki
Inada Naoki added the comment: New changeset 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed by Inada Naoki in branch 'master': bpo-41103: Remove old buffer protocol support (#21117) https://github.com/python/cpython/commit/6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed --

[issue41119] Wrong error message for list/tuple followed by a colon

2020-06-25 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +20320 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21160 ___ Python tracker

[issue41119] Wrong error message for list/tuple followed by a colon

2020-06-25 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : Brandt found this out while testing his implementation of the `match` statement. When a list or tuple are followed by a colon without an annotation, the old parser used to say "invalid syntax", while the new parser considers this an annotation and

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-25 Thread Manuel Jacob
Change by Manuel Jacob : -- keywords: +patch pull_requests: +20319 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21159 ___ Python tracker ___

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

2020-06-25 Thread Eryk Sun
Eryk Sun added the comment: > Does it make the most sense for us to make .flush() also do an > implicit .fsync() (when it's actually a file object)? Standard I/O in the Windows C runtime supports a "c" commit mode that causes fflush to call _commit() on the underlying fd [1]. Perhaps Python

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2020-06-25 Thread Guido van Rossum
Guido van Rossum added the comment: But it is undocumented and doesn’t work with -X oldparser. -- --Guido (mobile) -- ___ Python tracker ___

[issue41118] datetime object does not preserve POSIX timestamp

2020-06-25 Thread Grant Petty
New submission from Grant Petty : For complete context, see https://stackoverflow.com/questions/62582386/how-do-i-get-a-naive-datetime-object-that-correctly-uses-utc-inputs-and-preserve Short version: It does not seem correct that a datetime object produced *from* a POSIX timestamp using

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

2020-06-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: While this might make for an interesting validation experiment, I don't think the results should be checked in. Code churn is to be avoided when there is no visible user benefit. It risks destabilizing code, introducing errors, and making the code less

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2020-06-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is already implemented in master with the new PEG parser so closing this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2020-06-25 Thread thautwarm
thautwarm added the comment: Maybe you should close this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2020-06-25 Thread thautwarm
thautwarm added the comment: I can confirm Guido's words, now parentheses for continuation across lines are already supported. Even without parentheses, multiline with items can be supported. I just implemented it here:

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

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

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

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f925407a19eeb9bf5f7640143979638adce2c677 by Serhiy Storchaka in branch '3.9': [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156)

[issue40799] Create Lib/_pydatetime.py file to optimize "import datetime" when _datetime is available

2020-06-25 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40275] test.support has way too many imports

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

[issue41117] [easy C] GC: Use local variable 'op' when invoking 'traverse' in 'subtract_refs'

2020-06-25 Thread William Pickard
New submission from William Pickard : When the GC module goes to collect objects (most notably, during Python shutdown), it makes a call to subtract_refs on the GC container. During this invocation, it creates a local variable "op" who's value is the result of 'FROM_GC(gc)', but when it goes

[issue41115] Codecs should raise precise UnicodeDecodeError or UnicodeEncodeError

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40309] “unmatched paren” for space before parenthesis in Py_BuildValue

2020-06-25 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 1.0 -> 2.0 pull_requests: +20318 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21158 ___ Python tracker

[issue34137] Add Path.lexist() to pathlib

2020-06-25 Thread Nils Philippsen
Nils Philippsen added the comment: I've come across this issue lately and proposed a PR which implements this and, analogous to os.stat(), adds a follow_symlinks parameter to Path.exists(). -- ___ Python tracker

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-06-25 Thread Ned Deily
New submission from Ned Deily : When building on macOS 11 (beta), a number of modules that should normally build on macOS fail because the system-supplied third-party libraries are not found. The necessary bits to build these optional modules were not found: _bz2 _curses

[issue34137] Add Path.lexist() to pathlib

2020-06-25 Thread Nils Philippsen
Change by Nils Philippsen : -- keywords: +patch pull_requests: +20316 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21157 ___ Python tracker ___

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

2020-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +20315 pull_request: https://github.com/python/cpython/pull/21156 ___ Python tracker ___

[issue41100] Build failure on macOS 11 (beta)

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset cfbc759f918d646a59acb99251fc10b3900248a6 by Miss Islington (bot) in branch '3.7': BPO-41100: Support macOS 11 when building (GH-21113) (GH-21155) https://github.com/python/cpython/commit/cfbc759f918d646a59acb99251fc10b3900248a6 --

[issue41100] Build failure on macOS 11 (beta)

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset c4a53e48a98b3d8fdcfc11d1b5af3ea0dd987a88 by Miss Islington (bot) in branch '3.8': BPO-41100: Support macOS 11 when building (GH-21113) https://github.com/python/cpython/commit/c4a53e48a98b3d8fdcfc11d1b5af3ea0dd987a88 --

[issue41100] Build failure on macOS 11 (beta)

2020-06-25 Thread miss-islington
miss-islington added the comment: New changeset ad7a66731f2681c626f32f097e1e91cdc02330ab by Miss Islington (bot) in branch '3.9': BPO-41100: Support macOS 11 when building (GH-21113) https://github.com/python/cpython/commit/ad7a66731f2681c626f32f097e1e91cdc02330ab --

[issue41115] Codecs should raise precise UnicodeDecodeError or UnicodeEncodeError

2020-06-25 Thread Walter Dörwald
Walter Dörwald added the comment: UnicodeEncodeError and UnicodeDecodeError are used to report un(en|de)codedable ranges in the source object, so it wouldn't make sense to use them for errors that have nothing to do with problems in the source object. Their constructor requires 5 arguments

[issue41100] Build failure on macOS 11 (beta)

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

[issue41100] Build failure on macOS 11 (beta)

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

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

2020-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 700cfa8c90a90016638bac13c4efd03786b2b2a0 by Serhiy Storchaka in branch 'master': bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035)

[issue41100] Build failure on macOS 11 (beta)

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

[issue41100] Build failure on macOS 11 (beta)

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset 8ea6353f60625c96ce96588c70ff24a77f8c71f9 by Ronald Oussoren in branch 'master': BPO-41100: Support macOS 11 when building (GH-21113) https://github.com/python/cpython/commit/8ea6353f60625c96ce96588c70ff24a77f8c71f9 --

[issue40939] Remove the old parser

2020-06-25 Thread Ned Deily
Ned Deily added the comment: New changeset 8d02f91dc6139a13b6efa9bd5a5b4bdd7ddcc29d by Ned Deily in branch 'master': bpo-40939: run autoreconf to fix configure{,.ac} disparity (GH-21152) https://github.com/python/cpython/commit/8d02f91dc6139a13b6efa9bd5a5b4bdd7ddcc29d --

[issue40939] Remove the old parser

2020-06-25 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily nosy_count: 7.0 -> 8.0 pull_requests: +20311 pull_request: https://github.com/python/cpython/pull/21152 ___ 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 ___

[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 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

[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.

[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 ___

[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 ___ ___

[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 ___

[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 --

[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 --

[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 ___ ___

[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 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

[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 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

[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

[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 --

[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

[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 --

[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 ___

[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

[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

[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

[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 --

[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 --

[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 --

[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 ___

[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 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

[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 --

[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 : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20303 pull_request: https://github.com/python/cpython/pull/21144 ___ Python tracker

[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 ___

  1   2   >