[issue38902] image/webp support in mimetypes

2019-12-26 Thread Lee Ball
Lee Ball added the comment: Sorry, amendment to my last comment: the WebM approval without IANA registration was in msg232095 of https://bugs.python.org/issue16329 -- ___ Python tracker

[issue38902] image/webp support in mimetypes

2019-12-26 Thread Lee Ball
Lee Ball added the comment: Okay, I've opened a bug with WebP team regarding IANA registration: https://bugs.chromium.org/p/webp/issues/detail?id=448 For what its worth, WebM was added without an IANA registration as a de facto standard. Approval was given in this 2014 comment: https://bugs

[issue39140] shutil.move does not work properly with pathlib.Path objects

2019-12-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory ___ Python track

[issue30364] Outdated function attribute to disable address sanitizer

2019-12-26 Thread miss-islington
miss-islington added the comment: New changeset 5dd1909680a5be76397b19bc235a8205b79787c7 by Miss Islington (bot) in branch '3.8': closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. (GH-17702) https://github.com/python/cpython/commit/5dd1909680a5be76397b19bc235a8205b79

[issue30364] Outdated function attribute to disable address sanitizer

2019-12-26 Thread miss-islington
miss-islington added the comment: New changeset 5641b6d3115f1c2700d2f84216710d3778a23d02 by Miss Islington (bot) in branch '3.7': closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. (GH-17702) https://github.com/python/cpython/commit/5641b6d3115f1c2700d2f84216710d3778a

