[issue35135] pip install --download option does not exist

2018-11-01 Thread Pedro
New submission from Pedro : https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages states that you can use a --directory option with the install subcommand. This fails with pip 18.1 on both Python 2.7 on SLES12 and Python 3.6 on Windows 10: == pip install

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot

2018-11-01 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/172/builds/40/steps/4/logs/stdio == ERROR: test_ciphers (test.test_ssl.SimpleBackgroundTests)

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot

2018-11-01 Thread Christian Heimes
Christian Heimes added the comment: I'm trying to figure out the exact OpenSSL version. It used to be part of pythoninfo step. -- ___ Python tracker ___

[issue35135] pip install --download option does not exist

2018-11-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. The issue tracker deals with reports for CPython and issues related to pip are not maintained here. Please file a doc issue at https://github.com/pypa/pip/ . `--download` was deprecated with

[issue35135] pip install --download option does not exist

2018-11-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: FYI created an issue at https://github.com/pypa/pip/issues/5976 Thanks! -- assignee: -> docs@python resolution: third party -> stage: resolved -> status: closed -> open type: -> behavior ___ Python

[issue20596] Support for alternate wcstok syntax for Windows compilers

2018-11-01 Thread Erik Janssens
Change by Erik Janssens : -- pull_requests: +9597 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35126] Mistake in FAQ about converting number to string.

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

[issue35114] ssl.RAND_status docs describe it as returning True/False; actually returns 1/0

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

[issue35130] add same file name to zipfile , result two files and same md5

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is expected behavior. When you have two entries with the same name, you can access by name only one of them. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Pablo Santiago Blum de Aguiar
Pablo Santiago Blum de Aguiar added the comment: You have a point. They make the message more readable. I've readded the double spaces. -- ___ Python tracker ___

[issue35117] set.discard should return True or False based on if element existed.

2018-11-01 Thread tzickel
tzickel added the comment: I would think that the .discard is the equivalent of .pop in dict. (instead of wasting time once checking and once removing, also the data in a set is the data, there is no value to check). Even the standard lib has lots of usage of dict.pop(key, None) to not

[issue35131] Cannot access to customized paths within .pth file

2018-11-01 Thread Valentin Zhao
New submission from Valentin Zhao : I want to manage all the packages that I installed so every time adding package I set "--target" so the package will be downloaded there. Then I wrote the directory in a .pth file which is located in "/Python36/Lib/site-packages" so I could still get

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4b5e62dbb22a3593e0db266c12f805b727a42b00 by Serhiy Storchaka (Pablo Aguiar) in branch 'master': bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268)

[issue35132] python-gdb error: Python Exception Type does not have a target

2018-11-01 Thread Dylan Cali
New submission from Dylan Cali : Python version: 3.6.6-debug System: Kernel: 4.15.0-38-generic x86_64 Distro: Linux Mint 18.2 Sonya CPU:Quad core Intel Xeon E3-1505M Memory: 32018.6MB Expected: py-list and py-bt to print the current python frame and traceback when attaching to a

[issue33578] cjkcodecs missing getstate and setstate implementations

2018-11-01 Thread miss-islington
miss-islington added the comment: New changeset ac22f6aa989f18c33c12615af1c66c73cf75d5e7 by Miss Islington (bot) (Christopher Thorne) in branch 'master': bpo-33578: Add getstate/setstate for CJK codec (GH-6984) https://github.com/python/cpython/commit/ac22f6aa989f18c33c12615af1c66c73cf75d5e7

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9591 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35122] Process not exiting on unhandled exception when using multiprocessing module

2018-11-01 Thread akhi singhania
akhi singhania added the comment: Thank you very much for the reply and the link. It seems like I escaped that bit in the documentation, my apologises. I can confirm that using cancel_join_thread() removes the need for explicitly calling queue.close(). May I please ask for some more

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9592 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35133] Bugs in concatenating string literals on different lines

2018-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9595 stage: -> patch review ___ Python tracker ___ ___

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread TestUser
TestUser added the comment: On Mon, Oct 29, 2018 at 4:03 PM TestUser wrote: > > 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

[issue35081] Move internal headers to Include/internal/

2018-11-01 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-35134: Move !Py_LIMITED_API to Include/pycapi/. -- ___ Python tracker ___ ___

[issue35134] Move !Py_LIMITED_API to Include/pycapi/

