[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-07-30 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +25992 pull_request: https://github.com/python/cpython/pull/27473 ___ Python tracker ___ ___

[issue31746] crashes in sqlite3.Connection in case it is uninitialized or partially initialized

2021-07-30 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- assignee: -> erlendaasland status: open -> pending versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2021-07-30 Thread Danny Lin
Danny Lin added the comment: > I've put up a PR that expands the docs for NotADirectoryError here: > https://github.com/python/cpython/pull/27471/files Thank you. Wouldn't it be more clear if an example is provided? Like: (e.g. `/path/to` does not exist when running `open('/path/to/file')`)

[issue44774] incorrect sys.stdout.encoding within a io.StringIO buffer

2021-07-30 Thread Pierre Carbonnelle
New submission from Pierre Carbonnelle : The following code print("outside:", sys.stdout.encoding) with redirect_stdout(io.StringIO()) as f: print("inside: ", sys.stdout.encoding) print(f.getvalue()) yields: outside: utf-8 inside: None Because StringIO is a stri

[issue42626] readline history, vi-editingmode and ANSI color codes bug

2021-07-30 Thread Joakim Nilsson
Joakim Nilsson added the comment: Yes, I have noticed that too, and I agree, not as bad as if it was garbled, but still an annoyance. On Fri, Jul 30, 2021 at 1:34 AM Andrei Kulakov wrote: > > Andrei Kulakov added the comment: > > Joakim: by the way, what I was able to reproduce is just a vi

[issue44775] Speed-up typing.cast by implementing it in C

2021-07-30 Thread Yurii Karabas
New submission from Yurii Karabas <1998uri...@gmail.com>: In scope of https://github.com/python/cpython/pull/27262 we have introduce `_typing` module with typing related helper functions. It will be great to speedup `typing.cast` function by implementing it in C. I have already done it and he

[issue44662] Add ability to annotate types.Union

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 472997659b9c73089cdc22bd7eded6f6fdcffdfe by Miss Islington (bot) in branch '3.10': bpo-44662: Add ability to annotate types.Union (GH-27214) (GH-27461) https://github.com/python/cpython/commit/472997659b9c73089cdc22bd7eded6f6fdcffdfe --

[issue44662] Add ability to annotate types.Union

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Yurii! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44775] Speed-up typing.cast by implementing it in C

2021-07-30 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch pull_requests: +25993 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27474 ___ Python tracker

[issue44776] Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages

2021-07-30 Thread Alex
New submission from Alex : Now that the docs are mobile-friendly (nice!), I noticed that the code snippets are not using a monospace font (at least on my Android 10 + Chrome 92 device). This misaligns the carets of the improved errors messages, for example on the "what's new": https://docs.py

[issue44774] incorrect sys.stdout.encoding within a io.StringIO buffer

2021-07-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: Why do you expect UTF-8 inside the redirect_stdout block? io.StringIO doesn't have an encoding - it stores strings, not bytes. If z3-solver cannot deal with StringIO, then surely that's a bug in z3-solver? -- nosy: +steven.daprano _

[issue44776] Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages

2021-07-30 Thread Alex
Alex added the comment: It looks this is already being tracked at: https://github.com/python/pythondotorg/issues/1708 -- ___ Python tracker ___ __

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +25994 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27475 ___ Python tracker ___

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-07-30 Thread Felix C. Stegerman
Change by Felix C. Stegerman : -- nosy: +obfusk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue44774] incorrect sys.stdout.encoding within a io.StringIO buffer

2021-07-30 Thread Pierre Carbonnelle
Pierre Carbonnelle added the comment: I expect sys.stdout to have utf-8 encoding inside the redirect because the buffer accepts unicode code points (not bytes), just as it does outside of the redirect. In other words, I expect the 'encoding' attribute of sys.stdout to have the same value in

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 6ff890380971752299325bd28eab80ec936975cf by Vinay Sajip in branch 'main': bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) https://github.com/python/cpython/commit/6ff890380971752299325bd28eab80ec936975cf

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread Vinay Sajip
Vinay Sajip added the comment: Should be fixed in main, leaving open until backports are done. -- versions: +Python 3.10, Python 3.9 -Python 3.8 ___ Python tracker ___ ___

[issue44774] incorrect sys.stdout.encoding within a io.StringIO buffer

