[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka type: behavior -> crash versions: +Python 3.5 ___ Python tracker

Re: Progress on the Gilectomy

2017-06-10 Thread Serhiy Storchaka
10.06.17 15:54, Steve D'Aprano пише: Larry Hastings is working on removing the GIL from CPython: https://lwn.net/Articles/723949/ For those who don't know the background: - The GIL (Global Interpreter Lock) is used to ensure that only one piece of code can update references to an object at a

[issue28180] sys.getfilesystemencoding() should default to utf-8

2017-06-10 Thread Nick Coghlan
Nick Coghlan added the comment: And merged! Thanks to all involved in the process of getting this change through to implementation :) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue30166] Import command-line parsing modules only when needed

2017-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c0ef607c52e58e94693fbedb27f2813bc3fed8fa by terryjreedy in branch '3.6': [3.6] bpo-30166: backport pyshell changes (GH 1293) (#2098) https://github.com/python/cpython/commit/c0ef607c52e58e94693fbedb27f2813bc3fed8fa --

[issue30166] Import command-line parsing modules only when needed

2017-06-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2154 ___ Python tracker ___ ___

[issue30625] Documentation is unclear how "y*" and "y#" format units vary

2017-06-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: Documentation is unclear how "y*" and "y#" formit units vary -> Documentation is unclear how "y*" and "y#" format units vary ___ Python tracker

[issue30627] Incorrect error message for a few functions called with keywod argument

2017-06-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch SylvainDe! You already opened a new ticked and old tickets are closed, so that let fix remaining issues here. This issue is related to _PyArg_NoKeywords() and _PyArg_NoStackKeywords(), so it is enough to just check all usages of these functions.

[issue30624] selectors should use bare except clauses

2017-06-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Look also at KqueueSelector.modify(). And the mentioning of SystemError in Misc/NEWS is wrong, it is a subclass of Exception. -- ___ Python tracker

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Zachary Ware added the comment: > Zach, do you want to update Python 2.7 for your latest change as well? PR 2086 is in for that, but it's a huge diff due to line endings changing. As noted on the PR, I want Benjamin to give his OK before I merge it. --

[issue28180] sys.getfilesystemencoding() should default to utf-8

2017-06-10 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 6ea4186de32d65b1f1dc1533b6312b798d300466 by Nick Coghlan in branch 'master': bpo-28180: Implementation for PEP 538 (#659) https://github.com/python/cpython/commit/6ea4186de32d65b1f1dc1533b6312b798d300466 --

[issue30624] selectors should use bare except clauses

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: I removed 3.4 from versions, since this is not a security fix. Does this need backport to 3.5 too? Or only 3.6? -- nosy: +Mariatta stage: -> backport needed versions: -Python 3.4 ___ Python tracker

[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread Nick Coghlan
Nick Coghlan added the comment: That said: given that we know it *is* fixed somewhere in 3.7, it would likely be useful to check the assumption that the startup refactoring fixed it by going to the last commit before that landed and seeing if the error still occurs. --

[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread Nick Coghlan
Nick Coghlan added the comment: I couldn't reproduce this on 3.7, but I can confirm that 3.6 gives a SystemError with the above code: $ ./python _issue30626.py Traceback (most recent call last): File "_issue30626.py", line 30, in exec("open(__file__)",dct) File "", line 1, in

[issue30628] why venv install old pip?

2017-06-10 Thread Curtis Doty
Curtis Doty added the comment: $ pip3.6 list pip (9.0.1) setuptools (32.2.0) wheel (0.29.0) $ pip3.6 install --upgrade pip setuptools wheel $ pip3.6 list pip (9.0.1) setuptools (36.0.1) wheel (0.29.0) $ python3 -m venv foo $ source foo/bin/activate (foo) $ pip list pip (9.0.1) setuptools

[issue30628] why venv install old pip?

2017-06-10 Thread Curtis Doty
New submission from Curtis Doty: I've already updated system setuptools 36.0.1 with `pip3 install --upgrade pip setuptools wheel` but when I create a new enviro with `python3 -m venv foo` it will have an old/outdated setuptools 28.8.0 from embedded ensurepip. Why? I think it should install

[issue30627] Incorrect error message for a few functions called with keywod argument

2017-06-10 Thread SylvainDe
SylvainDe added the comment: (Also, I suspect introspection could be used to know if the same bug is still lying somewhere: get all objects (using gc?), keep callables with no __code__ member only, call with keyword argument, check error.) -- ___

[issue30627] Incorrect error message for a few functions called with keywod argument

2017-06-10 Thread SylvainDe
New submission from SylvainDe: Follow-up for http://bugs.python.org/issue30600 which is itself a follow-up for http://bugs.python.org/issue30534 . Not quite sure what the process is in that situation : creating a new ticket or updating the old one ? After working on

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: Zach, do you want to update Python 2.7 for your latest change as well? -- ___ Python tracker ___

[issue30614] [EASY][2.7] testInitNonExistentFile() of test_bz2 leaks references

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: The bug should now be fixed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue28556] typing.py upgrades

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 8d15b19be667e30f8d36aefb680859bdf23866cf by Mariatta in branch '3.6': bpo-28556: Updates to typing module (GH-2076) (GH-2087) https://github.com/python/cpython/commit/8d15b19be667e30f8d36aefb680859bdf23866cf --

[issue28556] typing.py upgrades

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset ea8b34868c3a765ac9a5eed7321af8f4548a9654 by Mariatta in branch '3.5': bpo-28556: Updates to typing module (GH-2076) (GH-2088) https://github.com/python/cpython/commit/ea8b34868c3a765ac9a5eed7321af8f4548a9654 --

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Nikolay Kim
Nikolay Kim added the comment: yes, i am on it -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Yury Selivanov
Yury Selivanov added the comment: Nikolay, can you please take a look? -- ___ Python tracker ___ ___

[issue28556] typing.py upgrades

2017-06-10 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2153 ___ Python tracker ___ ___

[issue28556] typing.py upgrades

2017-06-10 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2152 ___ Python tracker ___ ___

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Arek Bulski
Arek Bulski added the comment: Thank you, I will temporarily remove the numpy unit test from the 3.7 until I get notification that it was fixed. sob., 10 cze 2017 o 22:48 użytkownik STINNER Victor napisał: > > Changes by STINNER Victor : > > >

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2151 ___ Python tracker ___ ___

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Nathaniel Smith
Nathaniel Smith added the comment: @Arek: It's great that you're testing your code against the latest 3.7 pre-release, because that helps give early warning of issues in CPython as its developed, which helps everyone. BUT, you really cannot expect to use in-development versions and expect

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Zachary Ware added the comment: New changeset afa6a389606402779c5048a7211edbf2678cecff by Zachary Ware in branch '3.5': [3.5] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2084) https://github.com/python/cpython/commit/afa6a389606402779c5048a7211edbf2678cecff --

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Zachary Ware added the comment: New changeset 964c261dc9a6a901f50d5596d88248bfc4251a55 by Zachary Ware in branch '3.6': [3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083) https://github.com/python/cpython/commit/964c261dc9a6a901f50d5596d88248bfc4251a55 --

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2150 ___ Python tracker ___ ___

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Documentation has been updated, and backported to 3.6. Thanks :) -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 865ed9ea67cf0d8a8dead91f3eac527553d92284 by Mariatta (KatherineMichel) in branch '3.6': bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085)

