[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8606 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bug

[issue34624] -W option does not accept module regexes

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

[issue34627] Python incorrect execution order

2018-09-11 Thread badrussians
New submission from badrussians : #!/usr/bin/env python3 # -*- coding: utf-8 -*- print(''); import sys, os, subprocess, re, ctypes, tempfile, shutil, tarfile, urllib.request; argsCount=len(sys.argv); scriptDir = os.path.dirname(os.path.abspath(sys.argv[0])); def FindFullPaths(strPattern, *orde

[issue34624] -W option does not accept module regexes

2018-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The original escape was done with 2a862c614d6d3ff50dc644150670651fdc9f3a99 which was in 2000. The doc example you are referring to at [1] was added with https://bugs.python.org/issue31975 and there doesn't seem to be a test involving regular expres

[issue31577] crash in os.utime() in case of a bad ns argument

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

[issue34627] Python incorrect execution order

2018-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please describe the problem and the output you are expecting so that we can determine if it's a bug in Python or the logic of the code which will get better help from sites stackoverflow ? It will be helpful if you can do `tree` on the sear

[issue30238] 2to3 doesn't detect or fix Exception indexing

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

[issue31535] configparser unable to write comment with a upper cas letter

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

[issue34627] Python incorrect execution order

2018-09-11 Thread badrussians
badrussians added the comment: Big Sorry - it is my mistake. In terminal I execute same file, but in other location. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker __

[issue31535] configparser unable to write comment with a upper cas letter

2018-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: All config options are converted to lowercase when they are stored. You can customise this with https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.optionxform. You can customize it more with https://docs.python.org/3/lib

[issue26832] ProactorEventLoop doesn't support stdin/stdout nor files with connect_read_pipe/connect_write_pipe

2018-09-11 Thread Martijn Pieters
Martijn Pieters added the comment: I'm trying to figure out why Windows won't let us do this. I think the reason is that sys.std(in|out) filehandles are not opened as pipes, and do not have the required OVERLAPPED flag set (see the CreateIoCompletionPort documentation at https://docs.micros

[issue31535] configparser unable to write comment with a upper cas letter

2018-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Ah sorry, didn't notice it was about comments. It seems config.optionxform = str has no effect on comments. Thanks -- ___ Python tracker

[issue31535] configparser unable to write comment with a upper cas letter

2018-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Ah my bad again. The config.optionxform = str does the trick. I was using an older object. from configparser import ConfigParser config = ConfigParser(allow_no_value=True) config.optionxform = str config.add_section('default_settings') config.set('

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-09-11 Thread Vijay
Vijay added the comment: can someone please clarify, is it a pywin32 issue or python3.7 issue?. -- ___ Python tracker ___ ___ Pytho

[issue21314] Document '/' in signatures

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: Welcome, Noah! Feel free to work on this issue, but please note that there is no consensus on the best place to document / signatures, so you may need to move your changes between locations (e.g. from Doc/faq/programming.rst to Doc/gloassary.rst) before we me

[issue34443] enum repr should use __qualname__

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Serhiy, why should __qualname__ always be used together with __module__? Because what is the purpose of using __qualname__? -- ___ Python tracker __

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2018-09-11 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +8607 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue34443] enum repr should use __qualname__

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think using more longer name in repr and/or str for *instances* of enum classes is not good idea. They are already verbose, and this will make them more verbose. Actually in some cases when enum instances are exposed as module globals, I would want to m

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-11 Thread Nick Coghlan
Nick Coghlan added the comment: The entire change affecting the PEP 538 implementation in https://github.com/python/cpython/commit/9454060e84a669dde63824d9e2fcaf295e34f687#diff-8c018c3ada66d06c8e101e47a313c2c7 needs to be reverted: the locale should be coerced before *ANY* calls are made to

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2018-09-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-11 Thread Nick Coghlan
Nick Coghlan added the comment: (The one exception to "nothing gets decoded incorrectly" is that PYTHONCOERCECLOCALE itself is always interpreted as an ASCII field: the values that it checks for are actually ASCII byte sequences, not Unicode code points. The documentation could definitely be

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-11 Thread Nick Coghlan
Nick Coghlan added the comment: FWIW, this is also why I don't want PEP 432 to expose any wstr fields in the configuration settings: it means embedding applications have to figure out which encoding Python is expecting to be used for those fields. Everything should be much cleaner if the pub

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The solution with fileno() is clever, but as was mentioned before, it doesn't work if stdin or stdout are not real files, but something like StringIO. It is not that in common use of argparse for parsing arguments in scripts they are redefined, but argpars

[issue4921] Object lifetime and inner recursive function

2018-09-11 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This code was added in issue4925. Is the original problem gone? -- nosy: +benjamin.peterson, serhiy.storchaka ___ Python tracker ___ __

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-11 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8608 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue34569] test__xxsubinterpreters.ShareableTypeTests._assert_values fails on AIX - 32-bit mode

2018-09-11 Thread Eric Snow
Eric Snow added the comment: Thanks for bringing this up, Michael. I'll give you a review on the PR sometime this week (while at the core sprint). -- ___ Python tracker ___

[issue34579] test_embed.InitConfigTests fail on AIX

2018-09-11 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-09-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: There's not enough information in the issue to be sure, but I'm inclined to say this is a 3th-party problem. To be sure someone will have to reproduce the problem in a debugger, or provide a stack trace of the crash. The initial message says there's a cras

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that "types that are :term:`iterable` or implement the :meth:`__contains__` method" is too low-level for this section. In this section we tell about builtin types. From those the types that support `in` and `not in` are list, tuple, dict, set, froz

[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: The builtin exception is better now, so I don't see a problem with reverting the original patch. -- ___ Python tracker ___ __

[issue34465] ipaddress should accept bytearray in addition to bytes

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue27572 for moving in opposite direction. Supporting the buffer protocol rather of just bytes and bytearray complicates the code, and can be considered as a feature creep, especially if an input is a text encoded as bytes. But in this case the bytes

[issue34405] Upgrade to OpenSSL 1.1.0i / 1.0.2p

2018-09-11 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +8609 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue34405] Upgrade to OpenSSL 1.1.0i / 1.0.2p

2018-09-11 Thread Ned Deily
Ned Deily added the comment: New changeset 3102e24d83315eee42a94c460956fbcb92ac510f by Ned Deily in branch 'master': bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166) https://github.com/python/cpython/commit/3102e24d83315eee42a94c460956fbcb92ac510f -- ___

[issue34405] Upgrade to OpenSSL 1.1.0i / 1.0.2p

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8610 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32490] subprocess: duplicate filename in exception message

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 73870bfeb9cf350d84ee88bd25430c104b3c6191 by Benjamin Peterson (Zackery Spytz) in branch 'master': closes bpo-32490: Fix filename duplication in subprocess exception message. (GH-9163) https://github.com/python/cpython/commit/73870bfeb9cf350d