2021-07-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: > I expect sys.stdout to have utf-8 encoding inside the redirect because > the buffer accepts unicode code points (not bytes) And the buffer stores unicode code points, not bytes, so why would there be an encoding? Just to get this out of the way, in case

[issue31746] crashes in sqlite3.Connection in case it is uninitialized or partially initialized

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0cb470e622ba37920c72e4d8f284741b9fbaea8b by Erlend Egeberg Aasland in branch '3.10': [3.10] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431). (GH-27472) https://github.com/python/cpython/commit/0cb470e622ba37920c72e

[issue31746] crashes in sqlite3.Connection in case it is uninitialized or partially initialized

2021-07-30 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44774] incorrect sys.stdout.encoding within a io.StringIO buffer

2021-07-30 Thread Pierre Carbonnelle
Pierre Carbonnelle added the comment: As a work around, I had to use a temporary file (instead of a memory buffer): print("outside:", sys.stdout.encoding) with open("/tmp/log.txt", mode='w', encoding='utf-8') as buf: with redirect_stdout(buf) as f: print("inside: "

[issue44774] incorrect sys.stdout.encoding within a io.StringIO buffer

2021-07-30 Thread Pierre Carbonnelle
Pierre Carbonnelle added the comment: I can live with the workaround, so, you can close the issue if you wish. As you say, maybe it's an issue with z3. Thank you for your time. -- ___ Python tracker _

[issue42698] Deadlock in pysqlite_connection_dealloc()

2021-07-30 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: hydroflask, can you provide a reproducer? -- nosy: +erlendaasland versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker __

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2021-07-30 Thread Andrei Kulakov
Andrei Kulakov added the comment: Danny: that would be inconsistent with the rest of the doc, it's written as a reference list for exceptions and none of them have examples currently.. It also seems fairly clear without an example. -- ___ Python t

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2021-07-30 Thread Andrei Kulakov
Andrei Kulakov added the comment: (in fact, there is one example (for f-string exception) but the overall pattern is to just have reference type descriptions) -- ___ Python tracker _

[issue44761] NewType __module__ attr default value

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25995 pull_request: https://github.com/python/cpython/pull/27477 ___ Python tracker _

[issue44761] NewType __module__ attr default value

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7b975f81e4dba70a42c6279539a7fcfe4211b4c0 by Yurii Karabas in branch 'main': bpo-44761: Change default value of NewType __module__ attr (GH-27406) https://github.com/python/cpython/commit/7b975f81e4dba70a42c6279539a7fcfe4211b4c0 -- nosy: +

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jason R. Coombs
New submission from Jason R. Coombs : In [this comment](https://github.com/python/cpython/pull/27436#issuecomment-889815333), I learned that it's possible to break the buildbots in a way that's not fixable with a simple code change. The recommendation there was to contact the buildbot owners

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +25996 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27436 ___ Python tracker ___

[issue44778] os seperator error. str method of PureWindowsPath on Ming64 env

2021-07-30 Thread mert
New submission from mert : PureWindowsPath('C:\\Users') When I call __str__ method of PureWindowsPath on Windows,Cygwin,Linux enviroment, I get "C:\Users" as expected. But when I run the same code on MingW environment I get "C:/Users". from pathlib import PureWindowsPath, Path p = PureWind

[issue44761] NewType __module__ attr default value

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 56122b0bba7a9e2e3ec672a6c22bfdd7ecf08cbe by Miss Islington (bot) in branch '3.10': bpo-44761: Change default value of NewType __module__ attr (GH-27406) (GH-27477) https://github.com/python/cpython/commit/56122b0bba7a9e2e3ec672a6c22bfdd7ecf08cbe

[issue44761] NewType __module__ attr default value

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue44747] Refactor usage of sys._getframe at typing module

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ea4673ed0757e9bfe8774e60cfae3313e9927b5f by Yurii Karabas in branch 'main': bpo-44747: Refactor usage of sys._getframe at typing module (#27387) https://github.com/python/cpython/commit/ea4673ed0757e9bfe8774e60cfae3313e9927b5f -- nosy: +l

[issue44747] Refactor usage of sys._getframe at typing module

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Yurii! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44779] Checkouts stale following changes to .gitattributes

2021-07-30 Thread Jason R. Coombs
New submission from Jason R. Coombs : In [this comment](https://github.com/python/cpython/pull/27436#issuecomment-889815333), I learned that it's possible to get repo clones into a bad state by: - commit a text file to main (merge a PR) - customize the newline handling for that file in .gitat

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: -25996 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jason R. Coombs
Change by Jason R. Coombs : -- stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +25997 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27436 ___ Python tracker ___ _

[issue44779] Checkouts stale following changes to .gitattributes

2021-07-30 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +25998 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27436 ___ Python tracker ___

[issue44771] Adopt changes from importlib_resources 5.2

2021-07-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems that PR 27436 has broken several buildbots. For instance: https://buildbot.python.org/all/#/builders/350/builds/474 Following our buildbot policy, we will sadly need to revert in 24 if is not fixed. -- nosy: +pablogsal resolution: fixed

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jeremy Kloth
Jeremy Kloth added the comment: There is a list `python-buildb...@python.org` that all buildbot owners have been subscribed. -- nosy: +jkloth ___ Python tracker ___ _

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue44771] Adopt changes from importlib_resources 5.2

2021-07-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +25999 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/27483 ___ Python tracker ___ ___

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Let me add the contact information to devguide.python.org. -- nosy: +lukasz.langa ___ Python tracker ___ ___

[issue44780] Incorrect message: "Invalid decimal literal" (python 3.10)

2021-07-30 Thread Andre Roberge
New submission from Andre Roberge : Consider the following: >>> a = (1‚ 2) # not a comma, but unicode character. Using Python 3.9 (and earlier), we get the following correct information >>> a = (1‚ 2) File "", line 1 a = (1‚ 2) ^ SyntaxError: invalid character '‚' (U+201A) Us

[issue44771] Adopt changes from importlib_resources 5.2

2021-07-30 Thread Filipe Laíns
Change by Filipe Laíns : -- pull_requests: +26000 pull_request: https://github.com/python/cpython/pull/27484 ___ Python tracker ___ _

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Done and done. See: https://devguide.python.org/buildbots/ (https://github.com/python/devguide/pull/733) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44778] os seperator error. str method of PureWindowsPath on Ming64 env

2021-07-30 Thread Eryk Sun
Eryk Sun added the comment: MinGW Python sets os.sep to "/" and os.altsep to "\\". It also swaps _WindowsFlavour.sep and _WindowsFlavour.altsep in pathlib. This seems dubious to me. Technically the Windows API supports both backslash and slash as path separators, but in practice many API fun

[issue44777] Create mechanism to contact buildbot worker owners

2021-07-30 Thread Jason R. Coombs
Jason R. Coombs added the comment: Awesome. Thanks Łukasz. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41103] Removing old buffer support

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Resolved as "wontfix" due to presence in the stable ABI. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue44780] Incorrect message: "Invalid decimal literal" (python 3.10)

