[issue34884] Python may load incorrect libraries when embedding the macOS system python 2.7

2018-10-05 Thread Ned Deily
Ned Deily added the comment: Ugh! That's a messy one. Just for the record, the problem of searching other than the system Python images is reproducible with other distributions of Python, including the python.org Python 2.7 - so it is not limited to Homebrew. The key seems to be which

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Ethan Furman
Change by Ethan Furman : -- keywords: +patch pull_requests: +9124 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Tim, I understand. It's just my experience, I have seen a lot of new comers (in my python trainings), they just copy the examples and don't read the total explanation. sometimes, because english is not their native language and in this case, they try to

[issue34912] Update overflow checks in resize_buffer

2018-10-05 Thread Windson Yang
New submission from Windson Yang : In [resize_buffer](https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Modules/_io/stringio.c#L85) /* For simplicity, stay in the range of the signed type. Anyway, Python doesn't allow strings to be longer than this. */

[issue34893] Add 2to3 fixer to change send and recv methods of socket object.

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm sure that this would break the code which sends bytes objects and expects to receive bytes objects. s.send(struct.pack('!I', x)) q, w, e = struct.unpack('!IHQ', s.recv(4)) -- ___ Python tracker

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Tim Peters
Tim Peters added the comment: Stephane, it's not deep. People who need to write doctests that work across N versions of Python shouldn't need to read N versions of the documentation. This is hardly unique to doctest. We routinely add "Changed in version m.n" blurbs all over the place.

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Raymond, Ok, if you agree with Tim, I just created a PR. Have a nice day, -- keywords: -patch stage: patch review -> needs patch ___ Python tracker

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9123 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, set objects are still unordered, so they too require sorting for a reproducible doctest. -- ___ Python tracker ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Raymond, what do you think? I concur with Tim. -- ___ Python tracker ___ ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Terry, You say we need to keep this illustration with a section 'before 3.6' but in think it's a bad thing. 1. when you read a documentation, you just copy the example, and sometimes you don't read the requirements. 2. why do we need to keep an

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: git bisect start # bad: [1596fea0a329e1f5e4cce0135724881ca5f1d341] bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705) git bisect bad 1596fea0a329e1f5e4cce0135724881ca5f1d341 # good: [84b0129b5e0a0e22aad22ae8db2e3833a228aa57]

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Ethan, the issue appears with your patch 0c076caaa82a9c6596e1fe1dbe6384d53f30a1a3 is the first bad commit commit 0c076caaa82a9c6596e1fe1dbe6384d53f30a1a3 Author: Ethan Furman Date: Fri Sep 21 22:26:32 2018 -0700 [3.7] bpo-29577: Enum: mixin

[issue34282] Enum._convert shadows members named _convert

2018-10-05 Thread Ethan Furman
Ethan Furman added the comment: New changeset 22e86fbbca04d251233fc07515885d2b67945094 by Ethan Furman (Miss Islington (bot)) in branch '3.6': [3.7] bpo-34282: Fix Enum._convert method shadowing members named _convert (GH-9034) (GH-9229)

[issue34840] dlopen() error with no error message from dlerror()

2018-10-05 Thread Eryk Sun
Eryk Sun added the comment: > FWIW, the method does not exist on Windows In Windows it's FreeLibrary, for which the implementation in NT calls loader and runtime library functions such as LdrUnloadDll and RtlImageNtHeaderEx. These OS functions internally use structured exception handling

[issue33729] Hashlib/blake2* missing 'data' keyword argument

2018-10-05 Thread Ned Deily
Ned Deily added the comment: What's the status of this issue for 3.7 and for 3.6? Is everyone OK with what is currently in 3.7, i.e. no revert needed or has it already been reverted elsewhere? Also, there is the open PR for 3.6. -- nosy: +ned.deily

[issue34158] Documentation of datetime '%z' format code is odd

2018-10-05 Thread Ned Deily
Ned Deily added the comment: New changeset 0991b9bb94036e0f271d223c8db7d81980c76736 by Ned Deily (Miss Islington (bot)) in branch '3.7': [3.7] bpo-34158: Documentation UTC offset update (GH-8377) (GH-9732) https://github.com/python/cpython/commit/0991b9bb94036e0f271d223c8db7d81980c76736

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Ned Deily
Ned Deily added the comment: > I just finished the fix and am currently running the tests locally. Great. Thanks! > Is it okay to have the PR directly against 3.7 instead of doing 3.8 first and > backporting? If you want but it's probably easier to do it the normal way and let the bot do

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Ethan Furman
Ethan Furman added the comment: It really is. I got a message from Michal Arbet from OpenStack about it. I just finished the fix and am currently running the tests locally. Is it okay to have the PR directly against 3.7 instead of doing 3.8 first and backporting? -- stage: test

[issue34565] Launcher does not validate major versions

2018-10-05 Thread Ned Deily
Ned Deily added the comment: New changeset 28dd737c46d50f4952c61651426c69cc43991bfa by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-34565: Change a PC/launcher.c comment to accurately describe valid major versions. (GH-9037) (GH-9065)

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Ned Deily
Ned Deily added the comment: Ethan, do you an ETA of a fix for this? 3.7.1 final is scheduled for fewer than 24 hours from now but if it's truly a release blocker I will hold for a fix and probably do a rc2 instead. -- ___ Python tracker

[issue33173] GzipFile's .seekable() returns True even if underlying buffer is not seekable

2018-10-05 Thread Cheryl Sabella
Cheryl Sabella added the comment: Allowing for non seekable files was added in issue1675951. And under that issue in msg117131, the author of the change wrote: "The patch creates another problem with is not yet fixed: The implementation of .seekable() is becoming wrong. As one can now use

[issue34856] Make the repr of lambda contain signature and body expression.

2018-10-05 Thread Guido van Rossum
Guido van Rossum added the comment: OK, if it gets truncated beyond a reasonable length I remove my objection. -- ___ Python tracker ___

[issue34856] Make the repr of lambda contain signature and body expression.

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

[issue34908] netrc parsing is overly strict

2018-10-05 Thread Ian Remmel
Change by Ian Remmel : -- title: netrc parding is overly strict -> netrc parsing is overly strict ___ Python tracker ___ ___

[issue34908] netrc parding is overly strict

2018-10-05 Thread Ian Remmel
Ian Remmel added the comment: Yea, somehow, I suspected it was because there's no formal spec :) I guess technically it's an enhancement, but given that configuration dictated by third-parties can break the environment, it does feel like a bug. For example, I can't use a python app to

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I just created a new PR where I fix typos in the Misc directory (mainly). -- ___ Python tracker ___

[issue34906] Fix typo in the documentation

2018-10-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9122 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34856] Make the repr of lambda contain signature and body expression.