[issue34443] enum repr should use __qualname__

2018-09-11 Thread Ethan Furman
Ethan Furman added the comment: Serhiy said: --- > I think using more longer name in repr and/or str for *instances* of > enum classes is not good idea. They are already verbose, and this > will make them more verbose. I'm okay with verbose reprs, as debugging is the primary feature fo

[issue34405] Upgrade to OpenSSL 1.1.0i / 1.0.2p

2018-09-11 Thread Ned Deily
Ned Deily added the comment: New changeset 3235fac0d7d94ad6464a162261c18a424829d2e5 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166) (GH-9167) https://github.com/python/cpython/commit/3235fac0d7d94ad6464a162261c18a4

[issue34628] urllib.request.urlopen fails when userinfo is present in URL

2018-09-11 Thread Niklas Sombert
New submission from Niklas Sombert : Today I tried to access URLs like this one: http://user:1...@example.net:8080. The result was this: >>> import urllib.request >>> urllib.request.urlopen("http://user:1...@example.net:1234/";) Traceback (most recent call last): File "/usr/local/lib/python3.

[issue34443] enum repr should use __qualname__

2018-09-11 Thread Ethan Furman
Ethan Furman added the comment: Okay, I might be changing my mind. In most cases I suspect the difference would be minimal, but when it isn't, it really isn't. Take this example from a pydoc test: class Color(enum.Enum) | Color(value, names=None, *, module=None, qualname=None, type=N

[issue34465] ipaddress should accept bytearray in addition to bytes

2018-09-11 Thread Jörn Heissler
Jörn Heissler added the comment: > Maybe add a special purposed named constructor IPv4Address.from_bytes() that > will accept any objects supporting the buffer protocol? That would work for me. I wonder if there should be something like ipaddress.ip_address_from_bytes too that can construct I

[issue34629] Python3 regression for urllib(2).urlopen(...).fp for chunked http responses

2018-09-11 Thread Thibault Kruse
New submission from Thibault Kruse : We had a problem running code that downloads files from github when porting from python2.7 to python3.[3-7]. Not sure if a bug or not. With the given code, in python3 a file downloaded in chunks will contain the size of chunks when using the undocumented f

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-09-11 Thread Erik Janssens
Erik Janssens added the comment: @ronaldoussoren In my case it was not Outlook, it was a third party line of business application, but as in the case of the OP, as mentioned in the StackOverflow link, the crashing only happens using certain Python version. I'm not suggesting the issue of the

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-09-11 Thread Erik Janssens
Erik Janssens added the comment: @vijay may I suggest you try to investigate your issue in more detail : - does it depend on the Python version ? If so which versions work, which dont. - does the crash happen as well when using the REPL ? - if you use PyQt instead of pywin32, does it still

[issue29832] Don't refer to getsockaddrarg in error messages

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 735171e33486131d93865cf851c0c3d63fffd364 by Benjamin Peterson (Oren Milman) in branch 'master': closes bpo-29832: Remove "getsockaddrarg" from error messages. (GH-3163) https://github.com/python/cpython/commit/735171e33486131d93865cf851c0c3d6

[issue33649] asyncio docs overhaul

2018-09-11 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 7c7605ff1133cf757cac428c483827f666c7c827 by Yury Selivanov in branch 'master': bpo-33649: First asyncio docs improvement pass (GH-9142) https://github.com/python/cpython/commit/7c7605ff1133cf757cac428c483827f666c7c827 -- _

[issue33986] asyncio: Typo in documentation: BaseSubprocessTransport -> SubprocessTransport

2018-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Superseded by #33649 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> asyncio docs overhaul ___ Python tracker ___

[issue33649] asyncio docs overhaul

2018-09-11 Thread Yury Selivanov
Yury Selivanov added the comment: The first PR has been just landed. The plan is to work in 'master' branch and when the docs are ready we backport them to 3.7 in one big PR. So far the following files were updated/reviewed: Doc/library/asyncio-eventloop.rst Doc/library/asyncio-ev

[issue34630] Don't log ssl cert errors in asyncio

2018-09-11 Thread Andrew Svetlov
New submission from Andrew Svetlov : It is reported as a regular exception, not need to log it (as we skip logging of connection errors already). -- messages: 325032 nosy: asvetlov priority: normal severity: normal status: open title: Don't log ssl cert errors in asyncio _

[issue34630] Don't log ssl cert errors in asyncio

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8611 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34622] Extract asyncio exceptions into a separate file