2021-07-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44781] test_distutils emits deprecation warning about distils

2021-07-30 Thread Irit Katriel
New submission from Irit Katriel : The test will be removed with distutils, so for now it should suppress the deprecation warning so that we can run the tests with warnings as errors. -- components: Tests messages: 398561 nosy: iritkatriel priority: normal severity: normal status: open

[issue44781] test_distutils emits deprecation warning about distils

2021-07-30 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26001 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27485 ___ Python tracker ___ ___

[issue44781] test_distutils emits deprecation warning about distutils

2021-07-30 Thread Irit Katriel
Change by Irit Katriel : -- title: test_distutils emits deprecation warning about distils -> test_distutils emits deprecation warning about distutils ___ Python tracker ___ __

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2021-07-30 Thread Danny Lin
Danny Lin added the comment: @Andrei Kulakov: I was commenting on the previous version. The revised version (f2ae30b0de3c4ba1f16fc2a430cf22b447c062ed) seems ok to me. Another question: would it be better if we add "on some platforms" for the part that the error may raise on a file operation?

[issue44779] Checkouts stale following changes to .gitattributes

2021-07-30 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26002 pull_request: https://github.com/python/cpython/pull/27486 ___ Python tracker _

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26003 pull_request: https://github.com/python/cpython/pull/27487 ___ Python tracker ___ __

[issue41254] Add to/from string methods to datetime.timedelta

