[issue33053] Avoid adding an empty directory to sys.path when running a module with `-m`

2018-04-07 Thread Nick Coghlan
Nick Coghlan added the comment: Some notes from my investigation of bpo-33185 that seem more appropriate here, rather than on that issue: * several of the developer-centric utilities in the standard library have a shared need to be friendly to imports from the current

[issue33240] shutil.rmtree fails when the inner floder is opened in Explorer on Windows

2018-04-07 Thread Eryk Sun
Eryk Sun added the comment: This is not an uncommon problem. If there's one or more existing references to a file or empty directory that were opened with shared delete access, then a delete operation will succeed, but the file or directory will not be unlinked from the

[issue33240] shutil.rmtree fails when the inner floder is opened in Explorer on Windows

2018-04-07 Thread Yu Liu
New submission from Yu Liu : Given the following directory structure on a Windows machine: - foo - bar a call to `shutil.rmtree("foo")` will fail when the inner folder `bar` is opened in an Explorer. The error message indicates the `foo` directory is not empty, while

[issue33237] Improve AttributeError message for partially initialized module

2018-04-07 Thread Nick Coghlan
Nick Coghlan added the comment: Oops, just realised my suggested text had an extraneous double quote in it due to a copy-and-paste error. Fixed version: AttributeError: partially initialized module 'spam' has no attribute 'ham' (most likely due to a circular import).

[issue23403] Use pickle protocol 4 by default?

2018-04-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is there something left to be done here? -- ___ Python tracker ___

[issue33211] lineno and col_offset are wrong on function definitions with decorators

2018-04-07 Thread Ethan Smith
Ethan Smith added the comment: In my PR, I added `def_lineno` and `class_lineno` as fields in the ASDL, instead of attributes (since constructors cannot have attributes, only types can). This means they show up in `ast.dump` which is probably not the desired behavior, as it

[issue29613] Support for SameSite Cookies

2018-04-07 Thread Alex Gaynor
Change by Alex Gaynor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29613] Support for SameSite Cookies

2018-04-07 Thread Alex Gaynor
Alex Gaynor added the comment: New changeset c87eb09d2e3783b0b5dc0d7cb304050cbcc86ad3 by Alex Gaynor in branch 'master': bpo-29613: Added support for SameSite cookies (GH-6413) https://github.com/python/cpython/commit/c87eb09d2e3783b0b5dc0d7cb304050cbcc86ad3

[issue33239] tempfile module: functions with the 'buffering' option are incorrectly documented

2018-04-07 Thread Martin Falatic
New submission from Martin Falatic : The documentation for the tempfile module in Python 3.x for the `buffering` option is incorrect: https://docs.python.org/3/library/tempfile.html TemporaryFile, NamedTemporaryFile, and SpooledTemporaryFile all take the `buffering`

[issue33237] Improve AttributeError message for partially initialized module

2018-04-07 Thread Brett Cannon
Brett Cannon added the comment: +1 from me for Nick's suggestion. -- ___ Python tracker ___

[issue29613] Support for SameSite Cookies

2018-04-07 Thread Alex Gaynor
Change by Alex Gaynor : -- keywords: +patch pull_requests: +6118 ___ Python tracker ___

[issue33201] Modernize "Extension types" documentation

2018-04-07 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33201] Modernize "Extension types" documentation

2018-04-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset b603609e9dd19268b61b52e701cc0ee8e86784c5 by Antoine Pitrou in branch '3.6': [3.6] bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6412) https://github.com/python/cpython/commit/b603609e9dd19268b61b52e701cc0ee8e86784c5

[issue33201] Modernize "Extension types" documentation

2018-04-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 31f1b52f1f6c2d84eacf3c6db3f6b9adf04b675e by Antoine Pitrou (Miss Islington (bot)) in branch '3.7': bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6411)

[issue33201] Modernize "Extension types" documentation

2018-04-07 Thread Antoine Pitrou
Change by Antoine Pitrou : -- pull_requests: +6117 ___ Python tracker ___ ___

[issue33201] Modernize "Extension types" documentation

2018-04-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +6116 ___ Python tracker ___

[issue33201] Modernize "Extension types" documentation

2018-04-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 1d80a561734b9932961c546b0897405a3bfbf3e6 by Antoine Pitrou in branch 'master': bpo-33201: Modernize "Extension types" doc (GH-6337) https://github.com/python/cpython/commit/1d80a561734b9932961c546b0897405a3bfbf3e6 --

[issue33213] crypt function not hashing properly on Mac (uses a specific salt)

2018-04-07 Thread Ron Reiter
Change by Ron Reiter : -- type: -> security ___ Python tracker ___ ___

[issue33211] lineno and col_offset are wrong on function definitions with decorators

2018-04-07 Thread Ethan Smith
Change by Ethan Smith : -- keywords: +patch pull_requests: +6115 stage: -> patch review ___ Python tracker ___

[issue23649] tarfile not re-entrant for multi-threading

2018-04-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: extract_from_pkgs() in the attached extract_from_packages.py script extracts /etc files from the tar files in PKG_DIR into WORK_DIR using a ThreadPoolExecutor (a ThreadPoolExecutor, when used to extract all the /etc files from the packages

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-07 Thread Ned Deily
Ned Deily added the comment: New changeset 76215a4481191b648de522a4e2120f60822f6b9c by Ned Deily in branch '3.6': bpo-33184: Update macOS installer build to use OpenSSL 1.0.2o. (GH-6408) https://github.com/python/cpython/commit/76215a4481191b648de522a4e2120f60822f6b9c

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-07 Thread Ned Deily
Ned Deily added the comment: New changeset 12d1dcd1f8ec0a2f3d8c325aa8e3f2f05b75b188 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33184: Update macOS installer build to use OpenSSL 1.1.0h. (GH-6407) (GH-6409)

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +6114 ___ Python tracker ___

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-07 Thread Ned Deily
Ned Deily added the comment: New changeset b405752dab95fa5dc65a19d94e798844d0378c61 by Ned Deily in branch 'master': bpo-33184: Update macOS installer build to use OpenSSL 1.1.0h. (GH-6407) https://github.com/python/cpython/commit/b405752dab95fa5dc65a19d94e798844d0378c61

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-07 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +6113 ___ Python tracker ___ ___ Python-bugs-list

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-07 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +6112 stage: needs patch -> patch review ___ Python tracker ___