[issue29449] clear() should return prior state in threading.Event

2017-02-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29468] zipfile should catch ValueError as well as OSError to detect bad seek calls

2017-02-06 Thread Joe Jevnik
New submission from Joe Jevnik: In zipfile.py only OSError is checked to see if seek fails: ``` def _EndRecData64(fpin, offset, endrec): """ Read the ZIP64 end-of-archive records and use that to update endrec """ try: fpin.seek(offset - sizeEndCentDir64Locator, 2) exc

[issue29469] AST-level Constant folding

2017-02-06 Thread INADA Naoki
New submission from INADA Naoki: spin off of #11549. This patch uses code generator to traverse AST. -- files: ast-constant-folding.patch keywords: patch messages: 287186 nosy: inada.naoki priority: normal severity: normal status: open title: AST-level Constant folding versions: Python 3

[issue29469] AST-level Constant folding

2017-02-06 Thread INADA Naoki
Changes by INADA Naoki : -- dependencies: +Change docstring to attribute from first statement. ___ Python tracker ___ ___ Python-bugs-

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2017-02-06 Thread INADA Naoki
INADA Naoki added the comment: I submit new issues: * #29463 for AST change (change docstring from first statement to attribute). * #29469 for constant folding Note that this issue contains more peephole -> AST optimization changes. But I want to start these two patch to ease review and discuss

[issue29371] Typo in doctest documentation

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset df62e833eeb1 by Mariatta Wijaya in branch '3.5': Issue #29371: Clarify bitwise OR operation in doctest option flags. https://hg.python.org/cpython/rev/df62e833eeb1 New changeset c3d779f96b20 by Mariatta Wijaya in branch '3.6': Issue #29371: merge wi

[issue29371] Typo in doctest documentation

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3fd198b80f29 by Mariatta Wijaya in branch '2.7': Issue #29371: Clarify bitwise OR operation in doctest option flags. https://hg.python.org/cpython/rev/3fd198b80f29 -- ___ Python tracker

[issue29371] Typo in doctest documentation

2017-02-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks, Marco, Jim, and Raymond :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue26355] Emit major version based canonical URLs for docs

2017-02-06 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Thanks Nick, I can work on the similar patch for Python 2.7. I'll wait for the migration to GitHub which IIRC should be soon. Side question, is there some metrics (like google analytics) to know how much traffic there is on older Python docs and if it's

[issue29371] Typo in doctest documentation

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c36939b07c1275a6c3897a917c638b0ac48885c4 by Mariatta Wijaya in branch '3.5': Issue #29371: Clarify bitwise OR operation in doctest option flags. https://github.com/python/cpython/commit/c36939b07c1275a6c3897a917c638b0ac48885c4 -- ___

[issue29371] Typo in doctest documentation

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c36939b07c1275a6c3897a917c638b0ac48885c4 by Mariatta Wijaya in branch '3.6': Issue #29371: Clarify bitwise OR operation in doctest option flags. https://github.com/python/cpython/commit/c36939b07c1275a6c3897a917c638b0ac48885c4 New changeset 141e1c

[issue29371] Typo in doctest documentation

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c36939b07c1275a6c3897a917c638b0ac48885c4 by Mariatta Wijaya in branch 'master': Issue #29371: Clarify bitwise OR operation in doctest option flags. https://github.com/python/cpython/commit/c36939b07c1275a6c3897a917c638b0ac48885c4 New changeset 141

[issue29371] Typo in doctest documentation

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b20a37791e3cc4536db1f99fc85ffb6e20134ab by Mariatta Wijaya in branch '2.7': Issue #29371: Clarify bitwise OR operation in doctest option flags. https://github.com/python/cpython/commit/2b20a37791e3cc4536db1f99fc85ffb6e20134ab -- ___

[issue29314] asyncio.async deprecation warning is missing stacklevel=2

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f5161f865d7 by Mariatta Wijaya in branch '3.5': Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning https://hg.python.org/cpython/rev/0f5161f865d7 New changeset 6dbe9051cdec by Mariatta Wijaya in branch '3.6': Issue #2931

[issue29314] asyncio.async deprecation warning is missing stacklevel=2

2017-02-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks all :) -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue29470] Error in `/usr/bin/python': free(): invalid size: 0x00007f628400d0e0

2017-02-06 Thread David Ford (FirefighterBlu3)
New submission from David Ford (FirefighterBlu3): (Only 3.[56] tested) my application listens on an SSL wrapped port, accepts socket and gets an incoming set of messages. connection time frame is several seconds but due to bad Comcast service frequently we have outages which hang connections.

[issue29464] Specialize FASTCALL for functions with positional-only parameters

2017-02-06 Thread Stefan Behnel
Stefan Behnel added the comment: Thanks for asking. Cython doesn't use METH_FASTCALL yet, so this doesn't introduce any problems. Generally speaking, if Cython generated user code stops working with a new CPython version, we expect people to regenerate their code with the newest Cython versio

[issue29314] asyncio.async deprecation warning is missing stacklevel=2

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00c949c7c3a3eed27a0b320d320097f630eb8fc5 by Mariatta Wijaya in branch '3.6': Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning https://github.com/python/cpython/commit/00c949c7c3a3eed27a0b320d320097f630eb8fc5 New chang

[issue29314] asyncio.async deprecation warning is missing stacklevel=2

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00c949c7c3a3eed27a0b320d320097f630eb8fc5 by Mariatta Wijaya in branch 'master': Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning https://github.com/python/cpython/commit/00c949c7c3a3eed27a0b320d320097f630eb8fc5 New ch

[issue29314] asyncio.async deprecation warning is missing stacklevel=2

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00c949c7c3a3eed27a0b320d320097f630eb8fc5 by Mariatta Wijaya in branch '3.5': Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning https://github.com/python/cpython/commit/00c949c7c3a3eed27a0b320d320097f630eb8fc5

[issue26355] Emit major version based canonical URLs for docs

2017-02-06 Thread Berker Peksag
Berker Peksag added the comment: Patch looks good to me too, thanks! Just left a super minor comment on Rietveld. You might want to commit this to 3.5+ because we don't daily build 3.4 docs anymore: https://github.com/python/docsbuild-scripts/blob/master/build_docs.py#L30 I didn't see any lin

[issue29470] [python] Error in `/usr/bin/python': free(): invalid size: 0x00007f628400d0e0

2017-02-06 Thread David Ford (FirefighterBlu3)
Changes by David Ford (FirefighterBlu3) : -- title: Error in `/usr/bin/python': free(): invalid size: 0x7f628400d0e0 -> [python] Error in `/usr/bin/python': free(): invalid size: 0x7f628400d0e0 ___ Python tracker

<    1   2