[issue30312] Small correction in set code sample

2017-06-10 Thread Katherine Michel
Changes by Katherine Michel : -- pull_requests: +2149 ___ Python tracker ___ ___

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2148 ___ Python tracker ___ ___

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2147 ___ Python tracker ___ ___

[issue27425] Tests fail because of git's newline preferences on Windows

2017-06-10 Thread Zachary Ware
Zachary Ware added the comment: New changeset 6b6e68776663c0dda04b6a36609297728da2ae9e by Zachary Ware in branch 'master': bpo-27425: Be more explicit in .gitattributes (GH-840) https://github.com/python/cpython/commit/6b6e68776663c0dda04b6a36609297728da2ae9e --

[issue28556] typing.py upgrades

2017-06-10 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 29fda8db16e0edab92841277fa223f844f5a92cc by Guido van Rossum (Ivan Levkivskyi) in branch 'master': bpo-28556: Updates to typing module (#2076) https://github.com/python/cpython/commit/29fda8db16e0edab92841277fa223f844f5a92cc --

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Ned Deily
Ned Deily added the comment: FTR, same behavior with master (3.7) top of trunk. -- nosy: +haypo ___ Python tracker ___

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Ned Deily
Ned Deily added the comment: Er, "For some reason that needs to be explored, using -W on regrtest causes the messages to be suppressed and the buildbots use -w by default." That should be "use -W by default". -- ___ Python tracker

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Ned Deily
Ned Deily added the comment: While testing current 3.6 top of trunk, I noticed spurious error messages being reported that were not causing the tests to fail. Investigating further, I found the culprit to be this issue's 6e14fd2a14cef6ea0709ad234ab41198c2195591. Curiously, the errors aren't

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> backport needed ___ Python tracker ___

[issue30312] Small correction in set code sample

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset ca816153445cba3baec15f7e890c71abfe495340 by Mariatta (KatherineMichel) in branch 'master': bpo-30312: Small correction in datastructures set code sample (GH-2081) https://github.com/python/cpython/commit/ca816153445cba3baec15f7e890c71abfe495340

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Arek Bulski
Arek Bulski added the comment: Oh good point, but when I submitted this on TravisCI issues they pointed me to here. And this is a highest priority bug. sob., 10 cze 2017 o 21:02 użytkownik Jelle Zijlstra napisał: > > Jelle Zijlstra added the comment: > > Sounds like

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Sounds like the issue is with numpy, not CPython, so there's little reason to keep this CPython bug open. -- ___ Python tracker

[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread ppperry
Changes by ppperry : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue30626] "SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread ppperry
Changes by ppperry : -- title: "SystemError: SystemError: returned NULL without setting an error" from open function -> "SystemError: returned NULL without setting an error" from open function ___ Python tracker

[issue30626] "SystemError: SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread ppperry
Changes by ppperry : -- nosy: +benjamin.peterson, brett.cannon, eric.snow, ncoghlan, stutzbach ___ Python tracker ___

[issue29504] blake2: compile error with -march=bdver2

2017-06-10 Thread Ned Deily
Ned Deily added the comment: What's the status of this issue? If it's not going to be fixed prior to 3.6.2rc1, I'm going to downgrade it from "release blocker" as we've already released 3.6.1 without it. -- ___ Python tracker

[issue30626] "SystemError: SystemError: returned NULL without setting an error" from open function

2017-06-10 Thread ppperry
New submission from ppperry: This code (reduced from an example I had of trying to debug code including the module-level code of already imported modules), raises a SystemError: import builtins from importlib.machinery import PathFinder from importlib.util import find_spec import importlib

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Arek Bulski
Arek Bulski added the comment: Negative, this bug causes TravisCI to fail on every commit regardless of code. Please treat this tickes as highest priority. sob., 10 cze 2017 o 20:54 użytkownik Ned Deily napisał: > > Ned Deily added the comment: > > Can we close this

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Ned Deily
Ned Deily added the comment: Can we close this issue then? -- nosy: +ned.deily ___ Python tracker ___ ___

[issue30626] "SystemError: SystemError: returned NULL without setting an error

2017-06-10 Thread ppperry
Changes by ppperry : -- nosy: ppperry priority: normal severity: normal status: open title: "SystemError: SystemError: returned NULL without setting an error ___ Python tracker

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Nathaniel Smith
Nathaniel Smith added the comment: It's because Julian thinks _PyTraceMalloc_Untrack is going to lose its underscore in 3.7, so he made numpy assume that. Numpy issue, I'll see what we can do. -- ___ Python tracker

[issue30625] Documentation is unclear how "y*" and "y#" formit units vary

2017-06-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch type: enhancement -> behavior versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue29550] Mac build-installer touch step fails after github conversion