2018-10-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: +0 This would help with debugging and would compensate for the lack of a docstring. FWIW, I've found the new longer repr's for regex match objects to be helpful, and this would be another step in the right direction. Terry's suggestion to truncate a

[issue34908] netrc parding is overly strict

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. There is no spec for .netrc files and the closest I can find is [0]. The error is present in master also. Could this be considered as an enhancement? [0]

[issue34911] Allow Cookies for Secure WebSockets

2018-10-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +9120 stage: -> patch review ___ Python tracker ___ ___

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Brett Cannon
Brett Cannon added the comment: So the documentation reads that way because it was originally written for strftime and has been repurposed to represent both. If the code does the right thing then adding a note that strptime supports single digits accurately would probably be a welcome pull

[issue34911] Allow Cookies for Secure WebSockets

2018-10-05 Thread Paul Bailey
New submission from Paul Bailey : http.cookiejar.DefaultCookiePolicy should support the secure websocket protocol wss. WebSockets start off as HTTP requests and then get upgraded but have a different protocol of `wss` instead of `https`. This means secure cookies are not passed through by

[issue34893] Add 2to3 fixer to change send and recv methods of socket object.

2018-10-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Please find attached the fixer I wrote. Wouldn't this break programs that had already run encode() on the input (as they were already supposed to be doing, and as they would be doing for code that runs under both Python2 and Python3)? --

[issue34910] PyObject_Print() doesn't always return -1 on error

2018-10-05 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9119 stage: -> patch review ___ Python tracker ___ ___

[issue34910] PyObject_Print() doesn't always return -1 on error

2018-10-05 Thread Zackery Spytz
New submission from Zackery Spytz : PyObject_Print() returns 0 if PyUnicode_AsEncodedString() fails. -- components: Interpreter Core messages: 327197 nosy: ZackerySpytz priority: normal severity: normal status: open title: PyObject_Print() doesn't always return -1 on error type:

[issue34158] Documentation of datetime '%z' format code is odd

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

[issue34158] Documentation of datetime '%z' format code is odd

2018-10-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 92878829c31ab2fc71c60555ce87a5f6cbc876f0 by Alexander Belopolsky (Christophe Nanteuil) in branch 'master': bpo-34158: Documentation UTC offset update (GH-8377)

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, thanks for the details and fix. -- ___ Python tracker ___ ___ Python-bugs-list

[issue34876] Python3.8 changes how decorators are traced

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems PR 9731 fixes this issue. I'll add tests later. -- ___ Python tracker ___ ___

[issue34876] Python3.8 changes how decorators are traced

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9117 stage: -> patch review ___ Python tracker ___ ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I would be happy to change this. I will submit a PR ASAP. -- nosy: +lys.nikolaou ___ Python tracker ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am posting this on core-mentorship. If you want to do this, post here and submit the PR within a day. I will do the merge is no-one else does. -- versions: +Python 3.7 ___ Python tracker

