[issue1225584] crash in gcmodule.c on python reinitialization

2014-03-23 Thread Nick Coghlan
Nick Coghlan added the comment: I don't actually know the internal details of the GC - adding Antoine based on the list of interested devs for the gc module. -- nosy: +pitrou ___ Python tracker _

[issue21028] ElementTree objects should support all the same methods as Element objects

2014-03-23 Thread Stefan Behnel
Stefan Behnel added the comment: catalog = xml.etree.ElementTree.parse('books.xml') # This succeeds for book in catalog.findall('book'): print(book.tag) This is a bit of a convenience break in the API. The "normal" way to do it would be either catalog.getroot().findall('book')

[issue21030] pip usable only by administrators on Windows

2014-03-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I agree with the analysis. Notice that this may sound worse than it is: even if a regular user could run pip, they still couldn't install anything. As users will have to get an elevated prompt, anyway, when running pip, they typically won't notice the problem

[issue21030] pip usable only by administrators on Windows

2014-03-23 Thread Christian Ullrich
Christian Ullrich added the comment: Unprivileged users cannot install into the global site-packages, but they might want to use the global pip to install with --user. Also, this issue affects not only pip, but also the other bundled packages, i.e. setuptools and pkg_resources. -- __

[issue21033] previous trace function still invoked after sys.settrace()

2014-03-23 Thread Xavier de Gaye
New submission from Xavier de Gaye: The following output of settrace.py shows that the Tracer trace function is still called in foo() after the New_tracer trace function has been installed with sys.settrace() from within the trace function itself, and even though f_trace has been set on all th

[issue21034] Python docs reference the Distribute package which has been deprecated in favor of Setuptools