2017-06-10 Thread Ned Deily
Ned Deily added the comment: The changes for Issue23404 removed "make touch" including from the installer build. -- priority: release blocker -> resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 'make touch' does not work with git clones of the

[issue30625] Documentation is unclear how "y*" and "y#" formit units vary

2017-06-10 Thread Gregory Szorc
New submission from Gregory Szorc: https://github.com/indygreg/python-zstandard/issues/26 is a bug report against python-zstandard that a C API using the "y#" format unit is unable to accept a memoryview instance constructed from a bytes literal. It fails with "TypeError: argument 1 must be

[issue30624] selectors should use bare except clauses

2017-06-10 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- pull_requests: +2146 ___ Python tracker ___ ___

[issue30624] selectors should use bare except clauses

2017-06-10 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Right now it uses "except Exception: ...; raise" which does not take KeyboardInterrupt and SystemExit into account, leaving the fd in a bad state (it's not unregister()ed). -- components: asyncio messages: 295648 nosy: berker.peksag,

[issue23404] 'make touch' does not work with git clones of the source repository

2017-06-10 Thread Ned Deily
Ned Deily added the comment: As Nick noted, this change needs to be properly documented for 3.6.2 and other maintenance releases. -- nosy: +benjamin.peterson, larry priority: critical -> release blocker ___ Python tracker

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: The error is /home/travis/virtualenv/python3.7-dev/lib/python3.7/site-packages/numpy/core/multiarray.cpython-37m-x86_64-linux-gnu.so: undefined symbol: PyTraceMalloc_Untrack. On a quick look I couldn't find any recent changes in CPython related to

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset c5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1 by Victor Stinner in branch 'master': bpo-30599: Fix test_threaded_import reference leak (#2029) https://github.com/python/cpython/commit/c5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1 --

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +njs ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30312] Small correction in set code sample

2017-06-10 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2145 ___ Python tracker ___

[issue30623] python-nightly import numpy fails since recently

2017-06-10 Thread Arek Bulski
New submission from Arek Bulski: About few days ago python-nightly started failing on TravisCI for no reason, and I dont think its due to my code. In fact it fails on importing numpy but fails to get into catch ImportError. This is a recent BUG. Build log:

Re: Psycopg2 pool clarification

2017-06-10 Thread israel
On 2017-06-08 19:55, Ian Kelly wrote: On Thu, Jun 8, 2017 at 10:47 AM, Israel Brewster wrote: On Jun 7, 2017, at 10:31 PM, dieter wrote: israel writes: On 2017-06-06 22:53, dieter wrote: ... As such, using psycopg2's pool

Re: Progress on the Gilectomy

2017-06-10 Thread Irmen de Jong
On 10-6-2017 14:54, Steve D'Aprano wrote: > Larry Hastings is working on removing the GIL from CPython: > > https://lwn.net/Articles/723949/ Here is Larry's "How's it going" presentation from Pycon 2017 on this subject https://www.youtube.com/watch?v=pLqv11ScGsQ -irmen --

[issue30622] Fix NPN guard for OpenSSL 1.1

2017-06-10 Thread Melvyn Sopacua
New submission from Melvyn Sopacua: Starting OpenSSL 1.1, the variable OPENSSL_NPN_NEGOTIATED is always defined. This makes the NPN detection fail. Related info: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217703 -- assignee: christian.heimes components: SSL messages: 295643

[issue28206] signal.Signals not documented

2017-06-10 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review ___ Python tracker ___ ___

[issue30621] import json before using json module in tutorial Input and Output

2017-06-10 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review type: resource usage -> versions: +Python 2.7, Python 3.5, Python 3.7 ___ Python tracker

[issue30062] datetime in Python 3.6+ no longer respects 'TZ' environment variable

2017-06-10 Thread Jakub Wilk
Jakub Wilk added the comment: This is a side-effect of fixing issue #28067. -- nosy: +jwilk ___ Python tracker ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: This has been fixed, and backported to 2.7, 3.5, and 3.6. Thanks :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 9660a7e4bbc3932846fcde0e31856b5b3908b834 by Mariatta in branch '2.7': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2067) https://github.com/python/cpython/commit/9660a7e4bbc3932846fcde0e31856b5b3908b834 --

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 656f232131e7a49800662119c7f9b8078729e697 by Mariatta in branch '3.5': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2066) https://github.com/python/cpython/commit/656f232131e7a49800662119c7f9b8078729e697 --

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 76eabd3a21dc578de6093d45dd8d69a5ec4b9afe by Mariatta in branch '3.6': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2065) https://github.com/python/cpython/commit/76eabd3a21dc578de6093d45dd8d69a5ec4b9afe --

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 1395c58ef7b98f087d1d5d50962fe7a8c032f34d by Yury Selivanov in branch '3.5': [3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2063)

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-10 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 6e14fd2a14cef6ea0709ad234ab41198c2195591 by Yury Selivanov in branch '3.6': [3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2062)