2018-11-01 Thread STINNER Victor
Change by STINNER Victor : -- title: Move Py_LIMITED_API to Include/pycapi/ -> Move !Py_LIMITED_API to Include/pycapi/ ___ Python tracker ___

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- Removed message: https://bugs.python.org/msg329061 ___ Python tracker ___ ___ Python-bugs-list

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread TestUser
TestUser added the comment: My guess is the Gnome terminal. It does not like non ASCI data. There are other programs that generate segfaults in the terminal when piped random binary data. Maybe, Python could get a -Q quit setting to turn of the trace back? Thanks On Thu, Nov 1, 2018 at 9:18

[issue35075] Doc: pprint example uses dead URL

2018-11-01 Thread miss-islington
miss-islington added the comment: New changeset 7344b9fa0ef7bd8b902e7aa9a8f74b5dce915e59 by Miss Islington (bot) in branch '3.6': bpo-35075: Fix broken url in the pprint documentation (GH-10201) https://github.com/python/cpython/commit/7344b9fa0ef7bd8b902e7aa9a8f74b5dce915e59 --

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 89138f286938753f273c90547491efe374e617c1 by Serhiy Storchaka in branch '3.6': [3.6] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10281)

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5e0537cf7e5b0a5ef134c7da0b68b8e55c69f4b0 by Serhiy Storchaka in branch '3.7': [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280)

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems 2.7 is not affected. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35075] Doc: pprint example uses dead URL

2018-11-01 Thread miss-islington
miss-islington added the comment: New changeset bf46a09dec372b85846216bd692d648dac08ac36 by Miss Islington (bot) (Pablo Galindo) in branch 'master': bpo-35075: Fix broken url in the pprint documentation (GH-10201)

[issue35075] Doc: pprint example uses dead URL

2018-11-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +9593 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35075] Doc: pprint example uses dead URL

2018-11-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +9594 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35133] Bugs in concatenating string literals on different lines

2018-11-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The following PR fixes many bugs related to concatenating string literals on different lines. There are two kinds of errors: 1. Missed space. The first line is ended with a word, and the second line is started with a word. When they are concatenated,

[issue35134] Move Py_LIMITED_API to Include/pycapi/

2018-11-01 Thread STINNER Victor
New submission from STINNER Victor : The PEP 384 "Defining a Stable ABI" introduced Py_LIMITED_API define to exclude functions from the Python C API. The problem is when a new API is introduced, it has to explicitly be excluded using "#ifndef Py_LIMITED_API". If the author forgets it, the

[issue35134] Move Py_LIMITED_API to Include/pycapi/

2018-11-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9596 stage: -> patch review ___ Python tracker ___ ___

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread TestUser
TestUser added the comment: Last thought ... man base64 has different options than the program: python3 -m base64 -d -i test.code2 option -i not recognized usage: /usr/lib/python3.6/base64.py [-d|-e|-u|-t] [file|-] -d, -u: decode -e: encode (default) -t: encode and

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Don't include quoted full messages of other users. Only include quoted fragments if it is absolutely necessary. -- nosy: +serhiy.storchaka ___ Python tracker

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @Tester Thanks for the report. I looked at the crash report and I couldn't see CPython crashing with a segfault. I think it's a crash from another application which might be running the interpreter and can't handle the error raised by CPython for

[issue35084] binascii.Error: Incorrect padding

2018-11-01 Thread TestUser
TestUser added the comment: That is all the crash automator provides. On Thu, Nov 1, 2018 at 9:13 AM Serhiy Storchaka wrote: > > Change by Serhiy Storchaka : > > > -- > Removed message: https://bugs.python.org/msg329061 > > ___ > Python tracker >

[issue20596] Support for alternate wcstok syntax for Windows compilers

2018-11-01 Thread Erik Janssens
Erik Janssens added the comment: I created a github pull request based on the last patch of Jeffrey Armstrong. Since mingw now also has a wcstok_s function, the discrimination between wcstok/wcstok_s is now based on MS_WINDOWS being defined, as was the case in Modules/main.c. Is this

[issue35137] Exception in isinstance when __class__ property raises

2018-11-01 Thread Anthony Sottile
New submission from Anthony Sottile : This may be intentional, but the behaviour changed between python2 and python3. Want to make sure it's intentional as we're working (hacking) around this in pytest: https://github.com/pytest-dev/pytest/pull/4284 The actual impact on pytest is the use of

[issue35137] Exception in isinstance when __class__ property raises

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Arbitrary exceptions should not be silenced. Imagine that the user pressed Ctrl-C when the __class__ property implemented in Python was executed. The KeyboardInterrupt exception will be silenced in Python 2, and isinstance() will silently return incorrect

[issue35138] timeit documentation should have example with function arguments

2018-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch type: -> enhancement versions: +Python 3.8 ___ Python tracker ___

[issue35137] Exception in isinstance when __class__ property raises

