[issue32696] Fix pickling exceptions with multiple arguments

2018-10-29 Thread Benoit Pierre
Change by Benoit Pierre : -- nosy: +benoit-pierre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35095] Implement pathlib.Path.append_bytes and pathlib.Path.append_text

2018-10-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35084] binascii.Error: Incorrect padding

2018-10-29 Thread TestUser
TestUser added the comment: In the new version of Ubuntu this generates a system crash report. Normally I delete them. Give me a day or to to get you one. Funny, since it is the crash reports use of base64 encoding that led me to the Python base64 module. On Sun, Oct 28, 2018 at 8:42 PM

[issue34765] Update install-sh

2018-10-29 Thread Michael Felt
Michael Felt added the comment: FYI: On my manual build server I have coreutils "install" installed, and it seems install-sh is not called in that case (which is why I never saw with manual builds) FYI: There is also an issue (I hope side-effect) that pyexpat is not building while

[issue3243] Support iterable bodies in httplib

2018-10-29 Thread tzickel
Change by tzickel : -- pull_requests: +9540 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28655] Tests altered the execution environment in isolated mode

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4687bc993a275eaeb27a8b2068b128ce1f464818 by Victor Stinner (Maite Giménez) in branch '3.6': bpo-28655: Fix test bdb for isolate mode (GH-10220) https://github.com/python/cpython/commit/4687bc993a275eaeb27a8b2068b128ce1f464818 --

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +9541 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +9542 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread miss-islington
miss-islington added the comment: New changeset 7b689c68ab3236455f7d58954435d029e2bb2c8a by Miss Islington (bot) in branch '3.6': bpo-34945: Buffer output in test suite only when creating junit file (GH-10204) https://github.com/python/cpython/commit/7b689c68ab3236455f7d58954435d029e2bb2c8a

[issue34765] Update install-sh

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: I made install-sh executable again. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: At least Python 3.6 and 3.7 branches are affected as well, so I reopen the issue. -- status: closed -> open versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread Eryk Sun
Eryk Sun added the comment: > Windows getcwd() returns a path without resolved symbolic links This provides consistency. If the working directory were resolved, then accessing "../file.ext" after chdir("C:/Temp/link") could be inconsistent with accessing "C:/Temp/link/../file.ext". This is

[issue35095] Implement pathlib.Path.append_bytes and pathlib.Path.append_text

2018-10-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: First, it is quite uncommon to open a file in append mode. Second, when you open in append mode, often you will gradually append (such as for a logfile), so a single method call isn't effective. So I think this does not solve an important use case.

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This should be fixed (it works now with and without -v). :) -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 02277482ea765335e497ecd9661d4bde9b5ddc67 by Pablo Galindo in branch 'master': bpo-34945: Buffer output in test suite only when creating junit file (GH-10204)

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: 3.6 and 3.7 are backported! -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34765] Update install-sh

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9539 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue23220] IDLE: Document how Shell displays user code output

2018-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: While editing 'IDLE-console differences' (added in the patch above) for #35099, I decided that it should be renamed (to, say, 'Executing user code') and limited to the effect of executing user code in IDLE's execution process instead of a standard python

[issue34765] Update install-sh

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 541497e6197268517b0d492856027774c43e0949 by Victor Stinner in branch 'master': bpo-35059: Convert Py_XINCREF() to static inline function (GH-10224) https://github.com/python/cpython/commit/541497e6197268517b0d492856027774c43e0949 --

[issue22021] shutil.make_archive() root_dir do not work

2018-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a documentation issue. -- stage: patch review -> needs patch versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f6a47f3e316cede2a07a1f74a509f6d80ab8fef0 by Pablo Galindo in branch 'master': bpo-35031: Fix test_start_tls_server_1 on FreeBSD buildbots (GH-10011) https://github.com/python/cpython/commit/f6a47f3e316cede2a07a1f74a509f6d80ab8fef0

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread miss-islington
miss-islington added the comment: New changeset 58f7bf3a892031616a6b06ef4b8d36e2ebec172b by Miss Islington (bot) in branch '3.7': bpo-34945: Buffer output in test suite only when creating junit file (GH-10204) https://github.com/python/cpython/commit/58f7bf3a892031616a6b06ef4b8d36e2ebec172b

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9537 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34765] Update install-sh