[issue30576] http.server should support HTTP compression (gzip)

2017-06-10 Thread Pierre Quentel
Changes by Pierre Quentel : -- pull_requests: +2142 ___ Python tracker ___ ___

Trac 1.0.14 Released

2017-06-10 Thread Ryan Ollos
Trac 1.0.14 Released Trac 1.0.14, the latest maintenance release for the current stable branch, is available. You will find this release at the usual places: https://trac.edgewall.org/wiki/TracDownload#PreviousStableRelease https://pypi.python.org/pypi/Trac/1.0.14 Trac

PyDev 5.8.0: Code Coverage fixes, IronPython debugging

2017-06-10 Thread Fabio Zadrozny
PyDev 5.8.0 Release Highlights - *Important* PyDev now requires Java 8 and Eclipse 4.6 (Neon) onwards. - PyDev 5.2.0 is the last release supporting Eclipse 4.5 (Mars). - *Code Analysis* - Fixed issue getting existing PyLint markers. - There's now an Info and an Ignore

pytest 3.1.2

2017-06-10 Thread Bruno Oliveira
pytest 3.1.2 has just been released to PyPI. This is a bug-fix release, being a drop-in replacement. To upgrade:: pip install --upgrade pytest The full changelog is available at http://doc.pytest.org/en/latest/changelog.html. Thanks to all who contributed to this release, among them: *