2014-03-23 Thread Jurko Gospodnetić
New submission from Jurko Gospodnetić: In the Python documentation note: http://docs.python.org/3.4/library/venv.html#venv-def the paragraph: > Common installation tools such as Distribute and pip work > as expected with venvs - i.e. when a venv is active, they > install Python packages into

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2014-03-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I didn't get this on my previous system (which was basically a 10.4 system updated through 10.5, 10.7, ..., to 10.9), but did get it on my current system, which has a fresh 10.9 install where I did not use the migration assistent to migrate settings. Thus fo

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2014-03-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: With the following C code: #include #include int main(void) { char* res = setlocale(LC_CTYPE, "UTF-8"); printf("Result: %s\n", res); res = setlocale(LC_CTYPE, "UTF-9"); printf("Result: %s\n", res); return 0; } /* EOF

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: According to the manual page, there is no guarantee that missing user and error give a different result. Extracts of the manual page. """ Return Value The getpwnam() and getpwuid() functions return a pointer to a passwd structure, or NULL if the matching entr

[issue8449] buildbot: test_dbm and test_dbm_ndbm failures on ia64 Ubuntu 3.1

2014-03-23 Thread STINNER Victor
Changes by STINNER Victor : -- status: languishing -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue15893] Py_FrozenMain() resource leak and missing malloc checks

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: > Victor, is here anything left to do? The bug is correctly fixed in default. I don't really care of fixing such warning of static analyzer in older Python versions. It's more a theorical bug, it's a small memory leak and only occur if another error occurs. I

[issue15859] PyUnicode_EncodeFSDefault win32 inconsistancy.

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: It's not really a bug, Python behaves badly when you pass invalid parameters. Campbell was asked to update his patch but he didn't 2 years later. So I just close the issue. Reopen a new issue with an updated patch if you want a nice exception message instead o

[issue20815] ipaddress unit tests PEP8

2014-03-23 Thread Michel Albert
Michel Albert added the comment: It seems the contributor agreement form has been processed. As I understand it, the asterisk on my name confirms this. I also verified that this patch cleanly applies to the most recent revision. -- ___ Python tracke

[issue20825] containment test for "ip_network in ip_network"

2014-03-23 Thread Michel Albert
Michel Albert added the comment: Hi again, The contribution agreement has been processed, and the patch still cleanly applies to the latest revision of branch `default`. -- ___ Python tracker

[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 619331c67638 by Richard Oudkerk in branch '3.4': Issue #20990: Fix issues found by pyflakes for multiprocessing. http://hg.python.org/cpython/rev/619331c67638 -- nosy: +python-dev ___ Python tracker

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2014-03-23 Thread R. David Murray
R. David Murray added the comment: That is seriously broken on Apple's part. But I guess we have no choice but to emulate their bug. -- ___ Python tracker ___ _

[issue20826] Faster implementation to collapse consecutive ip-networks

2014-03-23 Thread Michel Albert
Michel Albert added the comment: Sorry for the late reply. I wanted to take some time and give a more detailed explanation. At least to the best of my abilities :) I attached a zip-file with my quick-and-dirty test-rig. The zip contains: * gendata.py -- The script I used to generate test-data

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I read that first paragraph as the controlling one, and that says that errno will be zero if the problem was that the entry could not be found, and non-zero if some other error occurred. Raising an error would be a backward incompatible change, so it could on

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2014-03-23 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker ___ ___ P

[issue21030] pip usable only by administrators on Windows

2014-03-23 Thread Nick Coghlan
Nick Coghlan added the comment: The current approach is also likely to cause problems under SELinux. -- ___ Python tracker ___ ___ Pyt

[issue21030] pip usable only by administrators on Windows

2014-03-23 Thread Nick Coghlan
Nick Coghlan added the comment: Solution 1 will also handle the SELinux case (copy and then delete original). -- ___ Python tracker ___ __

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Intuitively: no TCP ports available left? Have you tried connecting from another client when the hang happens? Have you tried tracing what happens in the server? (is the incoming connection accepted?) -- nosy: +ned.deily, pitrou ___

[issue21036] typo in hashtable API: _PY_HASHTABLE_ENTRY_DATA -> _Py_HASHTABLE_ENTRY_DATA

2014-03-23 Thread Charles-François Natali
New submission from Charles-François Natali: The title says it all: in Modules/hashtable.c, the macro name is _PY_HASHTABLE_ENTRY_DATA instead of _Py_HASHTABLE_ENTRY_DATA. Should this be fixed in 3.4? -- components: Extension Modules messages: 214570 nosy: haypo, neologix priority: nor

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset df6a6951b2c9 by Richard Oudkerk in branch '3.4': Issue #20980: Stop wrapping exception when using ThreadPool. http://hg.python.org/cpython/rev/df6a6951b2c9 -- nosy: +python-dev ___ Python tracker

[issue20825] containment test for "ip_network in ip_network"

2014-03-23 Thread R. David Murray
R. David Murray added the comment: The patch needs .. versionadded:: 3.5 tags for the two new methods, and adding it to the skeleton whatsnew would be a good idea. The committer can do these, but if you feel like updating the patch that would be great. --

[issue20633] SystemError: Parent module 'multiprocessing' not loaded, cannot perform relative import

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b2814fc53ae by Richard Oudkerk in branch '3.3': Issue #20633: Replace relative import by absolute import. http://hg.python.org/cpython/rev/0b2814fc53ae -- nosy: +python-dev ___ Python tracker

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: The current code doesn't check errno, but if the result is NULL. NULL is returned if the user doesn't exist, or if an error occurred. But it looks like errno is not always 0 when the user doesn't exist. -- ___ Python

[issue20935] Support building Python with Clang sanitizer rules

2014-03-23 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to write a test? Le dimanche 23 mars 2014, Roundup Robot a écrit : > > Roundup Robot added the comment: > > New changeset 619331c67638 by Richard Oudkerk in branch '3.4': > Issue #20990: Fix issues found by pyflakes for multiprocessing. >

[issue20953] heap-buffer-overflow in obmalloc.c:987

2014-03-23 Thread Charles-François Natali
Charles-François Natali added the comment: It's a duplicate of issue #18596, which has already been fixed. Jeffrey, when you report an issue, please check with the latest version. Thanks! -- nosy: +neologix resolution: -> duplicate stage: -> committed/rejected status: open -> closed

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I made some review comments. There is one bug with your patch (you dropped some argument descriptions in one place.) -- resolution: fixed -> stage: committed/rejected -> needs patch status: closed -> open ___ Pyth

[issue21037] add an AddressSanitizer build option

2014-03-23 Thread Charles-François Natali
New submission from Charles-François Natali: Adding a compile option to build with ASAN (https://code.google.com/p/address-sanitizer) could allow us to catch many memory-related errors (stack/buffer overflows, etc). Of course, the second step would be to setup buildbots to use this flag.

[issue21037] add an AddressSanitizer build option

2014-03-23 Thread Charles-François Natali
Charles-François Natali added the comment: Note that ASAN will interfere with the faulthandler's module (since it sets up its own signal handlers), so if we were to incorporate it into the test suite, that's something we should look after. -- ___ Py

[issue21038] test_epoll.TestEPoll.test_control_and_wait: remove extra assertion

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21038] test_epoll.TestEPoll.test_control_and_wait: remove extra assertion

2014-03-23 Thread Andreas Schwab
New submission from Andreas Schwab: The extra assertion doesn't check something new and can result in spurious testsuite failures due to the stricter condition. -- components: Tests files: 0001-test_epoll.TestEPoll.test_control_and_wait-remove-ex.patch keywords: patch messages: 214580 n

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
New submission from Hristo Venev: Some programs' behavior is different depending on whether the path has a trailing slash or not. Examples include ls, cp, mv, ln, rm and rsync. URL paths may also behave differently. For example http://xkcd.com/1 redirects to http://xkcd.com/1/ Boost.Filesyste

[issue7503] multiprocessing AuthenticationError "digest sent was rejected" when pickling proxy

2014-03-23 Thread Richard Oudkerk
Richard Oudkerk added the comment: For reasons we all know unpickling unauthenticated data received over TCP is very risky. Sending an unencrypted authentication key (as part of a pickle) over TCP would make the authentication useless. When a proxy is pickled the authkey is deliberately dropp

[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2014-03-23 Thread Geoffrey Spear
Geoffrey Spear added the comment: This test still fails in Python 3.5 on Snow Leopard with the system ncurses; it would be nice to at least skip the test on systems with older ncurses. -- nosy: +geoffreyspear versions: +Python 3.4, Python 3.5 ___ Pyt

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Can you think of any circumstance in which getpwnam would be able to read the file to look for the user, and yet errno is non-zero? -- ___ Python tracker _

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Ah, I see. Obviously I didn't read it as carefully as I thought I had ;(. -- ___ Python tracker ___ __

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
R. David Murray added the comment: It's really too bad cert validation fails on that ftp site. It would be nice to show best practices in that example. We really need that python test server Benjamin was talking about. -- ___ Python tracker

[issue20265] Bring Windows docs up to date

2014-03-23 Thread Kathleen Weaver
Kathleen Weaver added the comment: New patch -- Added file: http://bugs.python.org/file34587/windows.patch ___ Python tracker ___ ___

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: TCP ports are available - did the following while running "ab" against "python3.4 -m http.server": u1@~$ while true; do netstat -an|grep tcp|wc; sleep 1; done 50 3003950 50 3003950 50 3003950 50 3003950

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Well, I guess you could sum it up as -0. I personally don't feel the need for a change, but if the chronology problem is solved and it isn't *harder* to make the needed NEWS changes, then I'm not going to object. -- _

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > How do I trace in MacOSX? No truss or strace available... Add print() statements to the Python stdlib code :-) -- ___ Python tracker ___

[issue20825] containment test for "ip_network in ip_network"

2014-03-23 Thread Michel Albert
Michel Albert added the comment: I made the changes mentioned by r.david.murray I am not sure if the modifications in ``Doc/whatsnew/3.5.rst`` are correct. I tried to follow the notes at the top of the file, but it's not clear to me if it should have gone into ``News/Misc`` or into ``Doc/whats

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c38ce7726737 by Antoine Pitrou in branch '3.4': Issue #20913: make it clear that create_default_context() also enables hostname checking http://hg.python.org/cpython/rev/c38ce7726737 New changeset 015c4d785be7 by Antoine Pitrou in branch 'default':

[issue1225584] crash in gcmodule.c on python reinitialization

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Someone interested in this issue should first check whether it still applies to 3.4 or 3.5. -- ___ Python tracker ___ ___

[issue21036] typo in hashtable API: _PY_HASHTABLE_ENTRY_DATA -> _Py_HASHTABLE_ENTRY_DATA

2014-03-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> haypo versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list maili

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, this is by design. The occasional difference between slash-ended and non-slash-ended paths is unexpected and potentially confusing. Moreover, it's not a property of the OS itself - it's just some syntactic sugar to enable an option such as resolving symli

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as rejected, sorry. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ __

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
Hristo Venev added the comment: What about OpenVMS? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you elaborate? Python hasn't supported VMS for quite some time... -- ___ Python tracker ___ ___

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
Hristo Venev added the comment: AFAIK paths on OpenVMS are represented in a strange way. [dir.subdir]filename is a path for a file and [dir.subdir.anothersubdir] is a path for a directory. -- ___ Python tracker __

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Then I'm afraid the current Path classes won't do a good job of representing them :-) But as I said, Python probably doesn't run on VMS anymore, so this is a rather theoretical problem. Maybe if some day Python supports VMS again, someone can contribute a VMS

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
Hristo Venev added the comment: Or maybe URLPath? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Or maybe URLPath? I'm skeptical about that. I think someone should first prototype a PureURLPath and maybe publish it on PyPI. (as for the non-pure variant, URLPath, it doesn't seem to make sense) -- ___ Python tra

[issue21014] `1` => `True`; for tutorial docs

2014-03-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: In Python 2.7, we're not changing all the "1" to "True" because that aren't quite the same (True is a global and not a builtin constant). If you see these in 3.x, we should change them all :-) -- assignee: docs@python -> rhettinger nosy: +rhettinger

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Andreas Schwab
Andreas Schwab added the comment: The attached patch has been tested on {i586,x86_64,ppc,ppc64,ppc64le,armv6hl,armv7hl,aarch64,m68k}-suse-linux. -- keywords: +patch Added file: http://bugs.python.org/file34589/pyasciiobject-align.patch ___ Python tra

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : Removed file: http://bugs.python.org/file32554/xx ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : Removed file: http://bugs.python.org/file34387/m68k-float-prec.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: PEP11 states that VMS was unsupported in 3.3. Code was removed from 3.4 via #16136. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: I thought you were kidding concerning "print()" -- thus I started using "python -m trace -t httpd.py" >trace 2>&1. The hanging does not occur when tracing (however, things slow down immensely naturally)! When breaking the httpd.py while it is not serving anymo

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: It strikes me as strange that we'd allow code churn for an unsupported platform, can someone explain the rationale behind this please. -- nosy: +BreamoreBoy ___ Python tracker

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Andreas Schwab added the comment: What do you mean with code churn? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: I think there is no need for print() -- it is hanging <>: def _eintr_retry(func, *args): """restart a system call interrupted by EINTR""" while True: try: return func(*args) <> except OSError as e: if e.errn

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: Code churn is defined as lines added, modified or deleted to a file from one version to another. -- ___ Python tracker ___ _

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: If it blocks in the select() call, then it's probably an OS issue rather than a Python issue. -- ___ Python tracker ___ ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Andreas Schwab added the comment: That's a very broad definition, I didn't know that python is such a hostile environment. -- ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ignore Mark Lawrence. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mai

[issue21013] server-specific SSL context configuration

2014-03-23 Thread Donald Stufft
Donald Stufft added the comment: I think I'm happy with this patch, if anyone has a chance to review it and see if it looks OK I'd love that and then I can commit it :) -- ___ Python tracker __

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: Getpwnam() can use a lot of various auth method. For example, an external LDAP server. -- ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Georg Brandl
Georg Brandl added the comment: @Mark, I don't understand why you ask this question after several positive responses of Python committers (Mark, Stefan, Larry). @Andreas, as far as I recall, we have always welcomed patches for officially unsupported platforms, certainly as long as they only in

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: I love you as well Benjamin :) To be serious I think we're talking at cross purposes. I'm not against this patch. Code churn often gets mentioned here as a reason for not doing what is proposed. Changing code for an unsupported platform just struck me as odd

[issue20633] SystemError: Parent module 'multiprocessing' not loaded, cannot perform relative import

2014-03-23 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Stefan Krah
Stefan Krah added the comment: So far there are only very few m68k patches. Additionally, the patches are well researched and sometimes highlight ANSI C violations. The submitters of the patches are highly competent and apparently take testing seriously. I see no reason to reject the patches

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Georg Brandl
Georg Brandl added the comment: With respect, Mark, I think you should leave these considerations to the committers. -- ___ Python tracker ___ __

[issue21013] server-specific SSL context configuration

2014-03-23 Thread Donald Stufft
Donald Stufft added the comment: Added guards to protect against constants not existing. -- Added file: http://bugs.python.org/file34590/ssl-context-defaults-ssl3-guards.diff ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: Great, you ask a simple, straight forward question and get told to go away. I'll therefore leave everything to the committers, including the roughly 4500 open issues and the other 40 languishing. -- ___ Python track

[issue20421] expose SSL socket protocol version

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: (slightly related: should ssl.PROTOCOL_xxx constants become enum members?) -- ___ Python tracker ___ ___

[issue20421] expose SSL socket protocol version

2014-03-23 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: Submitted a bug at bugreport.apple.com: #16401766 -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I don't think that changes the picture. If the error code is non-zero, that means that one of the access methods failed, which means getpwnam can't report reliably whether or not that user exists according to the system configuration. -- ___

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue20976] pyflakes: remove unused imports

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d645f290d6a by R David Murray in branch '3.4': #20976: remove unneeded quopri import in email.utils. http://hg.python.org/cpython/rev/5d645f290d6a -- ___ Python tracker

[issue20976] pyflakes: remove unused imports

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset d308c20bf2f4 by R David Murray in branch 'default': Merge #20976: remove unneeded quopri import in email.utils. http://hg.python.org/cpython/rev/d308c20bf2f4 -- ___ Python tracker

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-23 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb6377db0a9e by Richard Oudkerk in branch '3.4': Issue #20990: Correction for 619331c67638. http://hg.python.org/cpython/rev/bb6377db0a9e -- ___ Python tracker ___

[issue17621] Create a lazy import loader mixin

2014-03-23 Thread Brett Cannon
Brett Cannon added the comment: Another update to trigger loading on attribute deletions as well as detecting when an import swapped the module in sys.modules, raising ValueError if detected since it won't have the affect that's expected (could be convinced to make that ImportError instead).

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec556e45641a by R David Murray in branch 'default': #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex. http://hg.python.org/cpython/rev/ec556e45641a -- nosy: +python-dev ___ Python tracke

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Thanks, Kammie. I removed the extra whitespace from your fix and simplified the tests a bit. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue21026] Document sitecustomize.py problems with pythonw

2014-03-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Charles-François Natali
Charles-François Natali added the comment: You could use tcpdump to see what's going on (does the server reply to SYN?). Note that it might very well be either a firewall setting, or a DoS protection (some sort of backoff when there are too many SYN within a short interval). -- nosy: +

[issue21040] socketserver: use selectors module

2014-03-23 Thread Charles-François Natali
New submission from Charles-François Natali: This patch updates the socketserver module to use selectors. It's simpler, will use poll() when available, and also fixes a bug where the timeout would not be recomputed upon EINTR. Note that I removed an EINTR-handling test from test_socketserver be

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Charles-François Natali
Charles-François Natali added the comment: By the way, could you test with the patch available in issue #21040 ? It'll use poll() instead of select(): I don't think it'll fix your problem, but it'll be a nice test anyway :-) -- ___ Python tracker

[issue21040] socketserver: use selectors module

2014-03-23 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file34593/socketserver_use_selectors-1.diff ___ Python tracker ___ ___

[issue6331] Add unicode script info to the unicode database

2014-03-23 Thread Pander
Pander added the comment: I see the patch support Unicode scripts https://en.wikipedia.org/wiki/Script_%28Unicode%29 but I am also interested in support for Unicode blocks https://en.wikipedia.org/wiki/Unicode_block Code for support for the latter is at https://github.com/nagisa/unicodeblocks

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Are unnamed struct fields actually valid C? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

  1   2   >