[issue23114] dist must be a Distribution instance check fails with setuptools

2014-12-26 Thread Stefan Behnel
New submission from Stefan Behnel: distutils uses this code to validate the input in Command.__init__(): # late import because of mutual dependence between these classes from distutils.dist import Distribution if not isinstance(dist, Distribution): raise

[issue23112] SimpleHTTPServer/http.server adds trailing slash after query string

2014-12-26 Thread Kevin J Pallan
Changes by Kevin J Pallan kevinjpal...@gmail.com: -- nosy: +artifex93 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23112 ___ ___ Python-bugs-list

[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7

2014-12-26 Thread Alex Gaynor
New submission from Alex Gaynor: This makes the urandom codebase easier to maintain by allowing porting patches between 2.7 and 3.x easier; it also improves support for the OpenBSD platform. Support for porting patches is not just a theoretical concern, it's likely that Linux's getrandom()

[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7

2014-12-26 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: Added file: http://bugs.python.org/file37543/issue23115.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23115 ___

[issue23112] SimpleHTTPServer/http.server adds trailing slash after query string

2014-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset b058a904c630 by Benjamin Peterson in branch '2.7': fix behavior of trailing slash redirection when a query string is involved (closes #23112) https://hg.python.org/cpython/rev/b058a904c630 New changeset 3d19f419cc44 by Benjamin Peterson in branch

[issue22585] os.urandom() should use getentropy() of OpenBSD 5.6

2014-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset f11f84902713 by Victor Stinner in branch '3.4': Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), https://hg.python.org/cpython/rev/f11f84902713 -- ___ Python tracker

[issue23115] Backport #22585 -- getentropy for urandom to Python 2.7

2014-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9cd2641765dc by Benjamin Peterson in branch '2.7': use getentropy when available (backport of 75ede5bec8db) (closes #23115) https://hg.python.org/cpython/rev/9cd2641765dc -- nosy: +python-dev resolution: - fixed stage: - resolved status:

[issue23102] distutils: tip-toe around quirks owing to setuptools monkey-patching Extension

2014-12-26 Thread Éric Araujo
Éric Araujo added the comment: IMO this would be best fixed in setuptools, but it may not be possible. -- versions: -Python 3.2, Python 3.3, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23102

[issue23114] dist must be a Distribution instance check fails with setuptools

2014-12-26 Thread Éric Araujo
Éric Araujo added the comment: Can this ticket be merged into #23102 ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23114 ___ ___

[issue23109] French quotes in the documentation are often ungrammatical

2014-12-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Heh, I never claimed I understood French, but none of our French speakers decided to review my fake-french examples :) I just thought they looked funny :-) -- ___ Python tracker rep...@bugs.python.org

[issue23107] Tighten-up search loops in sets

2014-12-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: Added file: http://bugs.python.org/file37544/tight_insert.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23107 ___

[issue23114] dist must be a Distribution instance check fails with setuptools

2014-12-26 Thread Stefan Behnel
Stefan Behnel added the comment: Yes, pretty much the same problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23114 ___ ___

[issue23114] dist must be a Distribution instance check fails with setuptools

2014-12-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: - resolved status: open - closed superseder: - distutils: tip-toe around quirks owing to setuptools monkey-patching Extension ___ Python tracker rep...@bugs.python.org

[issue23102] distutils: tip-toe around quirks owing to setuptools monkey-patching Extension

2014-12-26 Thread Stefan Behnel
Stefan Behnel added the comment: The same applies to the error dist must be a Distribution instance in cmd.py. See issue 23114. -- nosy: +scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23102

[issue23102] distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution

2014-12-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: distutils: tip-toe around quirks owing to setuptools monkey-patching Extension - distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution ___ Python tracker

[issue23116] Python Tutorial 4.7.1: Improve ask_ok() to cover more input values

2014-12-26 Thread Amy
New submission from Amy: https://docs.python.org/3/tutorial/controlflow.html#default-argument-values def ask_ok(prompt, retries=4, complaint='Yes or no, please!'): while True: ok = input(prompt) Suggestion: change to ok = input(prompt).lower() in order to cover values with

[issue22758] Regression in Python 3.2 cookie parsing

2014-12-26 Thread Mike Gilbert
Changes by Mike Gilbert floppymas...@gmail.com: -- nosy: +floppymaster ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22758 ___ ___

[issue23107] Tighten-up search loops in sets

2014-12-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patches are orthogonal, right? Both patches look ok to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23107 ___

[issue22926] asyncio: raise an exception when called from the wrong thread

2014-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e8ac4173b3c by Victor Stinner in branch '3.4': Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of https://hg.python.org/cpython/rev/4e8ac4173b3c -- nosy: +python-dev ___

[issue22926] asyncio: raise an exception when called from the wrong thread

2014-12-26 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the review. I commited my change in Tulip, Python 3.4 3.5. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22926

[issue23111] ftplib.FTP_TLS's default constructor does not work with TLSv1.1 or TLSv1.2

2014-12-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: The only way to establish a successful connection is to pass a custom SSL context to the constructor. Why don't you do just that? -- nosy: +giampaolo.rodola, pitrou versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3, Python 3.4

[issue23103] ipaddress should be Flyweight

2014-12-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, there are several aspects to this request: - add a __slots__: this is Serhiy's patch - add some weak interning of IP addresses: I believe it is ok to add it as an optimization, provided it doesn't otherwise change the API or the classes' behaviour Seth:

[issue23107] Tighten-up search loops in sets

2014-12-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: One more small orthogonal patch: in the presence of dummy entries, it is a bit cheaper to count filled entries than used entries. -- Added file: http://bugs.python.org/file37545/set_fill_to_used.diff ___ Python

[issue23117] Properly codesign Mac python 2.7.9.pkg so it can work thru OS X firewall

2014-12-26 Thread James Wahlman
New submission from James Wahlman: The app is not code signed properly so when using Python 2.7.9 on OS X 10.10 or any version or OS X I imagine when a user enables the built in OS X firewall and runs Python it complains about allowing the app thru the firewall. The only way to fix since it

[issue23118] Properly codesign Mac python 2.7.9.pkg so it can work thru OS X firewall

2014-12-26 Thread James Wahlman
New submission from James Wahlman: The app is not code signed properly so when using Python 2.7.9 on OS X 10.10 or any version of OS X I imagine when a user enables the built in OS X firewall and runs Python it complains about allowing the app thru the firewall. The only way to fix since it

[issue23118] Properly codesign Mac python 2.7.9.pkg so it can work thru OS X firewall

2014-12-26 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23118 ___

[issue23117] Properly codesign Mac python 2.7.9.pkg so it can work thru OS X firewall

2014-12-26 Thread SilentGhost
SilentGhost added the comment: Closed issue23118 as identical issue to this one. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23117 ___

[issue23117] Properly codesign Mac python 2.7.9.pkg so it can work thru OS X firewall

2014-12-26 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- components: +Macintosh nosy: +ned.deily, ronaldoussoren versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23117 ___

[issue23117] Properly codesign Mac python 2.7.9.pkg so it can work thru OS X firewall

2014-12-26 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - ned.deily components: +Build stage: - needs patch versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23117

[issue22269] Resolve distutils option conflicts with priorities

2014-12-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I do think this needs fixing. It's just that the patch is non-trivial and someone must take the time to review it. Also, the patch should add a unit test to avoid regressions. -- ___ Python tracker

[issue23107] Tighten-up search loops in sets

2014-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset c15f8debd6c9 by Raymond Hettinger in branch 'default': Issue #23107: Tighten-up loops in setobject.c https://hg.python.org/cpython/rev/c15f8debd6c9 -- nosy: +python-dev ___ Python tracker

[issue14776] Add SystemTap static markers

2014-12-26 Thread Nikhil Benesch
Changes by Nikhil Benesch nikhil.bene...@gmail.com: -- nosy: +benesch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14776 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2014-12-26 Thread Nikhil Benesch
Changes by Nikhil Benesch nikhil.bene...@gmail.com: -- nosy: +benesch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue21590] Systemtap and DTrace support

2014-12-26 Thread Nikhil Benesch
Nikhil Benesch added the comment: Since it looks like development on this has stalled, I took the liberty of compiling all prior patches https://github.com/benesch/python-dtrace-tracker and am actively working on merging them into one superpatch. I am neither a Python nor a DTrace