2018-10-29 Thread Michael Felt
Michael Felt added the comment: This is closed, however, since this was merged the AIX buildbots have failed. This is because the file mode bits lack the -x root@x066:[/data/prj/python/git/cpython-master]find . -name install-sh -ls 148833829 16 -rw-r--r-- 1 root felt 15368

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9538 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35081] Rename Include/internals/ to Include/pycore/

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: Discussion on python-dev: https://mail.python.org/pipermail/python-dev/2018-October/155587.html -- ___ Python tracker ___

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: TODO: Convert _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() macros to static inline functions, but there are inter-dependencies issues: see bpo-35081 and https://mail.python.org/pipermail/python-dev/2018-October/155592.html --

[issue35095] Implement pathlib.Path.append_bytes and pathlib.Path.append_text

2018-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks @pitrou for the feedback! As you think this will not be that useful, I will close the issue and the proposal PR. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22021] shutil.make_archive() root_dir do not work

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: FYI. Joannah Nanjekye converted Issue22021.patch into a PR: PR 10191. Serhiy Storchaka closed the PR: "The current behavior looks correct to me. It is consistent with the behavior of the tar command. This change breaks tests and I think it will break user

[issue35098] Deleting __new__ does not restore previous behavior

2018-10-29 Thread ppperry
ppperry added the comment: This is a duplicate of issue25731 -- nosy: +ppperry ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34765] Update install-sh

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset ed271b2350486b1fa031fa70e1e99d0d9b2b2133 by Victor Stinner in branch 'master': bpo-34765: install-sh is executable (GH-10225) https://github.com/python/cpython/commit/ed271b2350486b1fa031fa70e1e99d0d9b2b2133 --

[issue35107] untokenize() fails on tokenize output when a newline is missing

2018-10-29 Thread Ammar Askar
Ammar Askar added the comment: Looks like this is caused by this line here: https://github.com/python/cpython/blob/b83d917fafd87e4130f9c7d5209ad2debc7219cd/Lib/tokenize.py#L551-L558 which adds a newline token implicitly after comments. Since the input didn't terminate with a '\n', the code

[issue33899] Tokenize module does not mirror "end-of-input" is newline behavior

2018-10-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: https://bugs.python.org/issue35107 filed to track further fallout from this API change. -- ___ Python tracker ___

[issue35107] untokenize() fails on tokenize output when a newline is missing

2018-10-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35107] untokenize() fails on tokenize output when a newline is missing

2018-10-29 Thread Gregory P. Smith
New submission from Gregory P. Smith : The behavior change introduced in 3.6.7 and 3.7.1 via https://bugs.python.org/issue33899 has further consequences: ```python >>> tokenize.untokenize(tokenize.generate_tokens(io.StringIO('#').readline)) Traceback (most recent call last): File "", line

[issue35107] untokenize() fails on tokenize output when a newline is missing

2018-10-29 Thread Ammar Askar
Ammar Askar added the comment: fwiw I think there's more at play here than the newline change. This is the behavior I get on 3.6.5 (before the newline change is applied). # works as expected but check out this input: >>> t.untokenize(tokenize.generate_tokens(io.StringIO('#').readline)) '#'

[issue35107] untokenize() fails on tokenize output when a newline is missing

2018-10-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: Interesting! I have a 3.6.2 sitting around and cannot reproduce that "x=1" behavior. I don't know what the behavior _should_ be. It just feels natural that untokenize should be able to round trip anything tokenize or generate_tokens emits without

[issue35101] inspect.findsource breaks on class frame objects

2018-10-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34969] Add --fast, --best to the gzip CLI

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: > But if I add options for controlling the compression level, I would add > options -1 ... -9. I never used verbose forms --fast and --best. If we add options, I would prefer to only add --fast and --best which are easy to understand. I really have no idea

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-10-29 Thread Tal Einat
New submission from Tal Einat : On macOS, Command-M simultaneously minimizes the window and opens the "Open Module..." dialog. This happens with a very confusing sequence of visual effects (see attached animated gif). This doesn't happen when activating either of the menu items; only when

