[issue35013] Add more type checks for children of xml.etree.ElementTree.Element

2018-10-19 Thread Stefan Behnel
Stefan Behnel added the comment: Well, if that's what it takes, then that's what it takes. I'm fine with the change. The (unaccelerated) ET doesn't strictly require it, but a) I can't really see a use case for non-Element classes in the tree, b) pretty much no-one uses plain Python ET anymor

[issue35013] Add more type checks for children of xml.etree.ElementTree.Element

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f081fd83032be48aefdb1bbcc38ab5deb03785d5 by Serhiy Storchaka in branch 'master': bpo-35013: Add more type checks for children of Element. (GH-9944) https://github.com/python/cpython/commit/f081fd83032be48aefdb1bbcc38ab5deb03785d5 --

[issue35026] Winreg's documentation lacks mentioning required permission at some points

2018-10-19 Thread George Fischhof
New submission from George Fischhof : Winreg's documentation lacks mentioning required permission at some points Hi there, on page https://docs.python.org/3/library/winreg.html it is not mentioned in the description of the following functions: winreg.DeleteKey winreg.DeleteKeyEx winreg.Delete

[issue35013] Add more type checks for children of xml.etree.ElementTree.Element

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there wouldn't type checks in append(), extend() and insert(), I would consider to add the support of duck-typing in iterating and searching. But since non-Elements already are forbidden in the public API, it is better to forbid them everywhere and simp

[issue34866] CGI DOS vulnerability via long post list

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9309 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34866] CGI DOS vulnerability via long post list

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 209144831b0a19715bda3bd72b14a3e6192d9cc1 by Miss Islington (bot) (matthewbelisle-wf) in branch 'master': bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) https://github.com/python/cpython/commit/209144831b0a19715bda3bd72b14a3e6192d

[issue34866] CGI DOS vulnerability via long post list

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9310 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34866] CGI DOS vulnerability via long post list

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset a66f279a1381dd5c1c27232ccf9f210d575e1dcc by Miss Islington (bot) in branch '3.7': bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) https://github.com/python/cpython/commit/a66f279a1381dd5c1c27232ccf9f210d575e1dcc --

[issue34866] CGI DOS vulnerability via long post list

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 322a914965368ffd7e4f97ede50b351fdf48d870 by Miss Islington (bot) in branch '3.6': bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) https://github.com/python/cpython/commit/322a914965368ffd7e4f97ede50b351fdf48d870 --

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-19 Thread Gus Goulart
Gus Goulart added the comment: Thanks, Tal. I will open up a PR for it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2018-10-19 Thread Ben Spiller
Ben Spiller added the comment: To help anyone else struggling with this bug, based on https://lsimons.wordpress.com/2011/03/17/stripping-illegal-characters-out-of-xml-in-python/ the best workaround I've currently found is to define this: def escape_xml_illegal_chars(unicodeString, replaceWit

[issue31752] Assertion failure in timedelta() in case of bad __divmod__

2018-10-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9311 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-10-19 Thread Marius Gedminas
Marius Gedminas added the comment: @stinner: https://haypo.github.io/contrib-cpython-2016q1.html is now showing a 404 error. Has the site moved? Do you have a working URL? (I did find https://docs.python.org/3/whatsnew/3.6.html#warnings, which was very helpful.) -- nosy: +mgedmin

[issue35015] availability directive breaks po files

2018-10-19 Thread Julien Palard
Julien Palard added the comment: Cross-posting here in case it's a sphinx issue: https://github.com/sphinx-doc/sphinx/issues/5554 Tried to debug it a bit at lunch time but the docutils API is still opaque to my eyes :( -- ___ Python tracker

[issue14894] distutils.LooseVersion fails to compare number and a word

2018-10-19 Thread YP
YP added the comment: Hi, Just wanted to know if there was anything new on this? When managing softwares version we often are not at all master of the naming convention used: we just have to deal with it. "LooseVersion" was very nice as it would take any string as input and do "the best" wi

[issue32912] Raise non-silent warning for invalid escape sequences

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