2018-09-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0baa72f4b2e7185298d09cf64c7b591efcd22af0 by Andrew Svetlov in branch 'master': bpo-34622: Extract asyncio exceptions into a separate module (GH-9141) https://github.com/python/cpython/commit/0baa72f4b2e7185298d09cf64c7b591efcd22af0 --

[issue34631] Upgrade to OpenSSL 1.1.1

2018-09-11 Thread Christian Heimes
New submission from Christian Heimes : OpenSSL 1.1.1 was released today. The blog post https://www.openssl.org/blog/blog/2018/09/11/release111/ lists all major improvements. Highlights: * TLS 1.3 * API and ABI compatible with OpenSSL 1.1.0 * LTS release (support schedule TBD) All tests on ma

[issue34622] Extract asyncio exceptions into a separate file

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc by Berker Peksag in branch 'master': bpo-29386: Pass -1 to epoll_wait() when timeout is < -1 (GH-9040) https://github.com/python/cpython/commit/b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc -- __

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-11 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python tracker ___

[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks for merging this, Petr. What do you think about backporting to 3.7? -- components: -Documentation versions: +Python 3.8 ___ Python tracker ___

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset 08bcf647d8a92e4bd47531588b284c6820b7a7ef by Miss Islington (bot) (wim glenn) in branch 'master': bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086) https://github.com/python/cpython/commit/08bcf647d8a92e4b

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8613 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8612 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

2018-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: I don't think I have a good enough feel for what should, generally, go to 3.7. So take my opinion with a grain of salt. But honestly, I don't think the issue is important enough -- I've only seen one codebase affected by it, which wasn't hard to fix. ---

[issue34629] Python3 regression for urllib(2).urlopen(...).fp for chunked http responses

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

