[issue9163] test_gdb fails

2010-10-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Did this fix actually make the 2.7 release? Are you sure you posted to the right issue? I fail to see the relationship between your message and the original report. If you found a bug in Python 2.7, please report it as a separate issue. -- ___

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: > From a Python user/programmers point of view it would be nice if > http://docs.python.org/library/ssl.html also clarified what > "validation" means (apparently that the cert chain all the way from > one of ca_certs is valid and with valid dates, except that CR

[issue8028] self.terminate() from a multiprocessing.Process raises AttributeError exception

2010-10-06 Thread 5houston
5houston added the comment: Yes I could. You can find it attached. -- Added file: http://bugs.python.org/file19140/minCrashing.py.bz2 ___ Python tracker ___ _

[issue9163] test_gdb fails

2010-10-06 Thread Tom Morris
Tom Morris added the comment: Did this fix actually make the 2.7 release? I just installed 2.7 on 64-bit Ubuntu and ran into the same problem. python -c "import sysconfig; print sysconfig.get_config_vars()['PY_CFLAGS']" -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-protot

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-10-06 Thread Mads Kiilerich
Mads Kiilerich added the comment: I'm sorry to make the discussion longer ... >From a Python user/programmers point of view it would be nice if >http://docs.python.org/library/ssl.html also clarified what "validation" means >(apparently that the cert chain all the way from one of ca_certs is

[issue10032] os.setuid and os.setgid have unexpected influence on serial module

2010-10-06 Thread Ned Deily
Ned Deily added the comment: "It could be a feature of os that the groups of the user are set on a os.setuid call? Or would this break compatibility with the standard unix library behaviour?" The POSIX system interface specification specifically prohibits that: "The setuid() function shall n

[issue10038] Returntype of json.loads() on strings

2010-10-06 Thread Nik Tautenhahn
Nik Tautenhahn added the comment: Well, Ok, if I take bob's comment from the simplejson Issue, I can understand that some people want byte strings. But then I would like to have something like a "parse_str" hook, to enhance my json-Decoder or maybe a keyword argument for the default json-Deco

[issue10038] Returntype of json.loads() on strings

2010-10-06 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: This is related to this issue from simplejson: http://code.google.com/p/simplejson/issues/detail?id=28 This problem is why I still use simplejson 1.x; moving forward to simplejson 2.x or Python's json is unlikely. -- nosy: +fdrake ___

[issue10038] Returntype of json.loads() on strings

2010-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: d...@python -> bob.ippolito nosy: +bob.ippolito ___ Python tracker ___ ___ Python-bugs-list m

[issue10038] Returntype of json.loads() on strings

2010-10-06 Thread Nik Tautenhahn
New submission from Nik Tautenhahn : Hi, before 2.7, an import json json.loads('"abc"') yielded u"abc". in 2.7 I get "abc" (a byte string). I would have expected an entry in "news" or "What's new in 2.7" why this change happened. In addition, all examples at http://docs.python.org/library/js

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: If nobody objects, I will commit this (with docs) soon. Then I will open a separate issue for the http.client / urllib.request integration, since the discussion is already quite long here. -- ___ Python tracker

[issue9903] test_concurrent_futures writes on stderr

2010-10-06 Thread Brian Quinlan
Brian Quinlan added the comment: Fixed in r85288 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2010-10-06 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: P.S. Thank you for acceptance. I really wanted to commit that code! -- ___ Python tracker ___ __

[issue8359] % formating - TypeError: not all arguments converted during string formatting

2010-10-06 Thread amiadb
amiadb added the comment: This bug is very disturbing in Hebrew too. I need to translate "% hour" to "‫% שעה‬" and its wrong in Hebrew. in Hebrew I need to write "שעה אחת" (one hour). -- nosy: +amiadb ___ Python tracker

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-10-06 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: There are some questions. 1. About my patch, I noticed it removed following code. Isn't this needed? I like clean code, but I don't want to break anything. /* Get WIN32_FIND_DATA structure for the path to determine if it is a symlink */

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: harobed, the -SKIP solution does not work. Doctest directives only apply to a single line. After a quick search, I found two workarounds there: http://stackoverflow.com/questions/1809037/python-doctest-skip-entire-block - Replace >>> with >> or - split t

[issue10037] multiprocessing.pool processes started by worker handler stops working

2010-10-06 Thread Ask Solem
New submission from Ask Solem : While working on an "autoscaling" (yes, people call it that...) feature for Celery, I noticed that the processes created by the _handle_workers thread doesn't always work. I have reproduced this in general, by just using the maxtasksperchild feature and letting

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread harobed
harobed added the comment: Ok, option +SKIP and -SKIP work well, look test.py file I need maybe improve the documentation with an +SKIP and -SKIP example ? Documentation section about SKIP option is here : http://docs.python.org/library/doctest.html?highlight=doctest.skip#doctest.SKIP Regard

[issue10028] test_concurrent_futures fails on Windows Server 2003

2010-10-06 Thread Brian Quinlan
Brian Quinlan added the comment: Hey Brian, Could you try applying the patch that I attached and let me know what error message you get? Cheers, (the other) Brian -- keywords: +patch Added file: http://bugs.python.org/file19137/error.diff ___ Pyth

[issue10029] "Equivalent to" code for zip is wrong in Python 3

2010-10-06 Thread Douglas Leeder
Changes by Douglas Leeder : -- nosy: +Douglas.Leeder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread Georg Brandl
Georg Brandl added the comment: AFAIR +SKIP always only refers to one Example anyway. -- nosy: +georg.brandl ___ Python tracker ___ __

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I'm not a great doctest user, but did you try to disable the SKIP directive at the end? something like "doctest: -SKIP" -- ___ Python tracker ___

[issue10028] test_concurrent_futures fails on Windows Server 2003

2010-10-06 Thread Brian Quinlan
Changes by Brian Quinlan : -- assignee: -> bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10032] os.setuid and os.setgid have unexpected influence on serial module

2010-10-06 Thread Tjeerd Pinkert
Tjeerd Pinkert added the comment: Indeed I use Linux, sorry for the inconvenience of not mentioning. Thanks Ned, I think this is indeed the case. Using os.setgroups with a list of group ids (one for the file access, one for the serial port) before switching user with os.setgid, os.setuid solv

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2010-10-06 Thread harobed
harobed added the comment: doctest.SKIP is like #doctest: +DISABLE but he don't have #doctest: +ENABLE feature. doctest.SKIP disable all the bottom of test, DISABLE/ENABLE can SKIP only one part of test. Regards, Stephane -- ___ Python tracker <

[issue10035] sgmllib fail to parse html containing

2010-10-06 Thread Georg Brandl
Georg Brandl added the comment: The browser needs to be very liberal in what it accepts, since nobody wants their page view to break because of such a technicality. This is different for a tool like SGMLParser. In light of this, and because sgmllib is removed anyway in Python 3, I'm closing

[issue10035] sgmllib fail to parse html containing

2010-10-06 Thread halfjuice
halfjuice added the comment: Sorry, the URL on the page is sort of broken. The URL contains the "" stuff. I think you're right, the ___ ___ Python-bugs-list mailing list Unsubsc