[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2012-07-08 Thread Nick Coghlan
Changes by Nick Coghlan : -- title: total_ordering -> functools.total_ordering fails to handle NotImplemented correctly ___ Python tracker ___ __

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Stephen Thorne
Stephen Thorne added the comment: Here's a followup patch that fixes the trunk build for me. This will unbreak the builds as well as fixing this bug, but it should be investigated why URLopener calls to_bytes() and Request does not. Ideally this interface should be consistent. -- Add

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 18c1d4d60bdf by Nick Coghlan in branch 'default': Issue 14814: Further error case testing coverage and cleanups http://hg.python.org/cpython/rev/18c1d4d60bdf -- ___ Python tracker

[issue15284] Handle ipv6 not being enabled in test_socket

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset b71dc2e9e00d by Ross Lagerwall in branch 'default': #15284: Skip {send,recv}msg tests with disabled IPv6 http://hg.python.org/cpython/rev/b71dc2e9e00d -- nosy: +python-dev ___ Python tracker

[issue5931] Python runtime name hardcoded in wsgiref.simple_server

2012-07-08 Thread Éric Araujo
Éric Araujo added the comment: You need to indent the block after the versionchanged directive. Also, I believe only bug fixes should go into 3.3 now that we are in beta. -- nosy: +eric.araujo ___ Python tracker

[issue15285] test_timeout failure when system on IPv4 10.0.x.x subnet

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: actually, this is the mapping table I have, when it fails with [Errno 13] Permission denied: $ ifconfig |grep inet inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff00 inet 10

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure urllib should accept invalid (non-escaped) URLs; a higher-level application can do so, but for the low-level stdlib module it is more debatable. -- nosy: +eric.araujo ___ Python tracker

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: It seems to me that toBytes in urllib was introduce to restrict the allowance of urls which were sent as unicode strings. We wanted urls to be ascii strings in Python2. http://mail.python.org/pipermail/python-bugs-list/2000-November/002779.html And quoting to

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yeah, I am thinking so as well in that case, the test_cookielib.py test case may need a change. -- ___ Python tracker ___

[issue15285] test_timeout failure when system on IPv4 10.x.x.x subnet

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: Something like 127.42.42.42 might be more reliable, because it does not depend on the LAN configuration, only on the local loopback settings. It is in 127.0.0.0/8 but not in 127.0.0.0/32. Tested OK here. 127.0.0.0/8 - This block is assigned for use as the In

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: _get_prefix_length now used only in test. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-08 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file26297/issue13248_io_max_buffer_size.diff ___ Python tracker ___ ___ Pyt

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: The other changes are in the patch "issue13248_obsolescence_v3.diff". AFAIU, they will not be removed in 3.3, in order to facilitate transition from Python 2. *asyncore* shortcut "dispatcher.*" for "dispatcher.socket.*" attributes *base64* functions "en

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee1828dc3bf6 by Senthil Kumaran in branch '3.2': issue 14826 - Address the buildbot failure ( explanation msg164973) http://hg.python.org/cpython/rev/ee1828dc3bf6 New changeset dc30111a5d7e by Senthil Kumaran in branch 'default': issue 14826 - Addr

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: The last change should settle the buildbots, But I would like to come back to this issue again tomorrow with focus - 3.3to see if we can deal with removing to_bytes and then in 2.7 to see if something can done to test_cookielib.py test case. -- __

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Senthil, do you read python-dev? I think this change was prematurate from the start (nevermind the fact that you didn't run the test suite before committing). For example, if you have an URL with a non-ASCII domain name such as "http://وزارة-الأتصالات.مصر/";,

[issue15285] test_timeout failure when system on IPv4 10.x.x.x subnet

2012-07-08 Thread Brian Brazil
Brian Brazil added the comment: I don't think anything in 127/8 is going to work, all Debian/Ubuntu systems I'm aware of have all of 127/8 equivalent to 127.0.0.1. Maybe 192.0.2.0/24 per RFC 5737? A better solution might be to chose some host/port on a python.org server and set it to DROP tc

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: Do we merge the patch for 3.3? I'm +1 on this (patch submitted 8 months ago, backward compatible and reviewed). -- nosy: +eli.bendersky ___ Python tracker ___

[issue15286] normpath does not work with local literal paths

2012-07-08 Thread Manuel de la Pena
Manuel de la Pena added the comment: Antoine, What the MSDN is stating is that the Windows functions from COM will not normalize the path if it is prefixed by \\?\. That is, if a user wanted to do: path = r'\\?\C:\Users\mandel\..\Desktop\test' with open(path, 'w') as fd: fd.write('hello!'

[issue15275] isinstance is called a more times that needed in ntpath

2012-07-08 Thread Manuel de la Pena
Changes by Manuel de la Pena : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15276] unicode format does not really work in Python 2.x

2012-07-08 Thread Berker Peksag
Berker Peksag added the comment: I can't reproduce this with Python 2.7.3. berker@wakefield ~[master*]$ python Python 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(local

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c877ad00bc4 by Antoine Pitrou in branch 'default': Issue #15110: Fix the tracebacks generated by "import xxx" to not show the importlib stack frames. http://hg.python.org/cpython/rev/8c877ad00bc4 -- nosy: +python-dev

[issue15287] support.TESTFN was modified by test_builtin

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6651c932d014 by Florent Xicluna in branch 'default': Issue #11022 and #15287: correctly remove the TESTFN file in test_builtin. http://hg.python.org/cpython/rev/6651c932d014 -- nosy: +python-dev ___ Pyth

[issue11022] locale.getpreferredencoding() must not set temporary LC_CTYPE

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6651c932d014 by Florent Xicluna in branch 'default': Issue #11022 and #15287: correctly remove the TESTFN file in test_builtin. http://hg.python.org/cpython/rev/6651c932d014 -- ___ Python tracker

[issue15287] support.TESTFN was modified by test_builtin

2012-07-08 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: ronaldoussoren -> components: -Macintosh nosy: -ronaldoussoren resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue15286] normpath does not work with local literal paths

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > May I ask you why you mention the symbolic links? I know that if one > of the segments of the path is a symbolic link there are problems but > this is not related to \\?\ or am I confused? Just curious :) No, it is not related with "\\?\" but I'm pointing out

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Eli Bendersky
Eli Bendersky added the comment: Can this be honestly classified as a bugfix though? If it's a feature it will have to be postponed to 3.4 -- ___ Python tracker ___ ___

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : On the default branch, if you run test_ast in a loop: ./python -E -m test -F test_ast you will see that the process memory use grows very quickly. This doesn't happen on 3.2. I'm not a Valgrind expert so perhaps someone else can take a look. Otherwise I'll

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Stefan Behnel
Stefan Behnel added the comment: Looks like a new feature to me. -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Pyth

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, the culprit is: changeset: 75542:3877bf2e3235 user:Benjamin Peterson date:Mon Mar 12 09:46:44 2012 -0700 summary: give the AST class a __dict__ -- nosy: +benjamin.peterson, georg.brandl __

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks, Brett! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Florent Xicluna
Florent Xicluna added the comment: Well, it fixes the behavior of ElementTree in some multi-threaded cases, provided you pass the namespace map as an argument of the serializer call. The fix implements an optional argument for this use case. As a side effect, it makes it easier to work with cu

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Strangely, the reference leak was fixed in: changeset: 75686:9e7f6ddc0d76 user:Benjamin Peterson date:Wed Mar 14 21:50:29 2012 -0500 summary: free AST's dict But it didn't fix the memory leak. -- ___

