[issue28272] a redundant check in maybe_small_long

2017-03-03 Thread Mark Dickinson
Mark Dickinson added the comment: Without a demonstrable performance improvement, I'm opposed to making this change. Closing. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread Martin Panter
Martin Panter added the comment: See also Issue 26264 about the “keyword” module -- nosy: +martin.panter ___ Python tracker ___ ___ Py

[issue29708] support reproducible Python builds

2017-03-03 Thread Bernhard M. Wiedemann
New submission from Bernhard M. Wiedemann: See https://reproducible-builds.org/ and https://reproducible-builds.org/docs/buy-in/ for why this is a good thing to have in general. Fedora, openSUSE and possibly other Linux distributions package .pyc files as part of their binary rpm packages and

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Stefan Pochmann
New submission from Stefan Pochmann: The notes at https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not say that `or` "only evaluates the second argument if the first one is False" and that `and` "only evaluates the second argument if the first one is True". Should say

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue29649] struct.pack_into check boundary error message didn't respect offset

2017-03-03 Thread Andrew Nester
Andrew Nester added the comment: Thanks! Just added PR fixing this. -- nosy: +andrewnester ___ Python tracker ___ ___ Python-bugs-list

[issue29649] struct.pack_into check boundary error message didn't respect offset

2017-03-03 Thread Andrew Nester
Changes by Andrew Nester : -- pull_requests: +354 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29708] support reproducible Python builds

2017-03-03 Thread Eric V. Smith
Eric V. Smith added the comment: -- Eric. > On Mar 3, 2017, at 6:36 AM, Bernhard M. Wiedemann > wrote: > > > New submission from Bernhard M. Wiedemann: > > See https://reproducible-builds.org/ and > https://reproducible-builds.org/docs/buy-in/ for why this is a good thing to > have in gen

[issue29636] Specifying indent in the json.tool command

2017-03-03 Thread Serhiy Int
Changes by Serhiy Int : -- pull_requests: +355 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue29649] struct.pack_into check boundary error message didn't respect offset

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure the new error message is better. It is not known what is wrong -- the size of the buffer, or the offset? I think that the better error message should include three numbers: the offset, the size of the destination buffer, and the size of packed d

[issue29649] struct.pack_into check boundary error message didn't respect offset

2017-03-03 Thread Andrew Nester
Andrew Nester added the comment: yeah, I also thought about this too. Something like 'pack_into requires a buffer of at least 6 bytes (size is 1, offset is 5)' -- ___ Python tracker ___

[issue29649] struct.pack_into check boundary error message didn't respect offset

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Or "pack_into requires a buffer of at least 6 bytes for packing 1 bytes at offset 5". -- ___ Python tracker ___ _

[issue29649] struct.pack_into check boundary error message didn't respect offset

2017-03-03 Thread Andrew Nester
Andrew Nester added the comment: thanks Serhiy! just implemented your variant in my PR. -- ___ Python tracker ___ ___ Python-bugs-list

[issue16355] inspect.getcomments() does not work in the interactive shell

2017-03-03 Thread Marco Buttu
Changes by Marco Buttu : -- pull_requests: +356 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue29708] support reproducible Python builds

2017-03-03 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue29708] support reproducible Python builds

2017-03-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Shouldn't this at least also cover Python 3.7? And should it be officially backported? I would think that if https://github.com/python/cpython/pull/296 gets accepted for 3.7, then distros that care can cherry pick it back into whatever versions they still s

[issue16355] inspect.getcomments() does not work in the interactive shell

2017-03-03 Thread Berker Peksag
Berker Peksag added the comment: I think David's comment about tests was for the second patch. Looking at msg199395 and msg199397, my understanding is that tests are still needed. -- nosy: +berker.peksag versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.3, Python 3.4

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-03-03 Thread Nick Coghlan
New submission from Nick Coghlan: The docs on bitwise operations at https://docs.python.org/3/library/stdtypes.html#bitwise-operations-on-integer-types include the caveated sentence: Negative numbers are treated as their 2’s complement value (this assumes that there are enough bits so tha