[issue30576] http.server should support HTTP compression (gzip)

2017-06-10 Thread Pierre Quentel
Pierre Quentel added the comment: The compression is done on the fly : if compression criteria are satisfied, the original content is gzipped, either in memory or on a temporary file on disk, depending on the file size. The gzipped content is not cached, but since the server now supports

Progress on the Gilectomy

2017-06-10 Thread Steve D'Aprano
Larry Hastings is working on removing the GIL from CPython: https://lwn.net/Articles/723949/ For those who don't know the background: - The GIL (Global Interpreter Lock) is used to ensure that only one piece of code can update references to an object at a time. - The downside of the GIL is

Python Language Summit: Keeping Python competitive

2017-06-10 Thread Steve D'Aprano
Python 3.7 (unstable) is now as fast as Python 2.7, but some of the core developers are hoping to improve matters, aiming for a 2 x speed improvement to keep Python competitive with other languages. https://lwn.net/Articles/723949/ -- Steve “Cheer up,” they said, “things could be worse.” So I

[issue30614] [EASY][2.7] testInitNonExistentFile() of test_bz2 leaks references

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 28288bebaf61269d1e26bb0795c2de6b481e1cf0 by Victor Stinner (Stéphane Wirtel) in branch '2.7': bpo-30614: testInitNonExistentFile() of test_bz2 leaks references (#2033)

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: Let's *see* if it fixes the issue. It will be hard to check since it seems like the bug was random. -- ___ Python tracker

[issue13312] test_time fails: strftime('%Y', y) for negative year

2017-06-10 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing

Re: httplib HTTP class for python3?

2017-06-10 Thread Mohammad Ghasemi
On Saturday, June 10, 2017 at 3:23:03 PM UTC+4:30, Thomas Jollans wrote: > On 10/06/17 11:33, Mohammad Ghasemi wrote: > > Hi. > > I want to convert a python 2 code to python 3 code and I have a problem > > with that. > > I've asked my question on stackoverflow and never received an answer. > >

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: Thanks Grzegorz Grzywacz! I commited your idea of fix. Let's if it fixes the issue. It will be hard to check since it seems like the bug was random. Later, I will backport the fix to other branches. -- ___ Python

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1b7863c3b6519c6e134c28cab8b8af0dea43e375 by Victor Stinner in branch 'master': bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) https://github.com/python/cpython/commit/1b7863c3b6519c6e134c28cab8b8af0dea43e375 --