[issue15292] import hook behavior documentation improvement

2012-07-08 Thread Anders Hammarquist
New submission from Anders Hammarquist : When testing Eutaxia on PyPy (1.9) I discovered a discrepancy in the path_hooks import hook implementation. In CPython (2.7), if the find_module() method raises ImportError (as imp.find_module() does when it does not find a module in the given path), wi

[issue15292] import hook behavior documentation improvement

2012-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 048d8d9aecf1 by Antoine Pitrou in branch 'default': Issue #15291: Fix a memory leak where AST nodes where not properly deallocated. http://hg.python.org/cpython/rev/048d8d9aecf1 -- nosy: +python-dev ___

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, that was easy :) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15293] AST nodes do not support garbage collection

2012-07-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : Add the following to test_ast: diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -199,6 +199,7 @@ class AST_Tests(unittest.TestCase): x.foobar = 42 self.assertEqual(x.foobar, 42

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2012-07-08 Thread Stefan Behnel
Stefan Behnel added the comment: Florent, what you describe is exactly the definition of a new feature. Users even have to change their code in order to make use of it. -- ___ Python tracker __

[issue15284] Handle ipv6 not being enabled in test_socket

2012-07-08 Thread Brian Brazil
Changes by Brian Brazil : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1767933] Badly formed XML using etree and utf-16

2012-07-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with using context management (as Eli advised). This makes error handling much safer and probably makes the code a little easier. Several new tests are added. -- ___ Python tracker

[issue15292] import hook behavior documentation improvement

