[issue34765] Update install-sh

2018-10-30 Thread Michael Felt
Michael Felt added the comment: The AIX build-bots thank you. Back to "failed-test" status. 1721...failed test (failure) 1720...failed compile (failure) -- ___ Python tracker

[issue20397] distutils --record option does not validate existence of byte-compiled files

2018-10-30 Thread Kubilay Kocak
Change by Kubilay Kocak : -- versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

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

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am surprised, that removing the newline character adds a token: >>> pprint.pprint(list(tokenize.generate_tokens(io.StringIO('#\n').readline))) [TokenInfo(type=55 (COMMENT), string='#', start=(1, 0), end=(1, 1), line='#\n'), TokenInfo(type=56 (NL),

[issue35108] inspect.getmembers passes exceptions from object's properties through

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry I misread your title stating it's about object getattr for a property has to execute the underlying code it seems as explained in https://stackoverflow.com/a/30143990/2610955 . I don't know if there is a way through which an attribute access

[issue32972] unittest.TestCase coroutine support

2018-10-30 Thread Dave Shawley
Dave Shawley added the comment: Hi all, I took a slightly different direction for adding async/await support to the unittest library. I summarized the approach that I took in a message to python-ideas (https://mail.python.org/pipermail/python-ideas/2018-October/054331.html) and a branch

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

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

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

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

[issue35112] SpooledTemporaryFile and seekable() method

2018-10-30 Thread nubirstein
New submission from nubirstein : Although seekable() method is implemented in the IOBase (which means it is callable in BytesIO and StringIO), SpooledTemporaryFile class from lib/tempfile.py still does not implement it. -- components: Library (Lib) messages: 328904 nosy: nubirstein

[issue35052] Coverity scan: copy/paste error in Lib/xml/dom/minidom.py

2018-10-30 Thread Shivank Gautam
Shivank Gautam added the comment: I just want to update that i was not able to work more in last two days as i was busy in some personal work. now i am on it and will update something soon. Sorry for delay :) -- ___ Python tracker

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

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

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

2018-10-30 Thread Felipe Rodrigues
Felipe Rodrigues added the comment: What about adding some more information in the exception message in addition to the docs? I mean, if we're raising an issue because someone inserted Feb 29, we add a note about leap year in the exception message -- nosy: +fbidu

[issue32030] PEP 432: Rewrite Py_Main()

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset e1b29950bf751381538e3c8ea6a3e0a98d01dbfb by Victor Stinner in branch 'master': bpo-32030: Make _PySys_AddXOptionWithError() private (GH-10236) https://github.com/python/cpython/commit/e1b29950bf751381538e3c8ea6a3e0a98d01dbfb --

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7d35f79012db89ce9a152a77ac6809eb9c34a35d by Victor Stinner in branch '3.7': bpo-34403: Always implement _Py_GetForceASCII() (GH-10235) https://github.com/python/cpython/commit/7d35f79012db89ce9a152a77ac6809eb9c34a35d --

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

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: My changes move Py_BUILD_CORE to Include/internal/. I'm not sure of the effect on the backward compatibility. Since Python 3.7, many "Py_BUILD_CORE" functions rely on Include/internal/, like PyThreadState_GET() which uses _PyRuntime.gilstate.tstate_current.

[issue35098] Deleting __new__ does not restore previous behavior

2018-10-30 Thread Josh Rosenberg
Change by Josh Rosenberg : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Assigning and deleting __new__ attr on the class does not allow to create instances of this class ___ Python tracker

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

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3c09dca4b5de9fe8c8756251d02f49cf093b88c1 by Victor Stinner in branch 'master': bpo-35059: Convert _Py_Dealloc() to static inline function (GH-10223) https://github.com/python/cpython/commit/3c09dca4b5de9fe8c8756251d02f49cf093b88c1 --

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

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9204fb8623896cc5f68ae350784ee25e8a7b2184 by Victor Stinner in branch 'master': bpo-35081: Cleanup pystate.c and pystate.h (GH-10240) https://github.com/python/cpython/commit/9204fb8623896cc5f68ae350784ee25e8a7b2184 --

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread fcurella
New submission from fcurella : Casting a UUID to an `int` or to a string works as expected: ``` import uuid value = uuid.UUID() str(value) int(value) ``` but casting to an `hex()` raises an exception: ``` import uuid value = uuid.UUID() # uuid instances already have the correct value

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

2018-10-30 Thread abhishek
Change by abhishek : -- keywords: +patch pull_requests: +9556 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2018-10-30 Thread nubirstein
nubirstein added the comment: My last comment meant to land somewhere else, but nonetheless it is related to this topic, so: SpooledTemporaryFile class from lib/tempfile.py still does not implement seekable() method. It could be like this (just two lines of code and my Flask.Request tests

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

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

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

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 31368a4f0e531c19affe2a1becd25fc316bc7501 by Victor Stinner in branch 'master': bpo-35081: Move Include/pyatomic.c to Include/internal/ (GH-10239) https://github.com/python/cpython/commit/31368a4f0e531c19affe2a1becd25fc316bc7501 --

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 905f1ace5f7424e314ca7bed997868a2a3044839 by Victor Stinner in branch 'master': bpo-34523: Fix config_init_fs_encoding() for ASCII (GH-10232) https://github.com/python/cpython/commit/905f1ace5f7424e314ca7bed997868a2a3044839 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 905f1ace5f7424e314ca7bed997868a2a3044839 by Victor Stinner in branch 'master': bpo-34523: Fix config_init_fs_encoding() for ASCII (GH-10232) https://github.com/python/cpython/commit/905f1ace5f7424e314ca7bed997868a2a3044839 --

[issue35112] SpooledTemporaryFile and seekable() method

2018-10-30 Thread nubirstein
nubirstein added the comment: Should I have been added my request there? Anyway I do suffer from lack of 'seekable()' implementation there. I'll go there and make a request -- ___ Python tracker

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

2018-10-30 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35086] tkinter docs: errors in A Simple Hello World Program

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

[issue35112] SpooledTemporaryFile and seekable() method

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Search gives me a related issue with PR to implement IOBase for SpooledTemporaryFile : issue26175 -- nosy: +xtreak ___ Python tracker

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

2018-10-30 Thread Josh Rosenberg
New submission from Josh Rosenberg : The ssl.RAND_status online docs say (with code format on True/False): "Return True if the SSL pseudo-random number generator has been seeded with ‘enough’ randomness, and False otherwise." This is incorrect; the function actually returns 1 or 0 (and the

[issue27200] make doctest in CPython has failures

2018-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: At the moment, the dependent issues are closed and there is just one open PR on this issue. Julian, I am nosying you here because you merged #34962, which is properly a dependency of this. -- dependencies: +make doctest does not pass :/ nosy: +mdk

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

2018-10-30 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : inspect.getsource uses inspect.findsource that uses a regex to check for class declaration and starts matching against the regex from the start of the program. When there is a match it checks for the first character to be 'c' to return the line

[issue35112] SpooledTemporaryFile and seekable() method

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The related issue already implements seekable and other methods for IOBase. As I can see from the open PR there are PR comments with respect to tests and docs that need to be acted upon as per reviewer's comments. With respect to this issue I

[issue35112] SpooledTemporaryFile and seekable() method

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @nubirstein You're welcome :) As noted in https://bugs.python.org/issue26175#msg328911 the PR has the implementation of seekable at https://github.com/python/cpython/pull/3249/files#diff-34b2145d7fe189e893ec7934afe9829cR761 . You can help with

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2018-10-30 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-10-30 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- keywords: +patch pull_requests: +9549 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue18624] Add alias for iso-8859-8-i which is the same as iso-8859-8

2018-10-30 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- pull_requests: +9550 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32972] unittest.TestCase coroutine support

2018-10-30 Thread Petter S
Petter S added the comment: As far as I am concerned, the discussion can continue in this issue. I still think a reasonable first step is to add a run hook to the regular TestCase class, like in PR 6051. But building consensus is a bit tricky. --

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

2018-10-30 Thread Paul Ganssle
Paul Ganssle added the comment: @Victor: You mean a PR to fix the *issue* or a PR to add this to the docs? The current behavior is pretty counter-intuitive, particularly because it also fails because of the (relatively) little-known fact that 1900 happens to not be a leap year because it is

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-10-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Victor, looks good to me: 0:00:26 [ 23/419/3] test_utf8_mode passed. I don't know wether it is related, but test_unicode crash dumps here: 0:00:22 [ 16/419/2] test_unicode crashed (Exit code -11) Fatal Python error: Segmentation fault

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

2018-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: It seems to me a bug that if '\n' is not present, tokenize adds both NL and NEWLINE tokens, instead of just one of them. Moreover, both tuples of the double correction look wrong. If '\n' is present, TokenInfo(type=56 (NL), string='\n', start=(1, 1),

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: Michael Osipov: Oops, my commit b2457efc78b74a1d6d1b77d11a939e886b8a4e2c broke the filesystem encoding on HP-UX. It should be fixed by my commit 905f1ace5f7424e314ca7bed997868a2a3044839. -- ___ Python tracker

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 21220bbe65108f5a763ead24a6b572f80d84c9e2 by Victor Stinner in branch '3.7': bpo-34403: Fix initfsencoding() for ASCII (GH-10233) https://github.com/python/cpython/commit/21220bbe65108f5a763ead24a6b572f80d84c9e2 --

[issue32030] PEP 432: Rewrite Py_Main()

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

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2018-10-30 Thread nubirstein
nubirstein added the comment: Should I have been added my request there? Anyway I do suffer from lack of 'seekable()' implementation there -- nosy: +nubirstein ___ Python tracker

[issue35112] SpooledTemporaryFile and seekable() method

2018-10-30 Thread nubirstein
nubirstein added the comment: According to Karthikeyan request I'am moving this discussion to the right place, i.e. https://bugs.python.org/issue26175 I hope to get some help there. Thx Karthikeyan for such a short response time. -- resolution: -> duplicate stage: -> resolved

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

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka asked: "Would not be better to move files with the content fully surrounded by #ifdef Py_BUILD_CORE out of the Include/ directory?" See his comment and my answer in the PR 10239:

[issue35086] tkinter docs: errors in A Simple Hello World Program

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a80af770870937271865b5e2b05a2cfe40b024b6 by Serhiy Storchaka (Daniel Lovell) in branch 'master': bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160)

[issue35086] tkinter docs: errors in A Simple Hello World Program

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

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

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

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2018-10-30 Thread Ryan Petrello
Ryan Petrello added the comment: Any chance this patch was every applied to Python3? It looks to me like 3.6 has the old code: https://github.com/python/cpython/blob/3.6/Modules/_multiprocessing/semaphore.c#L448 -- nosy: +ryan.petrello ___

[issue35086] tkinter docs: errors in A Simple Hello World Program

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

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread fcurella
fcurella added the comment: I must admit I was surprised to find out that `hex()` uses `__index__` (which is supposed to return an integer) and not something like a `__hex__` method returning the hex. Maybe we should change the behaviour of `hex()` instead? (in a backward-compatible way,

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread fcurella
Change by fcurella : -- keywords: +patch pull_requests: +9557 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34977] Release Windows Store app containing Python

2018-10-30 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +9559 stage: -> patch review ___ Python tracker ___ ___

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: hex() used the __hex__() special method in Python 2. This was changed in Python 3 for purpose. https://docs.python.org/3/whatsnew/3.0.html#operators-and-special-methods -- nosy: +serhiy.storchaka ___ Python

[issue35086] tkinter docs: errors in A Simple Hello World Program

2018-10-30 Thread miss-islington
miss-islington added the comment: New changeset f51ef51db686938486bff453e791a3093a1df108 by Miss Islington (bot) in branch '3.7': bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160) https://github.com/python/cpython/commit/f51ef51db686938486bff453e791a3093a1df108

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: > 0:00:22 [ 16/419/2] test_unicode crashed (Exit code -11) Please open a new issue to track this bug. -- ___ Python tracker ___

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: IMHO implementing "__index__" for UUID would not the correct solution. That method is meant be used by integer-like objects. One of the side effects of implementing "__index__" is that indexing lists with UUID instances would start to work, which is IMHO

[issue35086] tkinter docs: errors in A Simple Hello World Program

2018-10-30 Thread miss-islington
miss-islington added the comment: New changeset c843a47007293d8361d0bfd45bfd7169afaa601c by Miss Islington (bot) in branch '3.6': bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160) https://github.com/python/cpython/commit/c843a47007293d8361d0bfd45bfd7169afaa601c

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread Matthew Belisle
New submission from Matthew Belisle : vstinner pointed out that cgi.FieldStorage max_num_fields needs documentation added to Doc/library. https://bugs.python.org/issue34866#msg328401 -- assignee: docs@python components: Documentation messages: 328937 nosy: Matthew Belisle,

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread Matthew Belisle
Change by Matthew Belisle : -- keywords: +patch pull_requests: +9560 stage: -> patch review ___ Python tracker ___ ___

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread Matthew Belisle
Change by Matthew Belisle : -- pull_requests: +9561 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-10-30 Thread tzickel
New submission from tzickel : Sometimes you want to do something based on if the item existed before removal, so instead of checking if it exists, then removing and doing something, if would be nice to make the function return True or False based on if the element existed. --

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2018-10-30 Thread Mike Frysinger
Mike Frysinger added the comment: it does seem like the patch was never applied to any python 3 branch :/ -- ___ Python tracker ___

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 68f323715e6627c550d1e8ffed7e36f1bb4aa42b by Victor Stinner (matthewbelisle-wf) in branch 'master': bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10247)

[issue3243] Support iterable bodies in httplib

2018-10-30 Thread tzickel
tzickel added the comment: This patch was opened for 2.7 but never applied there ? https://github.com/python/cpython/pull/10226 This causes a bug with requests HTTP library (and others as well as httplib) when you want to send an iterable object as POST data (with a non-chunked way), it

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- nosy: +thatiparthy ___ Python tracker ___ ___

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread Matthew Belisle
Change by Matthew Belisle : -- pull_requests: +9562 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: try: s.remove(x) except KeyError: # did not exist else: # existed But catching exception in Python is expensive. -- nosy: +rhettinger, serhiy.storchaka ___ Python tracker

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread Mark Dickinson
Mark Dickinson added the comment: Agreed that UUID should not implement `__index__`. I wouldn't expect to be able to use a UUID as a list index, for example. This is marked as "behavior", but I have a hard time seeing this as a bug. It's not even a usability bug, given how easy it is to get

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that str() for UUIDs already returns the hexadecimal representation, just with minuses. I don't see large usability difference between 'uuid={:x}'.format(u) and 'uuid={.hex}'.format(u). And in many case 'uuid={}'.format(u) is appropriate as well.

[issue27200] make doctest in CPython has failures

2018-10-30 Thread Julien Palard
Julien Palard added the comment: Closing PR and issue as already fixed and now enforced by CI. Thanks again Marco for those already-merged fixes, it helped a lot ending the work at the last PyCon Fr sprints. -- resolution: -> fixed stage: patch review -> resolved status: open ->

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

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: Include/internal/pystate.h uses #include "pystate.h" to include Include/pystate.h, but it tries to include itself (Include/internal/pystate.h) which does nothing because of "#ifndef Py_INTERNAL_PYSTATE_H #define Py_INTERNAL_PYSTATE_H ... #endif". Remove

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

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

[issue35115] UUID objects can't be casted by `hex()`

2018-10-30 Thread fcurella
Change by fcurella : -- status: -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2018-10-30 Thread cary
Change by cary : -- keywords: +patch pull_requests: +9564 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34866] CGI DOS vulnerability via long post list

2018-10-30 Thread Matthew Belisle
Matthew Belisle added the comment: That makes sense Victor, I agree. Thanks for merging those PRs. -- ___ Python tracker ___ ___

[issue35109] Doctest in CI uses python binary built from master causing DeprecationWarnings

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > If we do so, we won't be able to write doctest about new features (existing > in 3.8, not existing in 3.7), which is worse than having warnings. I agree with the same. Maybe I am running doctest wrong locally? I use make venv and make doctest.

[issue35109] Doctest in CI uses python binary built from master causing DeprecationWarnings

2018-10-30 Thread Julien Palard
Julien Palard added the comment: > Maybe I am running doctest wrong locally? Dunno. IIRC we had problems running doctest with a Python 3.7 on the 3.8 branch, which make sense. Anyway, if it works today, the first developper writing doctest about a 3.8 feature will cause a doctest failure

[issue33138] Improve standard error for uncopyable types

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0353b4eaaf451ad463ce7eb3074f6b62d332f401 by Serhiy Storchaka in branch 'master': bpo-33138: Change standard error message for non-pickleable and non-copyable types. (GH-6239)

[issue33138] Improve standard error for uncopyable types

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

[issue34866] CGI DOS vulnerability via long post list

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: I suggest to not add the new parameter to 3.4 and 3.5 branches, even if it's a security fix. The fix requires to *use* the parameter, and I don't expect applications on Python 3.4 and 3.5 to be modified to use it. --

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2018-10-30 Thread Maxime Belanger
Change by Maxime Belanger : -- nosy: +Maxime Belanger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35034] Add closing and iteration to threading.Queue

2018-10-30 Thread Vladimir Filipović
Vladimir Filipović added the comment: Hi Raymond! I've posted to python-ideas: https://mail.python.org/pipermail/python-ideas/2018-October/054238.html The amount of attention it got was modest, so I couldn't exactly say the community has thoroughly vetted and enthusiastically endorsed this

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

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

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-10-30 Thread Lisa Roach
Lisa Roach added the comment: I think this is something that would be good to have. Jeremy would you care to make a PR for this? -- nosy: +lisroach ___ Python tracker ___

[issue34866] CGI DOS vulnerability via long post list

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset bc6f74a520112d25ef40324e3de4e8187ff2835d by Victor Stinner (matthewbelisle-wf) in branch '2.7': bpo-34866: Add max_num_fields to cgi.FieldStorage (GH-9660) (GH-9969)

[issue34866] CGI DOS vulnerability via long post list

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks Matthew Belisle for the nice security counter-measure! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.4, Python 3.5 ___ Python tracker

[issue35109] Doctest in CI uses python binary built from master causing DeprecationWarnings

2018-10-30 Thread Julien Palard
Change by Julien Palard : -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35109] Doctest in CI uses python binary built from master causing DeprecationWarnings

2018-10-30 Thread Julien Palard
Julien Palard added the comment: > I propose using stable version of Python like python 3.7 If we do so, we won't be able to write doctest about new features (existing in 3.8, not existing in 3.7), which is worse than having warnings. I think the right move is to do some PR on remote

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset aa0a21a7c81cb4eca723b0f400e860a0e8e730b5 by Victor Stinner (matthewbelisle-wf) in branch '3.7': bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10246)

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 691196d1af6a7e9d218e3281a8f3385616b2ca86 by Victor Stinner (matthewbelisle-wf) in branch '3.6': bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10248)

[issue35109] Doctest in CI uses python binary built from master causing DeprecationWarnings

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have an open PR for babel https://github.com/python-babel/babel/pull/608 . The problem is merging them and cutting a new release depends on the maintainers availability. Once it's fixed we have to make sure dependencies of babel like sphinx use

[issue35110] Fix more spaces around hyphens and dashes

2018-10-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3f819ca138db6945ee4271bf13e42db9f9b3b1e4 by Serhiy Storchaka in branch 'master': bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) https://github.com/python/cpython/commit/3f819ca138db6945ee4271bf13e42db9f9b3b1e4

[issue35116] Doc/library entries for cgi.FieldStorage max_num_fields

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

[issue35109] Doctest in CI uses python binary built from master causing DeprecationWarnings

2018-10-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Anyway, if it works today, the first developper writing doctest about a 3.8 > feature will cause a doctest failure so no we can't use 3.7 to test 3.8. Agreed that we need to run on the master branch binary for 3.8 only features like PEP 572

[issue35120] SSH tunnel support to ftp lib

2018-10-30 Thread Mohit Sharma
New submission from Mohit Sharma : SSH tunnel forwarding doesn't work with ftp lib -- messages: 328970 nosy: msharma priority: normal severity: normal status: open title: SSH tunnel support to ftp lib type: enhancement versions: Python 2.7 ___

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

2018-10-30 Thread Windson Yang
Windson Yang added the comment: I guess we can implement using ref_count? However, I agreed "The use of variables that haven't been defined or set (implicitly or explicitly) is almost always a bad thing in any language since it indicates that the logic of the program hasn't been thought

[issue35119] Customizing module attribute access example raises RecursionError

2018-10-30 Thread Denis Osipov
New submission from Denis Osipov : Customizing module attribute access example raises RecursionError: >>> import sys >>> from types import ModuleType >>> class VerboseModule(ModuleType): ... def __repr__(self): ... return f'Verbose {self.__name__}' ... def __setattr__(self,

  1   2   >