[issue33649] asyncio docs overhaul

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

[issue31704] HTTP check lowercase response from proxy

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: The spec, https://tools.ietf.org/html/rfc7230#section-2.6, is quite clear that the HTTP version is case sensitive. In practice, not every client is lax. Firefox does a case-insensitive comparison, but libcurl requires uppercase. That makes me think we can

[issue34628] urllib.request.urlopen fails when userinfo is present in URL

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

[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

2018-09-11 Thread Berker Peksag
Berker Peksag added the comment: Ok, let's close this issue then. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.5, Python 3.6 ___ Python tracker ___

[issue34600] python3 regression ElementTree.iterparse() unable to capture comments

2018-09-11 Thread Stefan Behnel
Stefan Behnel added the comment: lxml supports "comment" and "pi" as event types in iterparse (or, more specifically, in the XMLPullParser). If someone wants to implement this for (c)ElementTree, I'd be happy to review the PR. https://lxml.de/api/lxml.etree.XMLPullParser-class.html

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset 3e648f8371e342ccfa663ad77e82a538fcc8c9fb by Miss Islington (bot) in branch '3.7': bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086) https://github.com/python/cpython/commit/3e648f8371e342ccfa663ad77e82a53

[issue34632] Port importlib_metadata to Python 3.8

2018-09-11 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : https://importlib_metadata.rtfd.org We're fleshing out the API and implementation in the standalone library, but once we're confident of the API and semantics, we will want to port this into Python 3.8. -- assignee: barry components: Library (Lib

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset 889f080a4d5cdb1cfb901b953f4b89f3ea806bbe by Miss Islington (bot) in branch '3.6': bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086) https://github.com/python/cpython/commit/889f080a4d5cdb1cfb901b953f4b89f

[issue34595] PyUnicode_FromFormat(): add %T format for an object type name

2018-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: > The PEP 399 requires that C accelerator behaves exactly as Python, [...] It does not. PEP 399 requires that that the C code must pass the same *test suite*. And error messages in particular tend to not be checked in tests. Anyway, I don't see how that appli

[issue34363] dataclasses.asdict() mishandles dataclass instance attributes that are instances of subclassed typing.NamedTuple

2018-09-11 Thread Eric V. Smith
Eric V. Smith added the comment: The question here is: what should asdict() return if the dataclass contains a namedtuple? What the code is trying to do (but currently failing!) is to return another namedtuple, but with the values returned by recursively calling in to asdict() (or rather, it

[issue28617] Why isn't "in" called a comparison operation?

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Humm, why the bot merges in the master branch? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue34613] asyncio.StreamReader initialization documentation incorrectly declare limit as None

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset b4ec36200a959da70eba94c19826446a8efdffdd by Miss Islington (bot) (Bram) in branch 'master': bpo-34613: document the correct value of limit argument of asyncio.StreamReader (GH-9121) https://github.com/python/cpython/commit/b4ec36200a959da70eba9

[issue34613] asyncio.StreamReader initialization documentation incorrectly declare limit as None

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8615 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34613] asyncio.StreamReader initialization documentation incorrectly declare limit as None

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8614 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 24bd50bdcc97d65130c07d6cd26085fd06c3e972 by Benjamin Peterson (Oren Milman) in branch 'master': closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788) https://github.com/python/cpython/co

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8616 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34613] asyncio.StreamReader initialization documentation incorrectly declare limit as None

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset cb51dd7cac6a6e2a7ba67fa4cd328a68f630095b by Miss Islington (bot) in branch '3.6': bpo-34613: document the correct value of limit argument of asyncio.StreamReader (GH-9121) https://github.com/python/cpython/commit/cb51dd7cac6a6e2a7ba67fa4cd328a6

[issue34600] python3 regression ElementTree.iterparse() unable to capture comments

2018-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Than your for your example Martin. Now I see what is not working. Indeed, using the TreeBuilder subclass is recommended way, but iterparse() was designed to accept only exact TreeBuilder. Actually there is an intention to consider the parser parameter of i

[issue31636] test_locale failure on OpenBSD

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8617 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue34613] asyncio.StreamReader initialization documentation incorrectly declare limit as None

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset e02ca4270ef258162215e345c23025bec27f9eb0 by Miss Islington (bot) in branch '3.7': bpo-34613: document the correct value of limit argument of asyncio.StreamReader (GH-9121) https://github.com/python/cpython/commit/e02ca4270ef258162215e345c23025b

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8618 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34409] Add a way to customize iteration over fields in asdict() for the nested dataclasses