[issue34899] Possible assertion failure due to int_from_bytes_impl()

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset 1596fea0a329e1f5e4cce0135724881ca5f1d341 by Miss Islington (bot) in branch '3.7': bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)

[issue34899] Possible assertion failure due to int_from_bytes_impl()

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset 526929be39e139a7d89f4c363d79c28566f30d71 by Miss Islington (bot) in branch '3.6': bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)

[issue34870] Core dump when Python VSCode debugger is attached

2018-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks for the discussion. I'll mark this as 'easy' for a first-time contribution. -- keywords: +easy stage: -> needs patch ___ Python tracker

[issue34899] Possible assertion failure due to int_from_bytes_impl()

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

[issue34899] Possible assertion failure due to int_from_bytes_impl()

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

[issue34899] Possible assertion failure due to int_from_bytes_impl()

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7bb9cd0a6766fd3e7b3c1e8f2315304ae192b34c by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)

[issue34895] Mark optional stdlib modules in documentation

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some modules are marked 'unix-only' or 'windows-only'. The Windows installer includes all dependencies unless one asks that tcl/tk, tkinter, IDLE, (and turtle?) not be installed. I believe the situation is now similar on Mac. Please give specific

[issue34876] Python3.8 changes how decorators are traced

2018-10-05 Thread Ned Batchelder
Ned Batchelder added the comment: This is the --trace output for some stacked decorators: $ cat -n /tmp/decdec.py 1 def decorator1(f): 2 return f 3 4 def decorator2(f): 5 return f 6 7 def decorator3(f): 8 return f 9 10

[issue34884] Python loads incorrect libraries on MacOS, 2.7

2018-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Python loads incorrect libraries -> Python loads incorrect libraries on MacOS, 2.7 ___ Python tracker ___

[issue34876] Python3.8 changes how decorators are traced

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have never looked at the trace of a decorated object before. The 3.7 behavior treating the inner decorator line as the first line of the decorated function definition looks wrong to me. I actually expected the line pointer to move down to the def line,

[issue34870] Core dump when Python VSCode debugger is attached

2018-10-05 Thread Steve Dower
Steve Dower added the comment: Perhaps surprisingly, Brett is :) This is best reported at https://github.com/Microsoft/ptvsd, so I'd suggest just taking it over there. If it turns out to be a Python issue, we'll bring it back. -- nosy: +brett.cannon

[issue34856] Make the repr of lambda contain signature and body expression.

2018-10-05 Thread Guido van Rossum
Guido van Rossum added the comment: However, this is a compatibility liability. People routinely use various formatting options to truncate long strings, since experience shows those are common. But few people expect the repr() of a function/lambda object to be unwieldy. --

[issue34909] StrEnum subclasses cannot be created

2018-10-05 Thread Ethan Furman
New submission from Ethan Furman : from enum import Enum, unique class StrEnum(str, Enum): def __new__(cls, *args, **kwargs): for a in args: if not isinstance(a, str): raise TypeError("Enumeration '%s' (%s) is not" " a

[issue34856] Make the repr of lambda contain signature and body expression.

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: People write also long strings, lists, dicts, but they are not truncated. In contrary to the above types which usually are created programmically and can be very large, lambdas are written manually and rarely exceed the size of a single line. We should

[issue34870] Core dump when Python VSCode debugger is attached

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, are you responsible for VSCode and Python? -- nosy: +steve.dower, terry.reedy ___ Python tracker ___

[issue34856] Make the repr of lambda contain signature and body expression.

2018-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Make the repr of lambda containing the signature and body expression. -> Make the repr of lambda contain signature and body expression. ___ Python tracker

[issue34856] Make the repr of lambda containing the signature and body expression.

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Right. Like printing an ascii text version of the Mandelbrot set in one 20-line lambda + call expression statement. Let's truncate to, say, 40 chars. This should cover a large majority of lambda expressions. -- nosy: +terry.reedy

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: Sounds like what happened is they *fixed* the error message when you use an invalid VMname. Previously it was falling back to the default, which happened to be the one we thought we were asking for. I've asked for a more public feed of impactful changes, so

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dd0670f12b159eff5336d6011f046e1ccac495e1 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': Fix a compiler warning added in bpo-34872. (GH-9722). (GH-9726) (GH-9728)

[issue34846] Runtime failure with Failed to import site module

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless this is seen as a possible security issue, this will not be fixed in 3.5. If possible test in later versions. By 'was running for a long time without issue', do you mean 'ran many times before this run'? (As opposed to 'a long time in this run'?)

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d02490a9a9c238ed7ded1120877fdfdce16364a3 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) (GH-9727)