2012-07-08 Thread Nick Coghlan
Nick Coghlan added the comment: The PyPy and 3.3 behaviour are actually correct according to the spec, but it's *really* unclear in PEP 302. sys.meta_path accepts finder objects. These are explicitly documented as returning "None" from find_module() to indicate "try the next one" and raising

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45265ecaa3e4 by Nick Coghlan in branch 'default': Issue 14814: Remove dead function (noticed by Serhiy Storchaka) http://hg.python.org/cpython/rev/45265ecaa3e4 -- ___ Python tracker

[issue15276] unicode format does not really work in Python 2.x

2012-07-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I confirm the bug on 2.7. $ ./python Python 2.7.3+ (2.7:ab9d6c4907e7+, Apr 25 2012, 20:02:36) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(locale.LC_NUMERIC, 'uk_UA.UTF-8

[issue1767933] Badly formed XML using etree and utf-16

2012-07-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26316/etree_write_utf16_4.patch ___ Python tracker ___ ___ Python-bugs-

[issue15290] setAttribute() can fail

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Trivial reproducer: >>> e = minidom.Element("span") >>> e.setAttribute("class", "version") Traceback (most recent call last): File "", line 1, in File "/home/antoine/cpython/default/Lib/xml/dom/minidom.py", line 743, in setAttribute attr.ownerDocument

[issue15290] setAttribute() can fail

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file26317/minidom_setattribute.patch ___ Python tracker ___

[issue15290] setAttribute() can fail

2012-07-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: That's invalid usage. You are supposed to create new element nodes through the document's createElement method. "unattached" nodes are not supported. -- ___ Python tracker _

[issue15290] setAttribute() can fail

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > That's invalid usage. You are supposed to create new element nodes > through the document's createElement method. "unattached" nodes are > not supported. Well, I don't know how many third-party application rely on this, but Twisted does it. -- _

[issue15290] setAttribute() can fail

2012-07-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: Then Twisted will have to change. From http://docs.python.org/library/xml.dom.minidom.html "Applications should not instantiate the classes themselves; they should use the creator functions available on the Document object." If they insist on not using crea

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I really like the "_exec_module" trick, but it should be applied to builtin modules as well. I hacked _sre.c and got: ~/python/cpython3.x$ ./python Traceback (most recent call last): File "/home/amauryfa/python/cpython3.x/Lib/site.py", line 70, in

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7aa75ea4116d by Nick Coghlan in branch 'default': Issue 14814: The new systematic tests aren't just about error reporting any more - change names accordingly. Added and tweaked some example to ensure they were covering the intended code paths http

[issue15294] regression with nested namespace packages

2012-07-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : Legacy namespace packages (handled with pkgutil) do not work anymore when they are nested. The attached test file passes under 3.2 but fails under 3.3. -- components: Interpreter Core files: test_nested_nspackage.py messages: 165014 nosy: brett.canno

[issue15292] import hook behavior documentation improvement

2012-07-08 Thread Brett Cannon
Brett Cannon added the comment: Everything Nick said is right: PyPy did it properly according to the spec and CPython 2.7 got it wrong. Unfortunately fixing this now would break code and so it will simply have to stay a Python 2.7 quirk with Python 3.3 and later doing it correctly. So docume

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Brett Cannon
Brett Cannon added the comment: Re-opening so Antoine can look at Amaury's proposed fix for builtin modules. -- status: closed -> open ___ Python tracker ___ ___

[issue15295] Document PEP 420 namespace packages

2012-07-08 Thread Brett Cannon
New submission from Brett Cannon : I believe Barry said he was going to handle the documentation for PEP 420. -- assignee: barry components: Documentation messages: 165017 nosy: barry, brett.cannon priority: release blocker severity: normal stage: needs patch status: open title: Document

[issue15295] Document PEP 420 namespace packages

2012-07-08 Thread Brett Cannon
Brett Cannon added the comment: One request I would like to make is that while the docs are being written, to please look at importlib.find_loader() and let me know if the name no longer applies (it's new in Python 3.3 so it can easily be renamed). --

[issue15292] import hook behavior documentation improvement

2012-07-08 Thread Nick Coghlan
Nick Coghlan added the comment: Perhaps the porting section in the 3.3 What's New? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue15296] Minidom can't create ASCII representation

2012-07-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Minidom can parse ASCII-encoded XML data, but can't create it. >>> from xml.dom.minidom import parseString >>> doc = parseString(b'>> encoding="us-ascii"?>€') >>> doc.toxml('us-ascii') Traceback (most recent call last): File "", line 1, in File "/home/

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I really like the "_exec_module" trick, but it should be applied to > builtin modules as well. I hacked _sre.c and got: I hadn't thought about this one. Can you apply your patch? -- ___ Python tracker

[issue13405] Add DTrace probes

2012-07-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Justin, I can compile and run the tests fine in my Solaris 11 virtual machine, both in 32 and 64 bits and both static and dynamic. I am using GCC, and you are using Sun Studio. http://buildbot.python.org/all/builders/x86%20Solaris%2011%20custom/builds/17/ste

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Christian Heimes
Christian Heimes added the comment: The docs [1] state that `url should be a string containing a valid URL.` An URL with a space ' ' is not a valid URL as the space must be quoted as %20. The brackets may also cause problems as they are not valid xs:anyURI chars. I vote for reverting the chan

[issue15281] pyvenv --symlinks option is a no-op?

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c345b4bd97e by Vinay Sajip in branch 'default': Closes #15281, #15283: Don't make venv scripts executable, but copy source mode instead, and provide better help for pyvenv. http://hg.python.org/cpython/rev/9c345b4bd97e -- nosy: +python-de

[issue15283] pyvenv says nothing on success

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c345b4bd97e by Vinay Sajip in branch 'default': Closes #15281, #15283: Don't make venv scripts executable, but copy source mode instead, and provide better help for pyvenv. http://hg.python.org/cpython/rev/9c345b4bd97e -- nosy: +python-de

[issue15283] pyvenv says nothing on success

2012-07-08 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue15273] Remove unnecessarily random behavior from test_unparse.py

2012-07-08 Thread R. David Murray
R. David Murray added the comment: I thought we had other tests that did this as well (pickle?). If you need reproducibility you check the random seed and reuse it. -- nosy: +r.david.murray ___ Python tracker __

[issue15294] regression with nested namespace packages

2012-07-08 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue12081] Remove distributed copy of libffi