[issue32912] Raise non-silent warning for invalid escape sequences

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6543912c90ffa579dc4c01e811f9609cf92197d3 by Serhiy Storchaka in branch 'master': bpo-32912: Replace a DeprecationWarning with a SyntaxWarning (GH-9652) https://github.com/python/cpython/commit/6543912c90ffa579dc4c01e811f9609cf92197d3 ---

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

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

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 55f8249d65af3f1b83df81fa46f6fc6e452ed944 by Serhiy Storchaka in branch 'master': bpo-34741: Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser. (GH-9422) https://github.com/python/cpython/commit/55f8249d65af3f1b83df81fa46f6fc6e452ed9

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-19 Thread Matej Cepl
Matej Cepl added the comment: Sorry, my mistake, it seems I was using python2 Sphinx even for building python3 documentation, which is a bad idea, I guess. -- ___ Python tracker

[issue34936] tkinter.Spinbox.selection_element() raises TclError

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9312 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34936] tkinter.Spinbox.selection_element() raises TclError

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bd9c2ce7acaef45f23c2659b854fc9925096d040 by Serhiy Storchaka (Juliette Monsel) in branch '3.7': bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) https://github.com/python/cpython/commit/bd9c2ce7acaef45f23c26

[issue35027] distutils.core.setup does not raise TypeError when if classifiers, keywords and platforms fields are not specified as a list

2018-10-19 Thread Tilman Krummeck
New submission from Tilman Krummeck : The python documentation states at this point: "Changed in version 3.7: setup now raises a TypeError if classifiers, keywords and platforms fields are not specified as a list." https://docs.python.org/3.7/distutils/setupscript.html#additional-meta-data I

[issue34936] tkinter.Spinbox.selection_element() raises TclError

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset c04347fad936f40cc0bd844e44a71ba88b027b2d by Miss Islington (bot) in branch '3.6': bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) https://github.com/python/cpython/commit/c04347fad936f40cc0bd844e44a71ba88b027

[issue34936] tkinter.Spinbox.selection_element() raises TclError

2018-10-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9313 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: > @stinner: https://haypo.github.io/contrib-cpython-2016q1.html is now showing > a 404 error. Has the site moved? Do you have a working URL? Yes, it moved to: https://vstinner.github.io/contrib-cpython-2016q1.html -- __

[issue34783] [3.7] segmentation-fault/core dump when try to run non-existing file specified on commandline

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: The issue should be fixed now, I close it again. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue34866] CGI DOS vulnerability via long post list

2018-10-19 Thread Matthew Belisle
Change by Matthew Belisle : -- pull_requests: +9314 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2018-10-19 Thread DamlaAltun
DamlaAltun added the comment: Working on that. -- nosy: +DamlaAltun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue33947] Dataclasses can raise RecursionError in __repr__

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9315 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-19 Thread Steve Dower
Steve Dower added the comment: I requested Victor review on my PR, but if anyone else is able to please feel free. -- ___ Python tracker ___ _

[issue33947] Dataclasses can raise RecursionError in __repr__

2018-10-19 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset b9182aa7dad8991fc8768ae494b45b5f7c316aca by Eric V. Smith (Miss Islington (bot)) in branch '3.7': bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916) (#9970) https://github.com/python/cpython/commit/b9182aa7dad8991fc8768a

[issue33947] Dataclasses can raise RecursionError in __repr__

2018-10-19 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue14894] distutils.LooseVersion fails to compare number and a word

2018-10-19 Thread Éric Araujo
Éric Araujo added the comment: I am inclined to reject the patch. LooseVersion is not meant to be a general utility for all modules; I know it’s used in the wild but projects should define their parsing/comparison function or make up a specific module for that. If the problem happens from di

[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9316 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue14894] distutils.LooseVersion fails to compare number and a word

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you want to make LooseVersion a tiny bit more robust, I suggest to borrow the algorithm from the platform module (see issue26544). -- nosy: +serhiy.storchaka ___ Python tracker

[issue34912] Update overflow checks in resize_buffer

2018-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: correct, i don't see an obvious problem in the existing code. -- nosy: +gregory.p.smith ___ Python tracker ___

[issue35028] Off by one error in cgi.FieldStorage(max_num_fields)