Re: httplib HTTP class for python3?

2017-06-10 Thread Thomas Jollans
On 10/06/17 11:33, Mohammad Ghasemi wrote: > Hi. > I want to convert a python 2 code to python 3 code and I have a problem with > that. > I've asked my question on stackoverflow and never received an answer. > Where can I get an answer? > >

[issue19180] some RFC references could be updated

2017-06-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> closed ___ Python tracker ___

[issue19180] some RFC references could be updated

2017-06-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 911068e250ee2b0847ca78d9ff527e0d6bf94551 by Serhiy Storchaka in branch '3.6': [3.6] Regenerate Argument Clinic code for bpo-19180. (GH-2073). (#2077) https://github.com/python/cpython/commit/911068e250ee2b0847ca78d9ff527e0d6bf94551 --

[issue19180] some RFC references could be updated

2017-06-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2141 ___ Python tracker ___ ___

[issue19180] some RFC references could be updated

2017-06-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5f31d5cf6efa8c304d352e34f9f2a1ed0074298e by Serhiy Storchaka in branch 'master': Regenerate Argument Clinic code for bpo-19180. (#2073) https://github.com/python/cpython/commit/5f31d5cf6efa8c304d352e34f9f2a1ed0074298e --

[issue28556] typing.py upgrades

2017-06-10 Thread Ivan Levkivskyi
Changes by Ivan Levkivskyi : -- pull_requests: +2140 ___ Python tracker ___ ___

[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-10 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +brett.cannon ___ Python tracker ___ ___

[issue22898] segfault during shutdown attempting to log ResourceWarning

2017-06-10 Thread Xavier de Gaye
Xavier de Gaye added the comment: Antoine asked in PR 1981: > Did you verify the removed code here wasn't needed anymore? Just checked that crasher infinite_rec_2.py (removed by 1e534b5) does not crash with PR 1981. The other crashers listed at 1e534b5 are not valid Python 3.7 code. Does

httplib HTTP class for python3?

2017-06-10 Thread Mohammad Ghasemi
Hi. I want to convert a python 2 code to python 3 code and I have a problem with that. I've asked my question on stackoverflow and never received an answer. Where can I get an answer? https://stackoverflow.com/questions/44411439/httplib-http-class-for-python3 --

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0b7629cd846e3e160ac07cafc4e97644024f11b8 by Victor Stinner in branch '3.6': bpo-30038: fix race condition in signal delivery + wakeup fd (#1082) (#2075) https://github.com/python/cpython/commit/0b7629cd846e3e160ac07cafc4e97644024f11b8

  1   2   >