2012-07-08 Thread Meador Inge
Meador Inge added the comment: Matthias recently updated libffi to 3.0.11 (issue15194). It would seem that we intend to keep a local copy of the libffi sources for now and that this issue can be closed. Does anyone see a reason to keep this open? --

[issue15262] Idle does not show traceback in other threads

2012-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless this could have been just as easily fixed in IDLE as in the core (Roger?), no, don't hold your breath ;-). -- nosy: +serwy ___ Python tracker _

[issue12081] Remove distributed copy of libffi

2012-07-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: Closing as a duplicate. The original issue is resolved: we are not distributing an old copy of libffi anymore. -- resolution: -> duplicate status: open -> closed superseder: -> libffi-3.0.11 update ___ Python tra

[issue15293] AST nodes do not support garbage collection

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8538d01c by Benjamin Peterson in branch 'default': add gc support to the AST base type (closes #15293) http://hg.python.org/cpython/rev/8538d01c -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -

[issue15283] pyvenv says nothing on success

2012-07-08 Thread Éric Araujo
Éric Araujo added the comment: > Creating a venv is useless if you don't ever activate it, right. This is a common misconception. Shell activation is only about putting the venv’s bin directory on the beginning of the PATH. It’s a purely optional convenience. Using a virtualenv can be done

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 37e68da59047 by Amaury Forgeot d'Arc in branch 'default': Issue #15110: Also hide importlib frames when importing a builtin module fails. http://hg.python.org/cpython/rev/37e68da59047 -- ___ Python track

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d43154d68a8 by Amaury Forgeot d'Arc in branch 'default': Issue #15110: Copy same docstring as other '_exec_module' methods. http://hg.python.org/cpython/rev/5d43154d68a8 -- ___ Python tracker

[issue15110] strange Tracebacks with importlib

2012-07-08 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue15296] Minidom can't create ASCII representation

2012-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eli.bendersky stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue15283] pyvenv says nothing on success

2012-07-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, the ``source bin/activate`` should be mentioned in the Docs at least. It should not require that a person carries this knowledge from somewhere else. At the moment, I do not see mention of it in the docs either - http://docs.python.org/dev/library/ven

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-08 Thread Chris Jerdonek
New submission from Chris Jerdonek : I'm not sure if this should be fixed in the code or in the documentation, but the pkgutil.iter_importers() documentation says that pkgutil.iter_importers(name) should yield the "importers for sys.meta_path, sys.path, and Python’s “classic” import machinery,

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-08 Thread Matthias Klose
New submission from Matthias Klose : _sysconfigdata is generated in srcdir, not builddir, so if you do two consecutive differently builds in different builddirs and using the same srcdir, then the _sysconfigdata of the second build wins. _sysconfigdata.py has to be built in the builddir, not t

[issue15294] regression with nested namespace packages

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file26320/nestednspkg.patch ___ Python tracker ___

[issue15294] regression with nested namespace packages