[issue29702] Error 0x80070003: Failed to launch elevated child process

2017-03-03 Thread Armen Levonian
Armen Levonian added the comment: Hi Eryk, I did think of that as well so I actually navigated to that temp folder (from the log) which the installer created (every time it runs, it creates a new temp folder and places the executable there) and executed that directly and got exactly the same l

[issue16355] inspect.getcomments() does not work in the interactive shell

2017-03-03 Thread R. David Murray
R. David Murray added the comment: Correct. Tests are good, it's the fix I was rejecting. -- ___ Python tracker ___ ___ Python-bugs-l

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-03-03 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi, I'm working on this issue. -- nosy: +CuriousLearner ___ Python tracker ___ ___ Python-bugs-list

[issue29711] When you use stop_serving in proactor loop it's kill all listening servers

2017-03-03 Thread Julien Duponchelle
Julien Duponchelle added the comment: I will provide a patch for this -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue29711] When you use stop_serving in proactor loop it's kill all listening servers

2017-03-03 Thread Julien Duponchelle
New submission from Julien Duponchelle: If you stop a server when you use the proactor loop all other servers will be killed. -- components: asyncio messages: 288894 nosy: gvanrossum, noplay, yselivanov priority: normal severity: normal status: open title: When you use stop_serving in p

[issue29711] When you use stop_serving in proactor loop it's kill all listening servers

2017-03-03 Thread Julien Duponchelle
Changes by Julien Duponchelle : -- pull_requests: +357 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue28909] Adding LTTng-UST tracing support

2017-03-03 Thread Francis Deslauriers
Francis Deslauriers added the comment: > What about `PyProbe`? Given the multitude of tools and techniques in this > space, wouldn't it be worthwhile to clarify things before adding this? I > think conflating `dtrace` and `lttng` would only lead to more confusion for > users as they really are

[issue28909] Adding LTTng-UST tracing support

2017-03-03 Thread Francis Deslauriers
Francis Deslauriers added the comment: Here is the documentation patch. -- Added file: http://bugs.python.org/file46695/0003-Documentation-of-LTTng-UST-tracing-instrumentation.patch ___ Python tracker

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-03-03 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue29402] Problem with Checkbutton and duplicate last name components

2017-03-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29712] --enable-optimizations does not work with --enbale-shared