2018-10-19 Thread Matthew Belisle
Change by Matthew Belisle : -- keywords: +patch pull_requests: +9317 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35028] Off by one error in cgi.FieldStorage(max_num_fields)

2018-10-19 Thread Matthew Belisle
New submission from Matthew Belisle : The cgi.FieldStorage class added in https://github.com/python/cpython/pull/9660 has an off by one error in the logic for recursively nested objects. The problem is that sub_max_num_fields should be initialized outside of the while loop, not inside of it.

[issue34991] variable type list [] referential integrity data loss

2018-10-19 Thread Ammar Askar
Ammar Askar added the comment: Echoing what Eric and Steven said: please create a more minimal example of what you think the problem is. I'm closing this ticket now since it seems like you found the issue? Feel free to re-open if you can come up with a better example or describe the problem.

[issue35027] distutils.core.setup does not raise TypeError when if classifiers, keywords and platforms fields are not specified as a list

2018-10-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. It was made as a TypeError in https://bugs.python.org/issue19610#msg306853 in the commit to check for list explicitly [0] . Then since it broke a lot of packages as seen in the discussion and now it accepts string and list la

[issue34991] variable type list [] referential integrity data loss

2018-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be an incomplete breadth-first search program. (Incomplete: the visited list, for instance, is initialized and appended, but never used.) checkvisit consists of multiple references to the path list. Each time path is appended, it is then cl

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-10-19 Thread Nic Watson
Change by Nic Watson : -- nosy: +jnwatson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue35019] Minor Bug found in asyncio - Python 3.5.3

2018-10-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: behavior -> enhancement versions: +Python 3.8 -Python 3.5 ___ Python tracker ___ ___ Python-bugs

[issue35019] Allow ipaddres.IPv4/v6Address in asyncio.create_server

2018-10-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Minor Bug found in asyncio - Python 3.5.3 -> Allow ipaddres.IPv4/v6Address in asyncio.create_server ___ Python tracker ___ ___

[issue33073] Add as_integer_ratio() to int() objects

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset b2e2025941f6a4fdb716bd141d31acf720353d21 by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303) https://github.com/python/cpython/commit/b2e2025941f6a4fdb716bd141d31acf720353d21

[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5a30620e68ebb911eef4d583de3776d782148637 by Victor Stinner (jdemeyer) in branch 'master': bpo-25750: Add test on bad descriptor __get__() (GH-9084) https://github.com/python/cpython/commit/5a30620e68ebb911eef4d583de3776d782148637 -- _

[issue34070] Superfluous call to isatty in open() when buffering >= 0

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8deab9672554edaf58f91e238cc899463d53f6ea by Victor Stinner (David Herberth) in branch 'master': bpo-34070: open() only checks for isatty if buffering < 0 (GH-8187) https://github.com/python/cpython/commit/8deab9672554edaf58f91e238cc899463d53f6ea

[issue34070] Superfluous call to isatty in open() when buffering >= 0

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: David Herberth: Thanks for report the issue, I didn't noticed it previously even if I read strace output frequently! And thanks for the fix. > This generates an error (can be seen with strace): > ioctl(5, TCGETS, 0x7ffef1435b60) = -1 ENOTTY (Inappropriate i

[issue1621] Do not assume signed integer overflow behavior

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset a9274f7b3f69519f0746c50f85a68abd926ebe7b by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-1621: Avoid signed integer overflow in set_table_resize(). (GH-9059) (GH-9199) https://github.com/python/cpython/commit/a9274f7b3f69519f0746c

[issue1621] Do not assume signed integer overflow behavior

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6665802549006eb50c1a68c3489ee3aaf81d0c8e by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-1621: Avoid signed integer overflow in set_table_resize() (GH-9059) (GH-9198) https://github.com/python/cpython/commit/6665802549006eb50c1a68

[issue1621] Do not assume signed integer overflow behavior

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Thank you very much to the task force who worked on this issues which can be seen as boring and useless, but are very important nowadays with C compilers which are more and more agressive to optimize everything (I'm looking at you clang!). This bug is open

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9319 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9320 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 9978 to backport the fix to Python 3.7. Should the fix be backported to Python 3.6 as well? -- nosy: +vstinner ___ Python tracker ___

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset c119d5948f941d2f528dda3f099e196bd6383000 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9545) https://github.com/python/cpython/commit/c119d5948f941d2f528dda3f099e196bd638300

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5e808f92ea4eb238b17757526b99f97debf7dd57 by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9546) https://github.com/python/cpython/commit/5e808f92ea4eb238b17757526b99f97debf7dd5

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2546ac8eeb56fc146adea9a03158440a9271714e by Victor Stinner (Miss Islington (bot)) in branch '2.7': bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9547) https://github.com/python/cpython/commit/2546ac8eeb56fc146adea9a03158440a9271714

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Christian: do you think that this issue is severe enough to justify to backport it to Python 3.4 and 3.5? I don't think so. Python 2.7, 3.6, 3.7 and master (future 3.8) already have been fixed, IMHO it's enough and this issue can be closed. --