[issue34840] dlopen() error with no error message from dlerror()

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: FWIW, the method does not exist on Windows >>> _ctypes.dlclose(3) Traceback (most recent call last): File "", line 1, in AttributeError: module '_ctypes' has no attribute 'dlclose' -- nosy: +terry.reedy ___

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Tim Peters
Tim Peters added the comment: Add a comment along the lines you (Terry) suggested. Some people need to write doctests that run under many versions of Python, so the info is still supremely relevant to them. -- nosy: +tim.peters ___ Python

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d9212200fe8ddb55d73b8231869cfbb32635ba92 by Serhiy Storchaka in branch '3.7': [3.7] Fix a compiler warning added in bpo-34872. (GH-9722). (GH-9726) https://github.com/python/cpython/commit/d9212200fe8ddb55d73b8231869cfbb32635ba92 --

[issue34872] investigate task/future cancellation in asynciomodule.c

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

[issue34839] doctest: Change example under warnings section

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, the question is whether to delete the dict example, or qualify it with "Before 3.7 (or 3.6 for CPython)" but leave the illustration of workarounds. Raymond, what do you thing? -- nosy: +rhettinger, terry.reedy

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

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

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6bffe50f5fff8e8a40ae32c3e9c408622a15caf6 by Serhiy Storchaka in branch '3.7': Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) https://github.com/python/cpython/commit/6bffe50f5fff8e8a40ae32c3e9c408622a15caf6 --

[issue34837] Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New features only go in next version. -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___

[issue34837] Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals

2018-10-05 Thread Terry J. Reedy
New submission from Terry J. Reedy : Quoting the PR: Proposing a new kwarg in the __init__() method of multiprocessing.Pool named expect_initret. This kwarg defaults to False. When set to True, the return value of the initializer function is passed to the function we are applying (i.e. func

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: I didn't hear any public announcement, so perhaps not. I'll ask the team. -- ___ Python tracker ___

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset 467360eeb24525e330d653826f21f30f47481d08 by Miss Islington (bot) in branch '3.6': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/467360eeb24525e330d653826f21f30f47481d08 --

[issue21880] IDLE: Ability to run 3rd party code checkers

2018-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is specifically based on msg195711 of #18704. Anyone working on this should read it. Saimadhav's work was part of his Google Summer of Code (GSOC) project, which ended soon after V4 was submitted. I recorded reviews of V1 and V2 above. I don't

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9111 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread miss-islington
miss-islington added the comment: New changeset b57f800b351328a67b4a11a1864d39c6b9b8d39f by Miss Islington (bot) in branch '3.7': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/b57f800b351328a67b4a11a1864d39c6b9b8d39f -- nosy:

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3 by Serhiy Storchaka in branch 'master': Fix a compiler warning added in bpo-34872. (GH-9722) https://github.com/python/cpython/commit/addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3 --

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9110 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22232] str.splitlines splitting on non-\r\n characters

2018-10-05 Thread Neil Schemenauer
Neil Schemenauer added the comment: > Why not simply add a new parameter, to make people who want ASCII linebreaks > continue to use .splitlines() ? That could work but I think in nearly every case you don't want to use splitlines() without supplying the parameter. So, it seems like a bit

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4642d5f59828e774585e9895b538b24d71b9df8e by Serhiy Storchaka in branch 'master': Use assertEqual() instead of assertEquals(). (GH-9721) https://github.com/python/cpython/commit/4642d5f59828e774585e9895b538b24d71b9df8e --

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4642d5f59828e774585e9895b538b24d71b9df8e by Serhiy Storchaka in branch 'master': Use assertEqual() instead of assertEquals(). (GH-9721) https://github.com/python/cpython/commit/4642d5f59828e774585e9895b538b24d71b9df8e --

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: assertEquals() is deprecated, use assertEqual() instead. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the fix Steve. I am just wondering if there is a public announcement regarding this image being removed since Google couldn't get me anything. -- ___ Python tracker

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

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

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: New changeset 4313a293dae579f3406aa94508ff3803a79b0344 by Steve Dower in branch 'master': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/4313a293dae579f3406aa94508ff3803a79b0344 --

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

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

[issue34872] investigate task/future cancellation in asynciomodule.c

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9107 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9106 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9105 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34908] netrc parding is overly strict

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

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

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

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-05 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- keywords: +patch pull_requests: +9103 stage: -> patch review ___ Python tracker ___ ___

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
Mike Gleen added the comment: Sorry for the omission. This refers to datetime.datetime.strptime. The documentation I referenced is: https://docs.python.org/3/library/datetime.html; I did not test 2.7. -- ___ Python tracker

[issue34908] netrc parding is overly strict

2018-10-05 Thread Ian Remmel
New submission from Ian Remmel : This started as a bug report for httpie https://github.com/jakubroztocil/httpie/issues/717#issuecomment-426125261 And became a bug report for requests https://github.com/requests/requests/issues/4813 > But turned out to be an issue with Python's netrc

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

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

  1   2   >