2017-03-03 Thread Lai, Yian
New submission from Lai, Yian: I want to altinstall 3.6 with LTO+PGO optimizations, so: ./configure --enable-shared --enable-optimizations --prefix=$HOME/.local LDFLAGS=-Wl,-rpath=$HOME/.local/lib make (./configure arguments refer to issue #27685) But I get in trouble when running compiled py

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-03-03 Thread Mark Dickinson
Mark Dickinson added the comment: > This sentence isn't correct now that integers are always arbitrary length. It's not really clear what that line in the docs means for Python 2, either: if values x and y both fit in an int, then so do ~x, x|y and x&y. We already assume in the Python source t

[issue29713] String changes whether or not '\x81' is present

2017-03-03 Thread dagnam
New submission from dagnam: print '\xa3\xb5\xdd\xf7\xa9\xa7\xab\xd8\xef\xc7\xac\xf4\xfb\xb7' #gives £µÝ÷©§«ØïǬôû· print '\xa3\xb5\xdd\xf7\xa9\xa7\xab\xd8\xef\xc7\xac\xf4\xfb\xb7\x81' #gives ᆪᄉÝ÷ᄅᄃᆱØïǬôûᄋチ print '\x81\xa3'print '\xa3' チᆪ £ -- messages: 288

[issue29712] --enable-optimizations does not work with --enable-shared

2017-03-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: --enable-optimizations does not work with --enbale-shared -> --enable-optimizations does not work with --enable-shared ___ Python tracker ___

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-03-03 Thread Mark Dickinson
Mark Dickinson added the comment: > It's not really clear what that line in the docs means for Python 2, either Ah, I guess it still kinda sorta applies for the left-shift operator, though even then, Python has promoted the result to long for many versions now. So the only "overflow" that's re

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
David E. Franco G. added the comment: >I presume you would like 'async' and 'await' highlighted as keywords. Yes. Some others tools like IPython and the Spider IDE that come with the Anaconda package already highlighted them as keywords, even if you can use them as normal variables. >The tes

[issue29713] String changes whether or not '\x81' is present

2017-03-03 Thread R. David Murray
R. David Murray added the comment: It works fine for me. If I write the data to a file (using print) and look at it with vi, I see your expected string with <81> on the end. It also works fine in my console (which otherwise produces mostly unknown character glyphs; I'm using a utf8 locale) i

[issue29623] configparser.ConfigParser.read() does not accept Pathlib path as a single argument.

2017-03-03 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +358 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29026] time.time() documentation should mention UTC timezone

2017-03-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Hi, does this need backport to 2.7? I'm getting a lot of conflicts while trying to do that... Not sure how to proceed. -- nosy: +Mariatta ___ Python tracker _

[issue29636] Specifying indent in the json.tool command

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The discussion is scattered between different tracker issues and pull requests. Let continue it in one place. I don't think we should add too much options for controlling any little detail. json.tools is just small utility purposed mainly for debugging. If y

[issue29657] os.symlink: FileExistsError shows wrong message

2017-03-03 Thread Andrew Nester
Andrew Nester added the comment: I've been investigating this issue and did not come up with some easy solution. So the problem is: os_symlink uses `path_error2` to throw exception. the order of file arguments now is src then dest. For provided example src is `a` and dest is `sym_link`. As a re

[issue29696] Use namedtuple in string.Formatter.parse iterator response

2017-03-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would also rather see string.py left light weight. It would be better to change the upstream C code to use structseq. -- ___ Python tracker _

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mariatta, would you like to fix this one (False -> false and True -> true). -- assignee: docs@python -> Mariatta nosy: +Mariatta, rhettinger ___ Python tracker _

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +359 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks, Raymond. I made the PR :) I can backport to 2.7, 3.5, and 3.6 once it's accepted. -- ___ Python tracker ___ ___

[issue29623] configparser.ConfigParser.read() does not accept Pathlib path as a single argument.

2017-03-03 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue29702] Error 0x80070003: Failed to launch elevated child process

2017-03-03 Thread Eryk Sun
Eryk Sun added the comment: When run directly from the temp directory path that's reported in the log, does the new log say that the installer is trying to run python-3.5.3-amd64.exe from that same path, or is it trying to run it from a new directory? -- __

[issue28261] wrong error messages when using PyArg_ParseTuple to parse normal tuples

2017-03-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: -0 The new code looks awful, and in the case of the itertools module, these are messages that users are unlikely to see (the methods are typically only called by pickle, and pickling itself is rare for itertools). -- nosy: +rhettinger _

[issue26187] sqlite3 trace callback prints duplicate line

2017-03-03 Thread Anish Shah
Anish Shah added the comment: I can work on this. -- nosy: +anish.shah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue29711] When you use stop_serving in proactor loop it's kill all listening servers

2017-03-03 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29714] can't interpolate byte string with \x00 before replacement identifier

2017-03-03 Thread Nick Huber
New submission from Nick Huber: Python 3.6.0 (default, Mar 3 2017, 00:15:36) [GCC 4.9.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> b'a\x00%i' % 1 Traceback (most recent call last): File "", line 1, in TypeError: not all arguments converted during byt

[issue29697] Wrong ECDH configuration with OpenSSL 1.1

2017-03-03 Thread Ned Deily
Ned Deily added the comment: Since the PRs have been merged, can this issue be closed now? -- nosy: +dstufft, ned.deily ___ Python tracker ___ ___

[issue29703] Fix asyncio to support instantiation of new event loops in subprocesses

2017-03-03 Thread Ned Deily
Ned Deily added the comment: With the PRs merged, can this issue be closed now? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29714] can't interpolate byte string with \x00 before replacement identifier

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could this be due to using _PyBytesWriter? -- keywords: +3.6regression nosy: +haypo, serhiy.storchaka stage: -> needs patch type: -> behavior versions: +Python 3.7 ___ Python tracker