[issue35007] Minor change to weakref docs

2018-10-29 Thread Julien Palard
Change by Julien Palard : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34969] Add --fast, --best to the gzip CLI

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: man lzma: --fast --best These are somewhat misleading aliases for -0 and -9, respec‐ tively. These are provided only for backwards compatibility with LZMA Utils. Avoid using these options. man bzip2:

[issue25205] setattr accepts invalid identifiers

2018-10-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue35103] format_exception() doesn't work with PyErr_Fetch

2018-10-29 Thread Tomáš Heran
New submission from Tomáš Heran : When embedding Python into a C/C++ based programs, one of the ways to access the formatted traceback is/was to get the type, value and tb by calling the C API PyErr_Fetch() and then call native Python traceback.format_exception() function to get a list of

[issue35101] inspect.findsource breaks on class frame objects

2018-10-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems there is a related open issue with a similar regex based solution proposed for another class definition related issue : https://bugs.python.org/issue22355#msg226538 . I think it's worth converting the example code reported in issue22355 as

[issue34969] Add --fast, --best to the gzip CLI

2018-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If we add this options to the gzip CLI, I would suggest to add them to bzip2 and lzma CLI in the same PR. And maybe open separate issues for the zipfile and tarfile CLI, -- ___ Python tracker

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: man get_current_dir_name(): get_current_dir_name() will malloc(3) an array big enough to hold the absolute pathname of the current working directory. If the environment variable PWD is set, and its value is correct, then that value

[issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: Paul Ganssle: Do you want to work on a PR? Or should we close the issue? -- ___ Python tracker ___

[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2018-10-29 Thread Steve Dower
Steve Dower added the comment: Please do! -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35065] Reading received data from a closed TCP stream using `StreamReader.read` might hang forever

2018-10-29 Thread Vincent Michel
Change by Vincent Michel : -- pull_requests: +9528 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34864] In Idle, Mac tabs make editor status line disappear.

2018-10-29 Thread Tal Einat
Tal Einat added the comment: The search and replace dialogs are also broken by "Prefer tabs when opening documents" being active: they as separate tabs rather than a dialog window. -- ___ Python tracker

[issue35102] Struct pack()

2018-10-29 Thread jimmy
New submission from jimmy : The result of variable "a" should be b'30\x11\x00\x00' not b'0\x11\x00\x00' . >>> import struct >>> a = struct.pack(">> print(a) b'0\x11\x00\x00' >>> -- messages: 328794 nosy: jimmy priority: normal severity: normal status: open title: Struct pack()

[issue35102] Struct pack()

2018-10-29 Thread Mark Dickinson
Mark Dickinson added the comment: The result is correct. Note that the first character is "0", which is chr(48). >>> '0' == '\x30' True >>> '0\x11\x00\x00' == '\x30\x11\x00\x00' True -- nosy: +mark.dickinson resolution: -> not a bug stage: -> resolved status: open -> closed

[issue35098] Deleting __new__ does not restore previous behavior

2018-10-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Its quite valid to assign to __new__ to replace the behavior of how an > instance is created. Of course it is, and I never argued otherwise. > Finally as for `Color.__x__` assignment, this has nothing to do with > `__slots__` as it is assigning to

[issue35068] [2.7] Possible crashes due to incorrect error handling in pyexpat.c

2018-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d61f586df79a754776f448e5b23015abb71f4fd1 by Serhiy Storchaka (Zackery Spytz) in branch '2.7': [2.7] bpo-35068: Fix possible crashes in pyexpat.c. (GH-10099) https://github.com/python/cpython/commit/d61f586df79a754776f448e5b23015abb71f4fd1

[issue35068] [2.7] Possible crashes due to incorrect error handling in pyexpat.c

2018-10-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35107] untokenize() fails on tokenize output when a newline is missing

2018-10-29 Thread Ammar Askar
Ammar Askar added the comment: Actually nevermind, disregard that, I was just testing it wrong. I think the simplest fix here is to add '#' to the list of characters here so we don't double insert newlines for comments:

[issue34160] ElementTree not preserving attribute order

2018-10-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for doing the additional work to finish this up. -- ___ Python tracker ___ ___

[issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

2018-10-29 Thread Tal Einat
Tal Einat added the comment: This is a great, easy, doc-only issue for a new contributor to handle. -- keywords: +easy nosy: +taleinat versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.2, Python 3.3 ___ Python tracker

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Thomas Viehmann
Change by Thomas Viehmann : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks Nicholas Colclasure for the bug report and Gus Goulart for the fix. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25205] setattr accepts invalid identifiers

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-35105 to propose to document the behavior. -- ___ Python tracker ___ ___

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Thomas Viehmann
Thomas Viehmann added the comment: Yeah, it's a shame no-one looked at the patch that seems to fix the underlying cause and now it's just a duplicate of a bug to improve error messages. On the up side, closing this bug will stop me from getting reminders about it. -- resolution: ->

[issue35105] Document that CPython accepts "invalid" identifiers

2018-10-29 Thread STINNER Victor
New submission from STINNER Victor : The Python 3 language has a strict definition for an identifier: https://docs.python.org/dev/reference/lexical_analysis.html#identifiers ... but in practice, it's possible to create "invalid" identifiers using setattr(). Example with PyPy: $ pypy Python

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: @Thomas Viehmann , as it's currently formulated, this is a duplicate because it strives to allow getting class source from past interactive input -- which, as I explained, is already possible without the patch and seems to be inappropriate for vanilla console

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2aaf0c12041bcaadd7f2cc5a54450eefd7a6ff12 by Victor Stinner in branch 'master': bpo-35059: Convert Py_INCREF() to static inline function (GH-10079) https://github.com/python/cpython/commit/2aaf0c12041bcaadd7f2cc5a54450eefd7a6ff12 --

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9532 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > which, as I explained, is already possible without the patch Sorry, I myself explained in https://bugs.python.org/msg319692 that it's not possible. The rest still stands though. -- ___ Python tracker

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread miss-islington
miss-islington added the comment: New changeset 4ec427b005036dab0a380de20f31774394ca4dd6 by Miss Islington (bot) in branch '2.7': bpo-27741: Better wording for datetime.strptime() (GH-9994) https://github.com/python/cpython/commit/4ec427b005036dab0a380de20f31774394ca4dd6 --

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread miss-islington
miss-islington added the comment: New changeset a02bc719ebc496bc527e9e46de2f2e83f68bfd77 by Miss Islington (bot) in branch '3.7': bpo-27741: Better wording for datetime.strptime() (GH-9994) https://github.com/python/cpython/commit/a02bc719ebc496bc527e9e46de2f2e83f68bfd77 --

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread Michael Hoffman
Michael Hoffman added the comment: > * For some libc functions we add options to existing functions rather of > duplicating the number of names in the os module. For example the dir_fd > option instead of *at() functions. Wouldn't be better to add a buulean > parameter (with

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: os.stat() has a following_symlinks parameter because there is lstat(). There is no lgetcwd(), only getcwd(). I dislike the parameter choice. Use os.path.realpath() is you want to resolve symbolic links. -- ___

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread Michael Hoffman
Michael Hoffman added the comment: `getcwd()` in many ways serves the purpose that a `lget_current_dir_name()` might. -- ___ Python tracker ___

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Thomas Viehmann
Change by Thomas Viehmann : -- nosy: -t-vi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We provide Python implementations for fnmatch, glob, realpath even if there are corresponding libc functions. This makes them available even on platforms that doesn't have native implementations in libc, avoids C limitations, and allow to add new options.

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread miss-islington
miss-islington added the comment: New changeset 0a53a067dc4eb86ecf94c50582b3e22359c601a9 by Miss Islington (bot) in branch '3.6': bpo-27741: Better wording for datetime.strptime() (GH-9994) https://github.com/python/cpython/commit/0a53a067dc4eb86ecf94c50582b3e22359c601a9 -- nosy:

[issue34931] os.path.splitext with more dots

2018-10-29 Thread Jan Novak
Jan Novak added the comment: Yes, dot behaviour is well documented. But splitext() is a function to split name and extension, not take care about hidden files. Hidden files starting with dot is Unix like system feature. https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory Hidden

[issue34969] Add --fast, --best to the gzip CLI

2018-10-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @Serhiy I would like to add them on lzma, bz2, zipfile and tarfile. -- ___ Python tracker ___

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 542497aa9f71c664768c3d5b7398c03679d3a7e1 by Victor Stinner in branch 'master': bpo-35059: Remove Py_STATIC_INLINE() macro (GH-10216) https://github.com/python/cpython/commit/542497aa9f71c664768c3d5b7398c03679d3a7e1 --

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +9530 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +9529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +9531 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34931] os.path.splitext with more dots

2018-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Related issues: issue536120, issue1115886, issue1462106, issue1681842, issue19191. Python-Dev discussions: https://mail.python.org/pipermail/python-dev/2007-March/071557.html https://mail.python.org/pipermail/python-dev/2007-March/071935.html

[issue35105] Document that CPython accepts "invalid" identifiers

2018-10-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28015] configure --with-lto builds fail when CC=clang on Linux, requires gold linker

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28015] configure --with-lto builds fail when CC=clang on Linux, requires gold linker

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: The issue has been fixed in Python 3.7 and master. If someone is volunteer to backport it to older version, please go ahead :-) But according to serge-sans-paille, it's non trivial and I'm not sure that it's worth it. Sorry, usually we focus on the master

[issue34945] regression with ./python -m test and pdb

2018-10-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Pablo, I have tested your PR and I get the prompt of pdb only if I use -v on the command line. For the print() function, I understand but for the pdb.set_trace() function, normally we should have the prompt even we don't specify the --verbose flat. Do you

[issue34864] In Idle, Mac tabs make editor status line disappear.

2018-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: As part of revising the IDLE Docs, I want to add a section for running on MacOS (issue in preparation, section title undecided). I already planned on mentioning this setting. It seems it should be dis-recommended, at least at present. --

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: > bpo-35059: Remove Py_STATIC_INLINE() macro (GH-10216) Here you have Benjamin, it's gone :-) -- ___ Python tracker ___

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry about that I thought to redirect the discussion to the linked issue since it had a lot of people who might provide a better discussion about it. Feel free to reopen this if needed. -- ___ Python

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I see in the .gif is that Open Module is open on top of Shell (not minimized, traffic lights gray) and that clicking Cancel closes Open Module and temporarily minimizes Shell, before it pops back up with traffic lights. It is hard to imagine that how

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: note: Roundup sent me comments as email notifications in the backward order, that's funny to see Pablo's answer before my question :-) -- ___ Python tracker

[issue33015] Fix function cast warning in thread_pthread.h

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: I closed my PR 10057: "Control Flow Integrity killed my PR :-) https://bugs.python.org/issue33015#msg328325 " -- ___ Python tracker ___

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > note: Roundup sent me comments as email notifications in the backward order, > that's funny to see Pablo's answer before my question :-) Maybe I just answered faster than the speed of light ;) -- ___

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-10-29 Thread Ned Deily
Ned Deily added the comment: AFAICT, the problem here is that there is a duplicate command accelerator assignment: IDLE assigns CMD-M to its Open Module command (https://github.com/python/cpython/blob/master/Lib/idlelib/config-keys.def#L205) but either Tk or the underlying macOS services it

[issue28806] Improve the netrc library

2018-10-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -9533 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset c0799ec973530ad2492bb1d6c7287ffc428f0348 by Victor Stinner (Gus Goulart) in branch 'master': bpo-27741: Better wording for datetime.strptime() (GH-9994) https://github.com/python/cpython/commit/c0799ec973530ad2492bb1d6c7287ffc428f0348

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2018-10-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-10-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of issue12920. issue24491 was also a related issue closed as a duplicate of issue12920. So I propose closing this to continue the discussion in issue12920. Feel free to add in if I am missing something. --

  1   2   >