2018-11-01 Thread daniel hahler
Change by daniel hahler : -- nosy: +blueyed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Pablo Santiago Blum de Aguiar
Pablo Santiago Blum de Aguiar added the comment: Thanks again for reviewing, merging and backporting. Next time I'll try and backport as well :-) -- ___ Python tracker ___

[issue35138] timeit documentation should have example with function arguments

2018-11-01 Thread davidak
New submission from davidak : It is described here: https://www.pythoncentral.io/time-a-python-function/ I have just tested it. Works as expected. Best would be if timeit supports this natively. -- assignee: docs@python components: Documentation messages: 329079 nosy: davidak,

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot

2018-11-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There is also: Traceback (most recent call last): File "/usr/home/buildbot/python/3.6.koobs-freebsd-current/build/Lib/test/test_ssl.py", line 1860, in wrap_conn self.sock, server_side=True) File

[issue35135] pip install --download option does not exist

2018-11-01 Thread Zachary Ware
Change by Zachary Ware : -- assignee: docs@python -> resolution: -> third party stage: -> resolved status: open -> closed type: behavior -> ___ Python tracker ___

[issue35135] pip install --download option does not exist

2018-11-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, my comment reopened the bug :( -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread Maxime Belanger
New submission from Maxime Belanger : Uncommenting the following line in `Modules/Setup` leads to a compiler error on macOS (tested w/ Xcode 10): ``` ./Modules/expat/xmlparse.c:92:3: error: You do not have support for any sources of high quality entropy enabled. For end user security, that

[issue35129] Different behaviour comparing versions (distutils.version.LooseVersion) between python2.7 and python3.x

2018-11-01 Thread davide moro
davide moro added the comment: Thanks and sorry for the duplicate! Il giorno gio 1 nov 2018 alle ore 00:53 Éric Araujo ha scritto: > > Éric Araujo added the comment: > > Please discuss on #14894 > > -- > resolution: -> duplicate > stage: -> resolved > status: open -> closed >

[issue35075] Doc: pprint example uses dead URL

2018-11-01 Thread miss-islington
miss-islington added the comment: New changeset 7d35553138d8b2799ae68601ce836a3647509718 by Miss Islington (bot) in branch '3.7': bpo-35075: Fix broken url in the pprint documentation (GH-10201) https://github.com/python/cpython/commit/7d35553138d8b2799ae68601ce836a3647509718 --

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread Max Bélanger
Change by Max Bélanger : -- keywords: +patch pull_requests: +9599 stage: -> patch review ___ Python tracker ___ ___

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread Maxime Belanger
Maxime Belanger added the comment: The line in question being: ``` #pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI ``` -- ___ Python tracker

[issue35134] Move !Py_LIMITED_API to Include/pycapi/

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are not just two sides. It is common to wrap new stable C API with something like: #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x0305 What will you do with this? -- nosy: +serhiy.storchaka

[issue35142] html.entities.html5 should require a trailing semicolon

2018-11-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ezio.melotti, xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33578] cjkcodecs missing getstate and setstate implementations

2018-11-01 Thread Christopher Thorne
Change by Christopher Thorne : -- pull_requests: +9600 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25416] Add encoding aliases from the (HTML5) Encoding Standard

2018-11-01 Thread Felipe Rodrigues
Felipe Rodrigues added the comment: Ezio, I have issued a simple PR that adds just the two aliases cited in the issue's initial message. I would like to implement tests but as I wrote in the PR's message, I'm not really sure how to proceed with that. bpo-18624 is really related to this

[issue31880] subprocess process interaction with IDLEX GUI causes pygnuplot silent failures

2018-11-01 Thread Roger Serwy
Roger Serwy added the comment: I am closing this issue. For future reference, IDLEX is a separate project from IDLE. Please refer IDLEX bugs to the project developer (me). -- assignee: -> terry.reedy components: +IDLE -Interpreter Core, Windows nosy: +roger.serwy, terry.reedy stage:

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 318ab63c01f5b8e7562b122ab5ba01258a51277b by Benjamin Peterson (Max Bélanger) in branch 'master': closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289)

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread miss-islington
miss-islington added the comment: New changeset 2339fe7cad9a84815fe551fedd6acdc3f2bf0a64 by Miss Islington (bot) in branch '3.6': closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289)

[issue33000] IDLE Doc: Text consumes unlimited RAM, consoles likely not

2018-11-01 Thread Roger Serwy
Roger Serwy added the comment: Big Stone: Yes, IDLEX does have a slow memory leak. Please check if this bug is happening with IDLE itself. Terry: Thanks for responding to this. I suggest this issue can be closed. -- nosy: +roger.serwy ___ Python