[issue28261] wrong error messages when using PyArg_ParseTuple to parse normal tuples

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would it look less awful if remove "xx.__setstate__: "? -- ___ Python tracker ___ ___ Python-b

[issue29636] Specifying indent in the json.tool command

2017-03-03 Thread Daniel Himmelstein
Daniel Himmelstein added the comment: To recap the discussion from https://git.io/vyCY8: there are three potential mutually exclusive command line options that have been suggested. There are as follows. ```python import json obj = [1, 2] print('--indent=4') print(json.dumps(obj, indent=4)) p

[issue29697] Wrong ECDH configuration with OpenSSL 1.1

2017-03-03 Thread Donald Stufft
Changes by Donald Stufft : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue29703] Fix asyncio to support instantiation of new event loops in subprocesses

2017-03-03 Thread Yury Selivanov
Yury Selivanov added the comment: Yes, closing the issue. Thanks, Ned! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue26187] sqlite3 trace callback prints duplicate line

2017-03-03 Thread Anish Shah
Changes by Anish Shah : -- pull_requests: +360 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: David, the easiest thing to do would be to copy and paste the following + ['async', 'await'] into this line of colorizer.py (ColorDelegator.py in 3.5) kw = r"\b" + any("KEYWORD", keyword.kwlist) + r"\b" about line 17, to get kw = r"\b" + any("KEYWORD", k

[issue29471] AST: add an attribute to FunctionDef to distinguish functions from generators and coroutines

2017-03-03 Thread Rishav Kumar
Rishav Kumar added the comment: I'd like to work on this issue. -- nosy: +aptrishu ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29116] Make str and bytes error messages on concatenation conform with other sequences

2017-03-03 Thread Ned Deily
Ned Deily added the comment: I'm removing myself as assignee as this doesn't seem to need a 3.6 RM decision at this point. If necessary, we can discuss a 3.6 backport after the issue has been resolved for 3.7. -- assignee: ned.deily -> ___ Python

[issue29076] Mac installer shell updater script silently fails if default shell is fish

2017-03-03 Thread Ned Deily
Changes by Ned Deily : -- stage: -> needs patch title: Py 3.6 Mac installer doesn't update "python3" shell command -> Mac installer shell updater script silently fails if default shell is fish versions: +Python 2.7, Python 3.7 ___ Python tracker

[issue29688] Document Path.absolute

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: As brought up on the PR, it turns out Path.absolute() is extremely under-tested. Perhaps we should deprecate Path.absolute() instead of document it and properly test it (and the testing will be necessary to move forward with the documentation)? Path.resolve() ha

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Ned Deily
Ned Deily added the comment: Steve, Zach: can we get this in for 3.6.1? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Zachary Ware
Zachary Ware added the comment: Yes*. -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue29455] Mention coverage.py in trace module documentation

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +361 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29402] Problem with Checkbutton and duplicate last name components

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a sample patch that makes implicit variables for checkbuttons unique. This is one of ways to solve this issue. But I'm not sure that this issue needs to be solved at all. In real applications Checkbutton() is called with the variable argument, otherw

[issue29455] Mention coverage.py in trace module documentation

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the PR, Marco! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue29702] Error 0x80070003: Failed to launch elevated child process

2017-03-03 Thread Armen Levonian
Armen Levonian added the comment: If I close the failure to run dialog, the temp directory is also destroyed, thus getting rid of the temp executable, however, while the fail dialog is up and I travel to where it says it fails to run the executable, it then yet creates another temp guid direct

[issue29715] Arparse improperly handles "-_"