2021-07-30 Thread Matthew Kenigsberg
Matthew Kenigsberg added the comment: I think it would be nice to have a from str method that could reverse the behavior of str(timedelta). I'm trying to parse files that contain the output of str(timedelta), and there's no easy way to get them back to timedelta's -- nosy: +matthewke

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-07-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I understand, the proposal would be to make frozensets keep the creation > order. That would increase the memory consumption of all frozen set instances, which is likely not going to fly -- nosy: +pablogsal

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-07-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The only way I can see here is to go with a similar strategy as Serhiy proposes, which seems that it has a non trivial complication (and a new type, which I am not very fond of) but is a bit cleaner than changing the semantics of the type, which affec

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2021-07-30 Thread Andrei Kulakov
Andrei Kulakov added the comment: Danny: then it would be probably more useful to say "On POSIX systems, it will be raised when ...". I'm ambivalent on whether this is needed. Eryk: wdyt? -- ___ Python tracker

[issue41737] Improper NotADirectoryError when opening a file in a fake directory

2021-07-30 Thread Danny Lin
Danny Lin added the comment: @Andrei Kulakov: That statement is mainly for illustration that such behavior may vary across platforms. I use a rather vague statement as I'm not totally sure it applies if (and only if) running on POSIX. A more accurate statement is welcome as long as it's prov

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 882e4761c63ae76d994b57bbcd7e5adbf2aa7b4f by Miss Islington (bot) in branch '3.9': bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27486) https://github.com/python/cpython/commit/882e4761c63ae76d994b57

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 6e6dc2517379289932c68fc986ee3994468374fc by Miss Islington (bot) in branch '3.10': bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27487) https://github.com/python/cpython/commit/6e6dc2517379289932c68

[issue44753] backupCount is not respected in TimedRotatingFileHandler when namer is specified

2021-07-30 Thread Vinay Sajip
Vinay Sajip added the comment: Thanks for the bug report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-07-30 Thread Maxime LEURENT
Change by Maxime LEURENT : -- title: LRU class given as example in OrderedDict example not work on pop -> LRU class given as example in OrderedDict docs not work on pop ___ Python tracker ___

[issue44782] LRU class given as example in OrderedDict example not work on pop

2021-07-30 Thread Maxime LEURENT
New submission from Maxime LEURENT : Hello, I try to use a dictionnary with limited size, and I use class LRU given in docs on OrderedDict. Unfortunately this class is, somehow, not working on pop method. I say somehow because if I do OrderedDict pop method by hand I don't get any Exception

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 80f07076294bc09a55ed76d9bbf307404eef25e6 by Stefan Hoelzl in branch 'main': bpo-44666: Use default encoding as fallback for compile_file (GH-27236) https://github.com/python/cpython/commit/80f07076294bc09a55ed76d9bbf307404eef25e6 -- nosy:

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26005 pull_request: https://github.com/python/cpython/pull/27489 ___ Python tracker ___ __

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26004 pull_request: https://github.com/python/cpython/pull/27488 ___ Python tracker _

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26006 pull_request: https://github.com/python/cpython/pull/27490 ___ Python tracker _

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4bd9caafb64589288e5171087070bde726178c58 by andrei kulakov in branch 'main': bpo-41911: Update docs for various expressions (GH-27470) https://github.com/python/cpython/commit/4bd9caafb64589288e5171087070bde726178c58 -- nosy: +lukasz.lang

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2021-07-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26007 pull_request: https://github.com/python/cpython/pull/27491 ___ Python tracker ___ __

[issue42892] AttributeError in email.message.get_body()

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +26008 pull_request: https://github.com/python/cpython/pull/27492 ___ Python tracker _

[issue42892] AttributeError in email.message.get_body()

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e3f877c32d7cccb734f45310f26beeec793364ce by andrei kulakov in branch 'main': bpo-42892: fix email multipart attribute error (GH-26903) https://github.com/python/cpython/commit/e3f877c32d7cccb734f45310f26beeec793364ce -- nosy: +lukasz.lang

[issue42892] AttributeError in email.message.get_body()

2021-07-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +26009 pull_request: https://github.com/python/cpython/pull/27493 ___ Python tracker ___ __

[issue43625] CSV has_headers heuristic could be improved

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ceea579ccc51791f3e115155d6f27905bc7544a9 by andrei kulakov in branch 'main': bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) https://github.com/python/cpython/commit/ceea579ccc51791f3e115155d6f27905bc7544a9 --