[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b9b92d34646d6a1fca120f98476912f5e4ca7f34 by Benjamin Peterson in branch '3.8': [3.8] closes bpo-39135: Remove 'time.clock()' mention in docs. (GH-17713) https://github.com/python/cpython/commit/b9b92d34646d6a1fca120f98476912f5e4ca7f34 -

[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 91874bb07161bb481b6f5ea18ffafe69cb8cac30 by Benjamin Peterson (Michael Wayne Goodman) in branch 'master': closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709) https://github.com/python/cpython/commit/91874bb07161bb481b6f5ea18ffa

[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-26 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +17158 pull_request: https://github.com/python/cpython/pull/17713 ___ Python tracker ___ ___

[issue30364] Outdated function attribute to disable address sanitizer

2019-12-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +17156 pull_request: https://github.com/python/cpython/pull/17711 ___ Python tracker ___ __

[issue30364] Outdated function attribute to disable address sanitizer

2019-12-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +17157 pull_request: https://github.com/python/cpython/pull/17712 ___ Python tracker ___ __

[issue30364] Outdated function attribute to disable address sanitizer

2019-12-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c0052f3fe3d19820b2d4f76e383035439affe32c by Benjamin Peterson (Batuhan Taşkaya) in branch 'master': closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. (GH-17702) https://github.com/python/cpython/commit/c0052f3fe3d1982

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-26 Thread Noah Massman-Hall
Change by Noah Massman-Hall : -- pull_requests: -17155 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-26 Thread Noah Massman-Hall
Change by Noah Massman-Hall : -- keywords: +patch pull_requests: +17155 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17710 ___ Python tracker ___

[issue20066] PyStructSequence_NewType() not setting proper heap allocation flag?

2019-12-26 Thread Dong-hee Na
Dong-hee Na added the comment: Thanks @nanjekyejoannah for comment. Yes, I found that the codes are updated. see https://github.com/python/cpython/blob/bd44a7ead9f7336d7bb45f186b2b6ca0300154f7/Objects/structseq.c#L488 I close this issue. -- nosy: +corona10 resolution: -> fixed stag

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-26 Thread Noah Massman-Hall
Noah Massman-Hall added the comment: I took a crack at the rst side of this, to see if I could reduce it to just one easy to parse for line in each file that needs to be modified. Yeah, not so easy. Substituting text in rst isn't hard, you just insert '|ucd_version|' where the version strin

[issue39140] shutil.move does not work properly with pathlib.Path objects

2019-12-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is a duplicate of https://bugs.python.org/issue32689 that is fixed in 3.9 . Using os.fspath on path object is more correct here instead of str so that objects with both __str__ and __fspath__ implemented are handled properly. -- nosy:

[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-26 Thread Michael Wayne Goodman
Change by Michael Wayne Goodman : -- keywords: +patch pull_requests: +17154 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17709 ___ Python tracker __

[issue39134] can't construct dataclass as ABC (or runtime check as data protocol)

2019-12-26 Thread Guido van Rossum
Guido van Rossum added the comment: 1. PEP 554 is about multiple interpreters. Which PEP did you mean? 2. The double negative in “Wouldn't it pay off to not rewrite dataclass features” is confusing. What did you mean? -- nosy: +gvanrossum ___ Pytho

[issue29750] smtplib doesn't handle unicode passwords

2019-12-26 Thread Sebastien Luttringer
Sebastien Luttringer added the comment: Utf8 passwords are still broken on python 3.8. Patch works great on 3.8. -- ___ Python tracker ___ ___

[issue39140] shutil.move does not work properly with pathlib.Path objects

2019-12-26 Thread Luca Paganin
New submission from Luca Paganin : Suppose you have two pathlib objects representing source and destination of a move: src=pathlib.Path("foo/bar/barbar/myfile.txt") dst=pathlib.Path("foodst/bardst/") If you try to do the following shutil.move(src, dst) Then an AttributeError will be raised,

[issue39102] Increase Enum performance

2019-12-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2019-12-26 Thread Khalid Mammadov
Change by Khalid Mammadov : -- keywords: +patch pull_requests: +17153 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17707 ___ Python tracker ___

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2019-12-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It can be updated since issue25988 removed the deprecation in Python 3.9. -- nosy: +rhettinger, xtreak ___ Python tracker ___ _

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2019-12-26 Thread Khalid Mammadov
New submission from Khalid Mammadov : "Deprecated since version 3.3, will be removed in version 3.9: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.8." on the overview is confusing

[issue39132] Adding funcitonality to determine if a constant string node is triple quoted

2019-12-26 Thread Batuhan
Batuhan added the comment: @inada.naoki I thought that would be a nice to have feature in certain cases AST used but as @serhiy.storchaka said there is an issue with implicit string concatenation which makes this impossible to expose. Thank you both. -- stage: -> resolved status: op

[issue39138] import a pycapsule object that's attached on many modules

2019-12-26 Thread Yorkie Liu
Yorkie Liu added the comment: Update the example: ``` PyCapsule* cap = PyCapsule_New("foobar"); PyObject_SetAttrString(module1, cap->name, cap); PyObject_SetAttrString(module2, cap->name, cap); PyCapsule_Import("module1.foobar", 0); PyCapsule_Import("module2.foobar", 0); ``` -- resol

[issue39138] import a pycapsule object that's attached on many modules

2019-12-26 Thread Yorkie Liu
New submission from Yorkie Liu : Current PyCapsule's name is corresponding to the `modulename.attrname`, which requires it could be imported in the specified module. And it's possible to implement a feature which shares the same capsule object between different modules, and supports importing

[issue39137] create_unicode_buffer() gives different results on Windows vs Linux

2019-12-26 Thread Christoph Reiter
New submission from Christoph Reiter : >>> len(ctypes.create_unicode_buffer("\ud800\udc01", 2)[:]) On Windows: 1 On Linux: 2 Using Python 3.8 on both. -- components: ctypes messages: 358885 nosy: lazka priority: normal severity: normal status: open title: create_unicode_buffer() gives

[issue39134] can't construct dataclass as ABC (or runtime check as data protocol)

2019-12-26 Thread Alexander Hirner
Alexander Hirner added the comment: Here, nothing but less boiler plate. Wouldn't it pay off to not rewrite dataclass features like frozen, replace, runtime refelection and the ability to use dataclass aware serialization libraries (e.g. pydantic)? I think @dataclass+@abstractproperty behav

[issue39135] time.get_clock_info() documentation still has 'clock' name

2019-12-26 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Sure, no problem. I've just signed the CLA and forked the code. I'll wait a day for the CLA check to clear then submit. -- ___ Python tracker ___

[issue39136] Typos in whatsnew file and docs

2019-12-26 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Based on https://github.com/python/cpython/pull/17665#pullrequestreview-335610849 . Grepping for the words might help fix in multiple instances of the typos. Typos in Whatsnew document asolute -> absolute happend -> happened Excape -> Escape Do

[issue39134] can't construct dataclass as ABC (or runtime check as data protocol)

2019-12-26 Thread Eric V. Smith
Eric V. Smith added the comment: Is dataclasses doing something here that a regular, hand-written class wouldn't do? -- ___ Python tracker ___ ___