[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Kirubakaran Athmanathan
Kirubakaran Athmanathan added the comment: Here is the patch that fixes for 2.7 -- keywords: +patch nosy: +kirubakaran Added file: http://bugs.python.org/file24899/6566.2.7.patch ___ Python tracker

[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Kirubakaran Athmanathan
Kirubakaran Athmanathan added the comment: Here is the patch that fixes for 3.3 -- Added file: http://bugs.python.org/file24900/6566.3.3.patch ___ Python tracker ___

[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c818b4cd98a by Senthil Kumaran in branch '2.7': explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan http://hg.python.org/cpython/rev/7c818b4cd98a New changeset 613919591a05 by Senthil Kumar

[issue14328] Add keyword-only parameter support to PyArg_ParseTupleAndKeywords

2012-03-17 Thread Larry Hastings
Larry Hastings added the comment: > Shouldn't using vgetargs1 with '$' in the format string just be > an error? vgetargs1 doesn't know anything about keyword arguments. Thank you for catching that! Serves me right for search-and-destroy style development--I'm not that familiar with getargs.c.

[issue13210] Support Visual Studio 2010

2012-03-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I'd like to subscribe to this newsletter. IMHO, it is important that people are able to compile python with VS2010 with minimum fuss. Not everyone has access to older compilers and forward compatibility shouldn't be that hard. There are to problems

[issue14315] zipfile.ZipFile() unable to open zip File

2012-03-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is padding. Other implimentations just ignore it and Python must. -- keywords: +patch Added file: http://bugs.python.org/file24902/fix_zipfile_extra.patch ___ Python tracker

[issue14346] Typos in Mac/README

2012-03-17 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos : Mac/README had a few typos (see attached file for details). -- files: typos.patch keywords: patch messages: 156148 nosy: dk priority: normal severity: normal status: open title: Typos in Mac/README versions: Python 2.7 Added file: http://bugs.pyt

[issue14302] Move python.exe to bin/

2012-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm still in favor of the change, accepting any breakage that will result from it. -- ___ Python tracker ___

[issue13210] Support Visual Studio 2010

2012-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > IMHO, it is important that people are able to compile python with > VS2010 with minimum fuss. Not everyone has access to older compilers > and forward compatibility shouldn't be that hard. Not sure what you mean by "forward compatibility". You cannot build

[issue14065] Element should support cyclic GC

2012-03-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: As a matter of principle, garbage collection in Python should *always* work, for all types, except for the one documented exception (cycles involving __del__). Failure of a type to properly garbage collect should be considered as serious as an interpreter cr

[issue14337] Recent refleaks

2012-03-17 Thread Stefan Krah
Stefan Krah added the comment: Nice. 0554183066b5 is completely clean except for a leak in test_curses. I think that one may be due to the fact that I'm running the tests in an ssh terminal. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed _

[issue14276] installing latest version of a project

2012-03-17 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-03-17 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: > However, I have not actually applied and run test_string.py. I've applied the issue13579_4720cc9e.patch to the changeset 0554183066b5 and applies without errors for me. -- ___ Python tracker

[issue14347] Misc/README

2012-03-17 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos : Misc/README does not enumerate all the files in the Misc directory (see the attached file for more information). -- components: None files: files.patch keywords: patch messages: 156154 nosy: dk priority: normal severity: normal status: open titl

[issue10516] Add list.clear() and list.copy()

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 958a98bf924e by Eli Bendersky in branch 'default': updated whatsnew/3.3.rst with the new methods added to list and bytearray (issue 10516) http://hg.python.org/cpython/rev/958a98bf924e -- nosy: +python-dev

[issue14348] Whitespace - Lib/base64.py

2012-03-17 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos : Whitespace changes as of PEP8. -- components: Library (Lib) files: base64.patch keywords: patch messages: 156156 nosy: dk priority: normal severity: normal status: open title: Whitespace - Lib/base64.py versions: Python 3.3 Added file: http://bug

[issue12619] Automatically regenerate platform-specific modules

2012-03-17 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1 for this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-03-17 Thread R. David Murray
R. David Murray added the comment: To answer your question about wrapping, it is best not to introduce noise into the patch. The person who commits it can rewrap (although even then it is nice to do the rewrapping in a separate changeset). -- nosy: +r.david.murray __

[issue14344] repr of email policies is wrong

2012-03-17 Thread R. David Murray
R. David Murray added the comment: That doesn't produce an evalable repr, though. The repr should actually be Policy(linesep='\\r\\n', max_line_length=None) I'm not immediately seeing how to get that to happen. -- ___ Python tracker

[issue14245] float rounding examples in FAQ are outdated

2012-03-17 Thread Zbyszek Szmek
Zbyszek Szmek added the comment: Both appear to be commonly used. Both sound OK to me. -- ___ Python tracker ___ ___ Python-bugs-list

[issue14349] The documentation of 'dis' doesn't describe MAKE_FUNCTION correctly

2012-03-17 Thread Eli Bendersky
New submission from Eli Bendersky : The documentation of the MAKE_FUNCTION opcode in 'dis' says: "Pushes a new function object on the stack. TOS is the code associated with the function. " Which doesn't appear to be true. In Python/ceval.c: [...] TARGET_WITH_IMPL(MAKE_CLOSURE, _make_f

[issue14306] try/except block is both efficient and expensive?

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a7dcfbcf726 by Georg Brandl in branch '3.2': Closes #14306: clarify expensiveness of try-except and update code snippet http://hg.python.org/cpython/rev/9a7dcfbcf726 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected

[issue14344] repr of email policies is wrong

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: I don’t understand why the repr should use \\r instead of \r. It seems to work: >>> from email.policy import Policy, HTTP, strict >>> strict Policy(raise_on_defect=True) >>> eval(repr(strict)) Policy(raise_on_defect=True) >>> HTTP Policy(linesep='\r\n', max_line_

[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: Shouldn’t the 2.7 docs talk about str and unicode, or maybe basestring, instead of just str? -- nosy: +eric.araujo ___ Python tracker ___

[issue14306] try/except block is both efficient and expensive?

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a93f6ee2ebc by Georg Brandl in branch '2.7': Closes #14306: clarify expensiveness of try-except and update code snippet http://hg.python.org/cpython/rev/7a93f6ee2ebc -- ___ Python tracker

[issue14349] The documentation of 'dis' doesn't describe MAKE_FUNCTION correctly

2012-03-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: docs@python -> pitrou nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2012-03-17 Thread Merlijn van Deen
Merlijn van Deen added the comment: Based on the discussion on python-dev [1], this is an updated implementation that uses encoding='bytes' to signal str->bytes behaviour. http://mail.python.org/pipermail/python-dev/2012-March/117536.html -- Added file: http://bugs.python.org/file2490

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2012-03-17 Thread Merlijn van Deen
Merlijn van Deen added the comment: ...and the tests to go with that. -- Added file: http://bugs.python.org/file24907/pickle_bytes_tests.diff ___ Python tracker ___ _

[issue14342] In re's examples the example with recursion doesn't work

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8172d7dce0ed by Georg Brandl in branch '3.2': Closes #14342: remove out-of-date section about avoiding recursion errors. http://hg.python.org/cpython/rev/8172d7dce0ed -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected

[issue14343] In re's examples the example with re.split() shadows builtin input()

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6cf5f963e0c4 by Georg Brandl in branch '3.2': Closes #14343: avoid shadowing builtin input() in example code. http://hg.python.org/cpython/rev/6cf5f963e0c4 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: ope

[issue14342] In re's examples the example with recursion doesn't work

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 276f79e4b215 by Georg Brandl in branch '2.7': Closes #14342: remove out-of-date section about avoiding recursion errors. http://hg.python.org/cpython/rev/276f79e4b215 -- ___ Python tracker

[issue14343] In re's examples the example with re.split() shadows builtin input()

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 483319c711d4 by Georg Brandl in branch '2.7': Closes #14343: avoid shadowing builtin input() in example code. http://hg.python.org/cpython/rev/483319c711d4 -- ___ Python tracker

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3b3a4a7d7b2 by Georg Brandl in branch '3.2': Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern http://hg.python.org/cpython/rev/b3b3a4a7d7b2 -- nosy: +python-dev resolution: -> fixe

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac00531a63aa by Georg Brandl in branch '2.7': Closes #14250: regex.flags has not only explicit flags but also those from the pattern http://hg.python.org/cpython/rev/ac00531a63aa -- ___ Python tracker

[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Kirubakaran Athmanathan
Kirubakaran Athmanathan added the comment: The note added "Keys in key/value pairs of JSON are always of the type str. When a dictionary is converted into JSON, all the keys of the dictionary are coerced to strings." is true for unicode keys too. '{"foo": "bar"}' -- __

[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Kirubakaran Athmanathan
Kirubakaran Athmanathan added the comment: json.dumps({u'foo':'bar'}) '{"foo": "bar"}' -- ___ Python tracker ___ ___ Python-bugs-list

[issue6566] json.dumps converts None to "null" (not null)

2012-03-17 Thread Merlijn van Deen
Merlijn van Deen added the comment: JSON does not have the distinction between bytes and unicode; py2 strings are coerced into unicode. I think it would be better to speak about 'JSON string' or 'JSON string element' if it's JSON and about 'unicode' (2.7) or 'str' (3.x) when speaking about t

[issue11959] smtpd cannot be used without affecting global state

2012-03-17 Thread Michele Orrù
Changes by Michele Orrù : -- nosy: +maker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue13512] ~/.pypirc created insecurely

2012-03-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I don't think it's worth fixing in Python 2.6, at least not in 2.6.8 which is ready for rc2 today. -- ___ Python tracker ___

[issue13210] Support Visual Studio 2010

2012-03-17 Thread Brian Curtin
Brian Curtin added the comment: Nothing's keeping it from moving forward at this point. Progress stagnated the last few months because I was busy doing organizational and PR work for PyCon. Now that the conference has passed, this and installer changes are on the top of my list. I will follow

[issue14333] queue unittest errors

2012-03-17 Thread Michele Orrù
Changes by Michele Orrù : -- nosy: +maker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue14346] Typos in Mac/README

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3decf67e1a28 by Ned Deily in branch '2.7': Issue #14346: Fix some typos in the Mac/README file. http://hg.python.org/cpython/rev/3decf67e1a28 New changeset 7464c8cf7466 by Ned Deily in branch '3.2': Issue #14346: Fix some typos in the Mac/README fi

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-17 Thread Larry Hastings
Larry Hastings added the comment: Incorporated Greg's (hopefully) parting shot. Also put the "as an integer" back for the docs. Finally, munged the note about float seconds vs integer nanoseconds a bit; I think it's an improvement. Can I get the go ahead now, pretty please? -- assi

[issue14346] Typos in Mac/README

2012-03-17 Thread Ned Deily
Ned Deily added the comment: Thanks for the suggestions! -- assignee: -> ned.deily components: +Documentation nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2, Python 3.3 ___ Python tr

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-03-17 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Ok, I've updated the patch. The NEWS entry could be: Issue #13579: string.Formatter now understands the !a conversion specifier. (not in the patch because AFAIN it makes the merge easier) Let me know if that's in the line you want. Thank you! --

[issue14333] queue unittest errors

2012-03-17 Thread Michele Orrù
Michele Orrù added the comment: This bug is becouse of Lib/unittest/loader.py:107 . So a quick fix would be to inherit from unittest.TestCase only in the exposed classes; but probably using a class decorator is the best solution. -- keywords: +patch Added file: http://bugs.python.org/

[issue14333] queue unittest errors

2012-03-17 Thread Michele Orrù
Changes by Michele Orrù : Added file: http://bugs.python.org/file24911/issue14333.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14347] Misc/README

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65a0a6fab127 by Ned Deily in branch 'default': Issue #14347: Update Misc/README list of files. http://hg.python.org/cpython/rev/65a0a6fab127 -- nosy: +python-dev ___ Python tracker

[issue14347] Update Misc/README

2012-03-17 Thread Ned Deily
Ned Deily added the comment: Thanks for the suggestion! -- nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed title: Misc/README -> Update Misc/README ___ Python tracker __

[issue14328] Add keyword-only parameter support to PyArg_ParseTupleAndKeywords

2012-03-17 Thread Larry Hastings
Larry Hastings added the comment: Incorporated the latest round of suggestions from Benjamin's most recent--and very thorough!--review. Thanks, Benjamin! -- Added file: http://bugs.python.org/file24912/larry.parsekwonly.diff.5.txt ___ Python tracke

[issue14333] queue unittest errors

2012-03-17 Thread Georg Brandl
Georg Brandl added the comment: The decorator solution looks overly mind-boggling for this simple case. BTW, I'm not sure we support calling our tests in this way, but it would be a good goal to, so I'm in favor of fixing these kinds of problems. -- nosy: +georg.brandl __

[issue12684] profile does not dump stats on exception like cProfile does

2012-03-17 Thread Georg Brandl
Georg Brandl added the comment: The same fix should be applied to runctx() too. The SystemExit handling is fine, it's in the original code also. I would recommend making a single try-except-finally statement. -- ___ Python tracker

[issue14350] Strange Exception from copying an iterable

2012-03-17 Thread Jakob Bowyer
New submission from Jakob Bowyer : Running: Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] Code: import copy copy.copy(iter([1,2,3])) Exception: --- TypeError Traceb

[issue14344] repr of email policies is wrong

2012-03-17 Thread R. David Murray
R. David Murray added the comment: Ach, I screwed up my testing at the interactive interpreter. Yes, it does work, and I will commit the fix. Thanks for the report. -- ___ Python tracker ___

[issue14344] repr of email policies is wrong

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 97b0cf9df420 by R David Murray in branch 'default': #14344: fixed the repr of email.policy objects. http://hg.python.org/cpython/rev/97b0cf9df420 -- nosy: +python-dev ___ Python tracker

[issue14344] repr of email policies is wrong

2012-03-17 Thread R. David Murray
R. David Murray added the comment: Committed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry for the delay. I've run the tests (with OpenSSL 1.0.1-beta3) in debug mode and got an error: == ERROR: test_npn_ext (test.test_ssl.ThreadedTests)

[issue12757] undefined name in doctest.py

2012-03-17 Thread R. David Murray
R. David Murray added the comment: The patch was actually by Brian Curtin, before he got commit privs :). Attached is a fix. I don't know what t.py has to do with the issue, though. I'm experimenting to see if I can trigger the bug before I apply the fix. -- keywords: +patch stage

[issue12757] undefined name in doctest.py

2012-03-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14351] Script error in 3.2.3rc1 Windows doc

2012-03-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.2.3rc1: When I click the Python manuals Start Menu icon, the Windows help version of the docs comes up, but with a Script Error box. Contents of the box: A error has occurred in the script on this page Line : 1 Char : 1 Error : The value of the propert

[issue14352] Distutils2 won't install on Ubuntu

2012-03-17 Thread Alex Grönholm
New submission from Alex Grönholm : Running distutils2 hg tip (changeset 2cec52b682a9): The command "pysetup install" fails with: u'Python': u'2.7.2+' is not a valid version (field 'Version') Not that it should matter, but this is Ubuntu 11.10. Also, distutils2 installs fine using setup.py. -

[issue12757] undefined name in doctest.py

2012-03-17 Thread R. David Murray
R. David Murray added the comment: OK, ./python -OO -m test test_json will trigger it. Updated fix attached. I'm not completely happy with it, though, since it prints the 'skipping test from module XXX' twice, and I don't know why (some unittest thing I'm not getting right, doubtless).

[issue12757] undefined name in doctest.py

2012-03-17 Thread R. David Murray
R. David Murray added the comment: Oh, in case anyone is wondering, the fix for -OO test runs was originally made because the unladen swallow folks ran the test suite that way. (I think someone else wanted it too, but I don't remember who). It's broken again, so I doubt anyone is actually d

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a fixed patch. It also came to me that "selected_protocol" could be ambiguous, so I renamed it to "selected_npn_protocol". -- Added file: http://bugs.python.org/file24916/npn.patch ___ Python tracker

[issue14351] Script error in 3.2.3rc1 Windows doc

2012-03-17 Thread R. David Murray
R. David Murray added the comment: I believe this was already found by someone (Georg, Martin?) and fixed by Ezio. -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti, r.david.murray ___ Python tracker __

[issue14333] queue unittest errors

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 118f7bdd631b by R David Murray in branch '3.2': #14333: fix test_queue so it can be run via standard unittest test discovery. http://hg.python.org/cpython/rev/118f7bdd631b New changeset 3ea4d7adb3e7 by R David Murray in branch 'default': Merge #143

[issue14353] Proper gettext support in locale module

2012-03-17 Thread Mel Flynn
Mel Flynn added the comment: Additional patch for 2.7 branch. -- Added file: http://bugs.python.org/file24918/python27-configure.in.patch ___ Python tracker ___

[issue14333] queue unittest errors

2012-03-17 Thread R. David Murray
R. David Murray added the comment: Not only do I think we should support calling our tests via unittest, I think we should move in the direction of having regrtest be implemented via standard unittest hooks rather than the monster it currently is. That will take quite a bit of effort, though

[issue14353] Proper gettext support in locale module

2012-03-17 Thread Mel Flynn
New submission from Mel Flynn : Gettext support in Python is configured by two tests: - textdomain in libc or libintl - bind_textdomain_codeset in libc only The latter causes incomplete gettext support in the locale module. Since the implementation uses two different defines, the provided patch

[issue14353] Proper gettext support in locale module

2012-03-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14355] imp module should omit references to init_frozen

2012-03-17 Thread Eric Snow
New submission from Eric Snow : The imp.init_frozen() function was removed from the documentation prior to 3.2 (changeset 2cf7bb2bbfb8). One reference to the function was left behind. I've attached a very intricate patch. -- assignee: docs@python components: Documentation files: im

[issue14354] Crash in _ctypes_alloc_callback

2012-03-17 Thread Joe Rumsey
New submission from Joe Rumsey : I have reproduced this crash in Apple's default 2.7.1 python, and in 2.7.3 built from source myself. But only in release mode. If I rebuild 2.7.3 in debug, the crash goes away. The attached file reproduces the issue, which has to do with a union containing m

[issue14295] PEP 417: adding mock module

2012-03-17 Thread Michael Foord
Michael Foord added the comment: Interesting. As I have to keep the external version of mock in sync with unittest.mock, and I have more important things to do first (like the docs) it would be a gratuitous change for no benefit. If you have any more substantive suggestions for code cleanup t

[issue14351] Script error in 3.2.3rc1 Windows doc

2012-03-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I hope you are right. The module docs server is also not working for me. Has that also been found and fixed (I don't see any issues) or should I file a separate report? -- ___ Python tracker

[issue14351] Script error in 3.2.3rc1 Windows doc

2012-03-17 Thread Georg Brandl
Georg Brandl added the comment: Yes, it should be fixed in rc2. The "module docs server" (I'm not familiar with that) is probably another issue. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue14351] Script error in 3.2.3rc1 Windows doc

2012-03-17 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: fixed -> duplicate superseder: -> 2.7.3rc1 chm gives JS error ___ Python tracker ___ ___

[issue14354] Crash in _ctypes_alloc_callback

2012-03-17 Thread Joe Rumsey
Joe Rumsey added the comment: I just built python 3.2.2 from source, and reproduced the issue there as well. Same location. Here's the slightly more informative stack trace from my release-with-symbols 3.2.2 build: #0 _ctypes_alloc_callback (callable=0x7fff5fbfef20, converters=0x10003,

[issue14352] Distutils2 won't install on Ubuntu

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: Your log file seems to tell that the installation goes fine. The last message is just a warning. So what makes you say that d2 doesn’t install? -- versions: +3rd party ___ Python tracker

[issue14352] Distutils2 won't install on Ubuntu

2012-03-17 Thread Alex Grönholm
Alex Grönholm added the comment: Being new to d2, I wouldn't know that the installation was completed successfully or if there was something left out. Regardless, this needs to be fixed. -- ___ Python tracker __

[issue14352] Distutils2 won't install on Ubuntu

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: I would agree, if you told me *what* needs to be fixed :) First, the unhelpful warning will go (that’s another bug); second, would you be satisfied if I added a logging message to tell that the installation completed successfully? The tradition of unix command

[issue14352] Distutils2 won't install on Ubuntu

2012-03-17 Thread Alex Grönholm
Alex Grönholm added the comment: It doesn't say "Warning" there, so how was I supposed to determine that it's not an error which terminated the installation process? If it is indeed just a warning, just getting rid of it would fix this for me. However, will this cause trouble with "requires-p

[issue14352] Distutils2: add logging message to report successful installation

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: > It doesn't say "Warning" there Right, so that’s a problem with our logging config. > However, will this cause trouble with "requires-python" in setup.cfg? I’m not sure why you’re asking that, as d2’s setup.cfg does not use requires-python and does produce the w

[issue13370] test_ctypes fails when building python with clang

2012-03-17 Thread Ned Deily
Ned Deily added the comment: An update: test_ctypes continues to fail on 2.7.3rc2 with exactly the same failures as originally reported when compiled non-debug 64-bit (x86_64) with either the latest clang *or* llvm-gcc from Xcode 4.3.1. It does not fail when compiled with gcc-4.2 from Xcode

[issue14352] Distutils2: add logging message to report successful installation

2012-03-17 Thread Alex Grönholm
Alex Grönholm added the comment: > I’m not sure why you’re asking that, as d2’s setup.cfg does not use > requires-python and does produce the warning, so it’s unrelated. (The > warning comes from d2.database.) I was concerned that maybe the version comparator would barf on a version like 2.

[issue14354] Crash in _ctypes_alloc_callback

2012-03-17 Thread Ned Deily
Ned Deily added the comment: This is likely related to Issue13370 which documents test_ctypes failures when using either of the llvm-based compilers (clang or llvm-gcc) supplied with recent versions of Xcode 4. test_ctypes and your test both do not fail when Python is compiled with the stand

[issue14354] Crash in _ctypes_alloc_callback

2012-03-17 Thread Joe Rumsey
Joe Rumsey added the comment: Thanks for that. This does seem to be the case. I rebuilt with CC=gcc-4.2 and my short sample and the full library I took it from both work fine. -- ___ Python tracker

[issue14333] queue unittest errors

2012-03-17 Thread Matt Joiner
Matt Joiner added the comment: Yes, FWIW much of the standard library tests are callable this way without issue. I have patches that fix the discoverability of a few test modules. I'll submit these in another issue. -- ___ Python tracker

[issue12684] profile does not dump stats on exception like cProfile does

2012-03-17 Thread Matt Joiner
Matt Joiner added the comment: I will submit a patch for this soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue14348] Whitespace - Lib/base64.py

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: Hi Dionysios. In the standard library, we do not usually make cosmetic changes, because they don’t bring much value, make the version control history less useful, and take time that could be spent on fixing bugs or adding features. Please read msg154729 for a

[issue13009] Remove documentation in distutils2 repo

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: Done in 21b8e29bcd5c. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue13512] ~/.pypirc created insecurely

2012-03-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: Check it in. It looks innocent enough to put in 2.7.3 final. -- ___ Python tracker ___ ___ Pytho

[issue13512] ~/.pypirc created insecurely

2012-03-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: On the other hand, it doesn't seem to be a very pressing issue, so let's wait for 2.7.4. -- ___ Python tracker ___

[issue13512] ~/.pypirc created insecurely

2012-03-17 Thread Éric Araujo
Éric Araujo added the comment: Alright, I’ll commit normally to the stable and development versions, skipping the security-mode branches. -- type: security -> behavior ___ Python tracker _

[issue14350] Strange Exception from copying an iterable

2012-03-17 Thread Ramchandra Apte
Ramchandra Apte added the comment: I get a normal exception. I see ipython at the top level in 'T:\languages\Python27\Scripts\ in ()' Perhaps you ran ipython accidentally? -- nosy: +ramchandra.apte ___ Python tracker

[issue14348] Whitespace - Lib/base64.py

2012-03-17 Thread R. David Murray
R. David Murray added the comment: Yes, our preferred approach is to make such cleanups when we touch that section of code for some other reason. Like Éric said, your willingness to contribute is very much appreciated and we hope you'll find another bug to work on. -- status: pending

[issue14350] Strange Exception from copying an iterable

2012-03-17 Thread R. David Murray
R. David Murray added the comment: @Ramchandra: I think you referring to the traceback format (which is indeed less useful than a normal Python traceback in the context of this tracker). The OP, however, is referring to the exception itself: TypeError: object.__new__(listiterator) is not s

[issue14350] Strange Exception from copying an iterable

2012-03-17 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14356] Distutils2 ignores site-local configuration

2012-03-17 Thread Alex Grönholm
New submission from Alex Grönholm : Distutils2 seems to rely solely on a sysconfig.cfg shipped with distutils2 to get the path where to install packages. Ignoring site-local configuration means that it won't work on Python distributions where the site configuration has been customized. On Ubun

[issue14357] Distutils2 does not work with virtualenv

2012-03-17 Thread Alex Grönholm
New submission from Alex Grönholm : The installed pysetup script launches (at least on my system) with /usr/bin/python regardless of the interpreter used for installing it. -- assignee: eric.araujo components: Distutils2 messages: 156231 nosy: agronholm, alexis, eric.araujo, tarek prior

[issue14357] Distutils2 does not work with virtualenv

2012-03-17 Thread Alex Grönholm
Changes by Alex Grönholm : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

  1   2   >