[issue43625] CSV has_headers heuristic could be improved

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26010 pull_request: https://github.com/python/cpython/pull/27494 ___ Python tracker _

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0db6c143ae5f04d223fdb2c94b820f16714b0a09 by Miss Islington (bot) in branch '3.10': bpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27488) https://github.com/python/cpython/commit/0db6c143ae5f04d223fdb2c94b820f16714b0a09

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 73240d425b770c26d9424665259cd9a2f339b626 by Miss Islington (bot) in branch '3.9': bpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27489) https://github.com/python/cpython/commit/73240d425b770c26d9424665259cd9a2f339b626

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ __

[issue44666] compileall.compile_file fails when sys.stdout is redirected to StringIO

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Stefan! ✨ 🍰 ✨ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 48a62559dfaf775e4f1cc56b19379c799e8e2587 by andrei kulakov in branch 'main': bpo-44648: Fix error type in inspect.getsource() in interactive session (GH-27171) https://github.com/python/cpython/commit/48a62559dfaf775e4f1cc56b19379c799e8e2587 ---

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26011 pull_request: https://github.com/python/cpython/pull/27495 ___ Python tracker _

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Since this is an exception type change, I'd feel more comfortable leaving 3.9 out of the backports here. That way it will be easier for application authors to differentiate between when the change was introduced or not. -- _

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43625] CSV has_headers heuristic could be improved

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: Since this is a heuristic change, I'm thinking we shouldn't backport this to 3.9. This way it will be easier for application authors to notice the change and control it within their apps. -- versions: +Python 3.10 __

[issue43625] CSV has_headers heuristic could be improved

2021-07-30 Thread Andrei Kulakov
Andrei Kulakov added the comment: Łukasz: I agree. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 843b3d28209b7754c51c6cc3844f66808b6dbdaf by Miss Islington (bot) in branch '3.10': bpo-41911: Update docs for various expressions (GH-27470) (GH-27490) https://github.com/python/cpython/commit/843b3d28209b7754c51c6cc3844f66808b6dbdaf --

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b57011d2a5375bc9f255361dc64c9e6fbc203e0e by Miss Islington (bot) in branch '3.9': bpo-41911: Update docs for various expressions (GH-27470) (GH-27491) https://github.com/python/cpython/commit/b57011d2a5375bc9f255361dc64c9e6fbc203e0e -- _

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ __

[issue42892] AttributeError in email.message.get_body()

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6f950023c6a2168b229363d75f59a24ecdd66d19 by Miss Islington (bot) in branch '3.10': bpo-42892: fix email multipart attribute error (GH-26903) (GH-27492) https://github.com/python/cpython/commit/6f950023c6a2168b229363d75f59a24ecdd66d19 --

[issue43625] CSV has_headers heuristic could be improved

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 440c9f772a9b66c1ea387c1c3efc9ff438880acf by Miss Islington (bot) in branch '3.10': bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) (GH-27494) https://github.com/python/cpython/commit/440c9f772a9b66c1ea387c1c3efc9ff43888

[issue43625] CSV has_headers heuristic could be improved

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ __

[issue42892] AttributeError in email.message.get_body()

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0f42b726c87f72d522893f927b4cb592b8875641 by Miss Islington (bot) in branch '3.9': bpo-42892: fix email multipart attribute error (GH-26903) (GH-27493) https://github.com/python/cpython/commit/0f42b726c87f72d522893f927b4cb592b8875641 -- _

[issue42892] AttributeError in email.message.get_body()

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ __

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-30 Thread Othmane EL BOURI
Othmane EL BOURI added the comment: ince this is an exception type change, I'd feel more comfortable leaving 3.9 out of the backports here. That way it will be easier for application authors to differentiate between when the change was introduced or not. -- nosy: +othmaneelbouri1 __

[issue44781] test_distutils emits deprecation warning about distutils

2021-07-30 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-07-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f468ede4a2b7ab5c72ae85ab04cb56904300cd23 by Miss Islington (bot) in branch '3.10': bpo-44648: Fix error type in inspect.getsource() in interactive session (GH-27171) (GH-27495) https://github.com/python/cpython/commit/f468ede4a2b7ab5c72ae85ab04cb5

  1   2   >