2017-03-03 Thread Max Rothman
New submission from Max Rothman: In the case detailed below, argparse.ArgumentParser improperly parses the argument string "-_": ``` import argparse parser = argparse.ArgumentParser() parser.add_argument('first') print(parser.parse_args(['-_'])) ``` Expected behavior: prints Namespace(first='-

[issue29645] webbrowser module import has heavy side effects

2017-03-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This will help IDLE startup (though webbrowser should not be imported on windows, where os.startfile is used instead). This is a somewhat separate issue, but should the Windows code be modified for Win10 and Microsoft Edge? -- nosy: +terry.reedy

[issue29688] Document Path.absolute

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: I've closed the PR on GitHub until we decide whether we just want to deprecate Path.absolute() in favour of Path.resolve(). -- ___ Python tracker ___

[issue29649] struct.pack_into check boundary error message ignores offset

2017-03-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review title: struct.pack_into check boundary error message didn't respect offset -> struct.pack_into check boundary error message ignores offset type: -> enhancement ___ Python tracker

[issue29688] Document Path.absolute

2017-03-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue29651] Inconsistent/undocumented urlsplit/urlparse behavior on invalid inputs

2017-03-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +orsenthil stage: -> needs patch versions: -Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___ _

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +362 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +363 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +364 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29656] Change "make patchcheck" to be branch aware

2017-03-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29716] Python 3 Module doc still sounds like __init__.py is required

2017-03-03 Thread James O
New submission from James O: PEP 420 says "Allowing implicit namespace packages means that the requirement to provide an __init__.py file can be dropped completely..." (as described here: http://stackoverflow.com/questions/37139786/is-init-py-not-required-for-packages-in-python-3) The documen

[issue29471] AST: add an attribute to FunctionDef to distinguish functions from generators and coroutines

2017-03-03 Thread Yury Selivanov
Yury Selivanov added the comment: I'm not sure we need this feature TBH. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue29657] os.symlink: FileExistsError shows wrong message

2017-03-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue29709] Short-circuiting not only on False and True

2017-03-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Committed and backported to 2.7, 3.5, and 3.6. Thanks all :) -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +365 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
David E. Franco G. added the comment: Ok, Done. that work in both 3.5 and 3.6 I also did the python -m idlelib.ColorDelegator and python -m idlelib.colorizer and they turn ok I also open those modules in their respective idle and run them, ColorDelegator work ok but colorizer thr

[issue29657] os.symlink: FileExistsError shows wrong message

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current error message looks good to me. What is wrong with it? -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue29659] Expose the `length` arg from shutil.copyfileobj for public use

2017-03-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy stage: -> test needed type: -> enhancement ___ Python tracker ___ ___ Python-bugs-

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +366 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +367 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29670] argparse: does not respect required args pre-populated into namespace

2017-03-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you test on 3.6? This might have been fixed and not back-ported. -- nosy: +bethard, terry.reedy ___ Python tracker ___

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +368 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +369 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +370 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-03 Thread Zachary Ware
Zachary Ware added the comment: Done on Windows except for PR444 for 2.7, which is waiting on Travis. -- assignee: -> ned.deily ___ Python tracker ___ __

[issue29715] Arparse improperly handles "-_"

2017-03-03 Thread R. David Murray
R. David Murray added the comment: Have you tried '-' plus any other character? argparse treats '-' and '--' specially, and this is a known issue. -- nosy: +r.david.murray ___ Python tracker _

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: If 'import test' fails that way, then there is a problem either with Anaconda or your installation. You might try deleting .../Lib/test/__pycache__/__init__*.pyc. -- ___ Python tracker

[issue29717] `loop.add_reader` and `<

2017-03-03 Thread Vahid Mardani
New submission from Vahid Mardani: Assume this simple script for reading from stdin: ```python #! /usr/bin/env python3 import sys import os import asyncio async def main(loop): done = False fileno = sys.stdin.fileno() def _reader(): nonlocal done chunk = os.read(f

[issue29454] Shutting down consumer on a remote queue

2017-03-03 Thread Rishav Kumar
Rishav Kumar added the comment: I'd like to work on this issue. -- nosy: +aptrishu ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: Thanks to Ivan for the PRs! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue29654] SimpleHTTPRequestHandler should support browser cache

2017-03-03 Thread Glenn Linderman
Changes by Glenn Linderman : -- nosy: +v+python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

  1   2   >