2018-09-11 Thread Eric V. Smith
Eric V. Smith added the comment: I've been thinking about this, but I don't have a suggestion on how to improve the API. Maybe some sort of visitor pattern? I'm open to concrete ideas. -- ___ Python tracker ___

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset 536e45accf8f05355dd943a6966b9968cdb15f5a by Miss Islington (bot) in branch '3.7': closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788) https://github.com/python/cpython/commit/536e45accf8f

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ccbbdd0a1e00ecad6f0005438dd6ff6d84fd9ceb by Benjamin Peterson in branch '3.6': [3.6] closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-9178) https://github.com/python/cpython/commit/ccbbdd

[issue34586] collections.ChainMap should have a get_where method

2018-09-11 Thread Zahari Dim
Zahari Dim added the comment: > > I've discussed this with other core devs and spent a good deal of time > evaluating this proposal. I'm going to pass on the this one but do think it > was a inspired suggestion. Thank you for the proposal. Thank you for taking the time to consider it. I un

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 253279c616d4f34287c5749df15e20eb2eb988d6 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-9179) https://github.com/python/cpython/commit/253279

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-09-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d919c60e6936f853ad15040017f2c0bce0f027f8 by Benjamin Peterson (Chih-Hsuan Yen) in branch '2.7': [2.7] bpo-32502: Discard 64-bit (and other invalid) hardware addresses (GH-9125) https://github.com/python/cpython/commit/d919c60e6936f853ad150400

[issue15727] PyType_FromSpecWithBases tp_new bugfix

2018-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: Converting static types to heap ones is just one of the reasons to use PyType_FromSpec*. Another ones are writing such classes from scratch, and converting pure-Python classes to C. I don't think PyObject_FailingNew is a good default for either of those. I t

[issue34365] datetime's documentation refers to "comparison [...] falling back to the default scheme of comparing object addresses"

2018-09-11 Thread miss-islington
miss-islington added the comment: New changeset 9c223794c754408644c16349b85dd27fdba8a926 by Miss Islington (bot) (Danish Prakash) in branch 'master': bpo-34365: Update date object documentation (GH-8814) https://github.com/python/cpython/commit/9c223794c754408644c16349b85dd27fdba8a926 -

[issue34365] datetime's documentation refers to "comparison [...] falling back to the default scheme of comparing object addresses"

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8620 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34365] datetime's documentation refers to "comparison [...] falling back to the default scheme of comparing object addresses"

2018-09-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +8619 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue26979] The danger of PyType_FromSpec()

2018-09-11 Thread Petr Viktorin
Petr Viktorin added the comment: I don't think PEP 384 should be updated. It documents the feature as it was added, and shouldn't be used as documentation now. Instead, Python documentation should be improved to cover all of PEP 389. I submitted a pull request for that (GH-9154). For this iss

[issue34365] datetime's documentation refers to "comparison [...] falling back to the default scheme of comparing object addresses"

2018-09-11 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- nosy: +Mariatta resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue34633] Simplify __reduce__ for ordered dict.

2018-09-11 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The code for __reduce__ in ordered dictionaries can be simplified in the similar way issue34573 is treating dict and set objects. -- components: Interpreter Core messages: 325063 nosy: pablogsal priority: normal severity: normal status: open

[issue34634] New asyncio streams API

2018-09-11 Thread Andrew Svetlov
New submission from Andrew Svetlov : Currently, we have separate classes: reader and writer. It is very inconvenient: these classes are tightly coupled internally, there is no sense to have two objects to the single logical entity. The second problem is `writer.write()` synchronous API. To su

[issue34409] Add a way to customize iteration over fields in asdict() for the nested dataclasses

2018-09-11 Thread mkurnikov
mkurnikov added the comment: Cleanest thing I could think of is: 1. Extract dataclass_to_dict function from _asdict_inner as: def dataclass_asdict(obj, dict_factory): result = [] for f in fields(obj): value = _asdict_inner(getattr(obj, f.name), dict_factory) result.app

[issue34634] New asyncio streams API

2018-09-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8621 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34633] Simplify __reduce__ for ordered dict.

2018-09-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8622 stage: -> patch review ___ Python tracker ___ ___ Python

  1   2   >