[issue35113] inspect.getsource returns incorrect source for classes when class definition is part of multiline strings

2018-11-01 Thread Windson Yang
Windson Yang added the comment: Yes, the code located at https://github.com/python/cpython/blob/7cd25434164882c2093ea41ccfc7b95a05cd5cbd/Lib/inspect.py#L794 I think to use a comment status var would be a solution, Do you have any idea to fix it? -- nosy: +Windson Yang

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +9601 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +9602 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread miss-islington
miss-islington added the comment: New changeset 04c96669b161d802b7a906c06cd77895cee1864e by Miss Islington (bot) in branch '3.7': closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289)

[issue35058] Unable to Install Python on Windows

2018-11-01 Thread Steve Dower
Steve Dower added the comment: I don't know what is on your syllabus, but you might have more luck with Anaconda or WinPython than Python 2.7 or 3.4 (which is how far back you'd have to go to get a different installer). -- ___ Python tracker

[issue35136] test_ssl fails in AMD64 FreeBSD CURRENT Shared 3.6 buildbot

2018-11-01 Thread Kubilay Kocak
Kubilay Kocak added the comment: The version in base is: /usr/bin/openssl version OpenSSL 1.1.1-freebsd 11 Sep 2018 There is a version from ports also installed at a different prefix, which I don't believe Python picks up by default unless Modules/Setup or --with-openssl (is this in 3.6?)

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +9603 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35139] Statically linking pyexpat in Modules/Setup fails to compile on macOS

2018-11-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a614cc92088c4e1b2d90aa03415ee6acf70f03b4 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10293)

[issue33578] cjkcodecs missing getstate and setstate implementations

2018-11-01 Thread INADA Naoki
INADA Naoki added the comment: New changeset 488c0a6cdf09e21774e63c2a430ecc0de804d147 by INADA Naoki (Christopher Thorne) in branch 'master': bpo-33578: Fix getstate/setstate for CJK decoder (GH-10290) https://github.com/python/cpython/commit/488c0a6cdf09e21774e63c2a430ecc0de804d147

[issue35141] encoding problem: gbk

2018-11-01 Thread 安迷
New submission from 安迷 : Windows10x64 Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 -- components: Windows files: encoding_problem_gbk.py messages: 329099 nosy: anmikf, paul.moore, steve.dower, tim.golden, zach.ware priority: normal

[issue35142] html.entities.html5 should require a trailing semicolon

2018-11-01 Thread Daniel Lovell
New submission from Daniel Lovell : html.entities.html5 keys should either require a trailing semicolon. The Python docs say: html.entities.html5 "A dictionary that maps HTML5 named character references [1] to the equivalent Unicode character(s), e.g. html5['gt;'] == '>'. Note that the

[issue35138] timeit documentation should have example with function arguments

2018-11-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is an open PR that adds a similar example. Is it the same as the one you are proposing and I think you can add a review comment to add it with the same PR if it's different? PR : https://github.com/python/cpython/pull/9787 Thanks

[issue35081] Move internal headers to Include/internal/

2018-11-01 Thread STINNER Victor
STINNER Victor added the comment: > Please don't change Include/datetime.h without consulting with original > authors of this code (see issue876130). FYI I tried to be very careful on each change to never modify the *public* C API. But I modified the Py_BUILD_CORE API. This is fine since

[issue35138] timeit documentation should have example with function arguments

2018-11-01 Thread davidak
Change by davidak : -- keywords: +patch pull_requests: +9598 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35141] encoding problem: gbk

2018-11-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @anmikf Please use one issue for all the details. I am closing this as a duplicate of issue35140 since it has the same reproducer script and details. Feel free to reopen this if it's a different one adding little more context on the difference.

[issue35137] Exception in isinstance when __class__ property raises

2018-11-01 Thread Anthony Sottile
Anthony Sottile added the comment: arbitrary, sure, but deriving from `Exception` maybe? -- ___ Python tracker ___ ___

[issue35081] Move internal headers to Include/internal/

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please don't change Include/datetime.h without consulting with original authors of this code (see issue876130). -- nosy: +atuining, lemburg, serhiy.storchaka, tim.peters ___ Python tracker

[issue35137] Exception in isinstance when __class__ property raises

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: MemoryError and RecursionError are subclasses of Exception. And there are may be other exceptions that can be raised by virtually any code and depend on conditions out of your control. -- ___ Python tracker

[issue35133] Bugs in concatenating string literals on different lines

2018-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am only unsure about email tests. Barry, David, could you please look? There may be errors in tests, but it may be that spaces are intentionally omitted, for testing cases without spaces. Tests are passed in any case, but I don't know the purpose of