2012-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file26321/nestednspkg.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15294] regression with nested namespace packages

2012-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file26320/nestednspkg.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue15299] ImpImporter(None).iter_modules() does not search sys.path

2012-07-08 Thread Chris Jerdonek
New submission from Chris Jerdonek : The pkgutil.ImpImporter documentation says that if dirname is None, ImpImporter(dirname) should create a PEP 302 importer that searches the current sys.path, plus any modules that are frozen or built-in: http://docs.python.org/dev/library/pkgutil.html#pkgut

[issue15294] regression with nested namespace packages

2012-07-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15299] pkgutil.ImpImporter(None).iter_modules() does not search sys.path

2012-07-08 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- title: ImpImporter(None).iter_modules() does not search sys.path -> pkgutil.ImpImporter(None).iter_modules() does not search sys.path ___ Python tracker _

[issue13557] exec of list comprehension fails on NameError

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab22ffa6fb2e by Terry Jan Reedy in branch '2.7': Issue #13557: Clarify effect of giving two different namespaces to exec or http://hg.python.org/cpython/rev/ab22ffa6fb2e New changeset ea670d71a36d by Terry Jan Reedy in branch '3.2': Issue #13557: C

[issue15231] update PyPI upload doc to say --no-raw passed to rst2html.py

2012-07-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: Martin, FYI, Pat processed my contrib form. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-07-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, I created issue 15299 and issue 15297 which also relate to pkgutil.walk_packages() not working correctly in Python 3.3 -- even with the caveat added by Brett. These two issues are in pkgutil.walk_packages()'s code path when passed path=None. --

[issue15294] regression with nested namespace packages

2012-07-08 Thread Eric V. Smith
Eric V. Smith added the comment: The patch looks good to me. I haven't run the tests, though. -- ___ Python tracker ___ ___ Python-bu

[issue15265] random.sample() docs unclear on k < len(population)

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72174d8af3ba by Raymond Hettinger in branch 'default': Issue 15265: document the exception raised for invalid sample sizes. http://hg.python.org/cpython/rev/72174d8af3ba -- nosy: +python-dev ___ Python t

[issue15265] random.sample() docs unclear on k < len(population)

2012-07-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks, I've added a note. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2012-07-08 Thread Meador Inge
Meador Inge added the comment: This is still broken after the libffi update (issue15194). The errors are the same as Alex mentioned when he tested libffi-3.0.11. The right way to go is to get this fixed in upstream libffi and backport the patch. -- assignee: theller -> stage: -> n

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Jul 8, 2012 at 2:30 AM, Antoine Pitrou wrote: > > Senthil, do you read python-dev? I think this change was prematurate from the > start (nevermind the fact that you didn't run the test suite before > committing). I thought that the other legacy URL

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Jul 8, 2012 at 9:42 AM, Christian Heimes wrote: > I vote for reverting the chances as they break the API. You could improve the > docs and emphasize that URLs must be quoted correctly as the module doesn't > implement browser magic. Okay. But I do

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-07-08 Thread Ali Rahmjoo
Ali Rahmjoo added the comment: I have exactly the same problem mentioned by Brian Gernhardt for 32-bit Python 3.2.3 on Win7. -- nosy: +alirahmjoo ___ Python tracker ___ ___

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-07-08 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ebd37273e0fe by Senthil Kumaran in branch '3.2': revert the changes done for issue14826 - quoting witin Request is not desirable. http://hg.python.org/cpython/rev/ebd37273e0fe -- ___ Python tracker

[issue14826] urllib2.urlopen fails to load URL

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset a4bdb637d818 by Senthil Kumaran in branch 'default': revert the changes done for issue14826 - quoting witin Request is not desirable. http://hg.python.org/cpython/rev/a4bdb637d818 -- ___ Python tracker

[issue15262] Idle does not show traceback in other threads

2012-07-08 Thread Roger Serwy
Roger Serwy added the comment: Mark, I ran your example against 2.7.1 and did not receive a traceback. I then ran it against the latest 2.7.3+ and receive a traceback in IDLE. Here's the entire Shell contents: Python 2.7.3+ (2.7:97445ca895d5, Jul 8 2012, 19:58:43) [GCC 4.5.2] on linux2 Typ

[issue15300] test directory doubly-nested running tests with -j/--multiprocess

2012-07-08 Thread Chris Jerdonek
New submission from Chris Jerdonek : Running tests using the -j/--multiprocess option doubly-nests the test working directory: $ ./python.exe -m test -j3 -->cpython/build/test_python_63955/build/test_python_63956 $ ./python.exe -m test -->cpython/build/test_python_63957 It seems like the tes

  1   2   >