[issue34824] _ssl.c: Possible null pointer dereference

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset d92816de667169fbd54a3442705bc07286e8c69d by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9744) https://github.com/python/cpython/commit/d92816de667169fbd54a3442

[issue34824] _ssl.c: Possible null pointer dereference

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4ec9f64e07c8f397ad6699f8b99843846c219588 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9743) https://github.com/python/cpython/commit/4ec9f64e07c8f397ad6699f8

[issue34824] _ssl.c: Possible null pointer dereference

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Thanks Zackery Spytz for the report and the fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Strange, no bot noticed that a change has been merged into the master branch: bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) https://github.com/python/cpython/commit/f192aeb95a139ede74d69e39c046c498ff288a37 -- nosy: +vstinner

[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23efe77acf0dce513d7b7cab5523c061bb006b60 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971) https://github.com/python/cpython/commit/23efe77acf0dce513d7b7c

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6f17e51345d930ccb4db306acc12b7d1f6c5e690 by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349) https://github.com/python/cpython/commit/6f17e51345d930ccb4db306acc12b7

[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9321 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0f14fc1a7cb2ea0012d0a943e4460acdee2108d7 by Victor Stinner (Andrés Delfino) in branch 'master': bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294) https://github.com/python/cpython/commit/0f14fc1a7cb2ea0012d0a943e4460ac

[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9322 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33708] Doc: Asyncio's Event documentation typo.

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: The asyncio documentation has been rewritten. It seems like the missing references issue is gone. -- nosy: +vstinner resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9323 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset ded87d804e2a85b2a3ea9e7a11384b41fafdfa29 by Victor Stinner (Matthias Bussonnier) in branch 'master': bpo-33594: Add deprecation info in inspect.py module (GH-7036) https://github.com/python/cpython/commit/ded87d804e2a85b2a3ea9e7a11384b41fafdfa29

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9324 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread Ethan Furman
Ethan Furman added the comment: Change by STINNER Victor: > pull_requests: +9319 Why does the above say 9319 when the PR is 9978? -- ___ Python tracker ___ _

[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 2a6cf446802079a3ee57147de8273c84d63767e9 by Miss Islington (bot) in branch '3.7': bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294) https://github.com/python/cpython/commit/2a6cf446802079a3ee57147de8273c84d63767e9 -

[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 70102ff18817dd3db79cf73a1028251bbf2106f2 by Miss Islington (bot) in branch '3.6': bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294) https://github.com/python/cpython/commit/70102ff18817dd3db79cf73a1028251bbf2106f2 -

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread Ethan Furman
Ethan Furman added the comment: New changeset 0f2fc8bee0b435ee2934751264196db30d16ed8a by Ethan Furman (Victor Stinner) in branch '3.7': bpo-34536: raise error for invalid _missing_ results (GH-9147) (GH-9978) https://github.com/python/cpython/commit/0f2fc8bee0b435ee2934751264196db30d16ed8a

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: > Why does the above say 9319 when the PR is 9978? Roundup (the software running bugs.python.org) logs its own internal identifier for pull requests. Following https://bugs.python.org/pull_request9320 may help you to understand :-) -- _

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread Ethan Furman
Ethan Furman added the comment: New changeset 4acf6c9d4be77b968fa498569d7a1545e5e77344 by Ethan Furman (Victor Stinner) in branch 'master': bpo-34536: Cleanup test_enum imports (GH-9979) https://github.com/python/cpython/commit/4acf6c9d4be77b968fa498569d7a1545e5e77344 -- __

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 932ebc1e0ef9b0d5cd17370f5183bad0257d36f9 by Miss Islington (bot) in branch '3.6': bpo-33594: Add deprecation info in inspect.py module (GH-7036) https://github.com/python/cpython/commit/932ebc1e0ef9b0d5cd17370f5183bad0257d36f9 -- nosy:

[issue31122] SSLContext.wrap_socket() throws OSError with errno == 0

2018-10-19 Thread Ben Darnell
Ben Darnell added the comment: We have an easy reproduction of this "[Errno 0] Error" on the server side in https://github.com/tornadoweb/tornado/issues/2504#issuecomment-426782158 It is triggered by a connection from `nc -z` (which I think is doing a TCP handshake and shutting down the conn

[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Thanks Andrés Delfino! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset c8348fb6d2ef1b5bb91d6eb5fbafdf42c4ae16ce by Miss Islington (bot) in branch '3.7': bpo-33594: Add deprecation info in inspect.py module (GH-7036) https://github.com/python/cpython/commit/c8348fb6d2ef1b5bb91d6eb5fbafdf42c4ae16ce --

[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: Thanks Matthias Bussonnier! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue32236] open() shouldn't silently ignore buffering=1 in binary mode

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2670565d8f5c502388378aba1fe73023fd8c8d4 by Victor Stinner (Alexey Izbyshev) in branch 'master': bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) https://github.com/python/cpython/commit/a2670565d8f5c502388378aba1f

[issue21332] subprocess bufsize=1 docs are misleading

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2670565d8f5c502388378aba1fe73023fd8c8d4 by Victor Stinner (Alexey Izbyshev) in branch 'master': bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) https://github.com/python/cpython/commit/a2670565d8f5c502388378aba1f

[issue10344] codecs.open() buffering doc needs fix

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2670565d8f5c502388378aba1fe73023fd8c8d4 by Victor Stinner (Alexey Izbyshev) in branch 'master': bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) https://github.com/python/cpython/commit/a2670565d8f5c502388378aba1f

[issue32236] open() shouldn't silently ignore buffering=1 in binary mode

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: I don't think that it would be a good idea to start emitting a new warning in a minor release like the future Python 3.7.2, so I suggest to not backport the change. I close the issue. -- resolution: -> fixed stage: patch review -> resolved status:

[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9325 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9326 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 834603112e6ca35944dd21105b01fca562dc3241 by Victor Stinner (Alexey Izbyshev) in branch 'master': bpo-32890, os: Use errno instead of GetLastError() in execve() and truncate() (GH-5784) https://github.com/python/cpython/commit/834603112e6ca35944

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 13ae4d44381a647aadd09b70b24833052659be41 by Victor Stinner (Berker Peksag) in branch 'master': bpo-21196: Clarify name mangling rules in tutorial (GH-5667) https://github.com/python/cpython/commit/13ae4d44381a647aadd09b70b24833052659be41 -

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9327 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9328 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9329 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 027664a3d5ebad575aafe5fcc572e3b05f7f24e5 by Victor Stinner (Pablo Galindo) in branch 'master': bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs (#5621) https://github.com/python/cpython/commit/027664a3d5ebad575aafe5

[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9330 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9331 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +9332 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington
miss-islington added the comment: New changeset 3e5bcd12f661bdf363c025b52a3d515829e64ed2 by Miss Islington (bot) in branch '3.7': bpo-21196: Clarify name mangling rules in tutorial (GH-5667) https://github.com/python/cpython/commit/3e5bcd12f661bdf363c025b52a3d515829e64ed2 -- nosy: +

[issue34573] Simplify __reduce__() of set and dict iterators.

2018-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6395844e6adebc12c4eba1fb75c5e7c9c8b89f85 by Pablo Galindo (Sergey Fedoseev) in branch 'master': bpo-34573: Simplify __reduce__() of set and dict iterators. (GH-9050) https://github.com/python/cpython/commit/6395844e6adebc12c4eba1fb75c5e7c

  1   2   >