[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Devin Jeanpierre
New submission from Devin Jeanpierre jeanpierr...@gmail.com: It's probably best shown by example: http://ideone.com/4YkqV Have fun! This one looks hard. Some notes: Exchanging g2() for iter([1]) makes this go away. Wrapping g2 inside a non-generator iterator does not make this go away.

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Devin Jeanpierre
Changes by Devin Jeanpierre jeanpierr...@gmail.com: Removed file: http://bugs.python.org/file22550/exception_chaining.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12475 ___

[issue12346] Python source code build fails with old mercurial

2011-07-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: 435eec7b41f0 transplanted to 3.2 in 4e0c1128cda2. -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12346 ___

[issue12225] current tip doesn't build without mercurial installed

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 4e0c1128cda2 by Ralf Schmitt in branch '3.2': disable ASDLGEN if hg won't work, or if python is not installed. http://hg.python.org/cpython/rev/4e0c1128cda2 -- ___ Python tracker

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - pitrou nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12475 ___ ___

[issue12465] gc.get_referents can be used to crash Python

2011-07-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yep. It's no surprise that you can crash Python by abusing the gc module, or the ctypes module, or ... -- nosy: +georg.brandl resolution: - wont fix status: open - closed ___ Python tracker

[issue12476] ctypes: need example how to pass raw data from Python

2011-07-03 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: ctypes documentation lacks an example, how to pass a raw data block from Python to a C function. For example, how to pass this chunk: data = open('somefile', 'rb').read() to this function: int checkBuffer(LPSTR lpData, DWORD

[issue12476] ctypes: need example how to pass raw data from Python

2011-07-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Can you suggest a patch? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12476 ___

[issue12406] msi.py needs updating for Python 3.3

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3ce11ddc9ec3 by Vinay Sajip in branch 'default': Issue #12406: Added upates for packaging's .exe files, command_template, and sysconfig.cfg. http://hg.python.org/cpython/rev/3ce11ddc9ec3 -- nosy: +python-dev

[issue12352] multiprocessing.Value() hangs

2011-07-03 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: The test passes on all the buildbots, closing. greg, thanks for reporting this! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker

[issue7123] Multiprocess Process does not always exit when run from a thread.

2011-07-03 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I am pretty sure this is another instance of issue 6721. Indeed. Closing as duplicate. -- status: open - closed superseder: - Locks in python standard library should be sanitized on fork

[issue8035] urllib.request.urlretrieve hangs waiting for connection close after a redirect

2011-07-03 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- keywords: +needs review stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8035 ___

[issue12456] Hangs in concurrent.futures

2011-07-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks like I broke the OS X buildbots: http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%202%203.x/builds/609/steps/test/logs/stdio -- status: closed - open ___ Python tracker

[issue12456] Hangs in concurrent.futures

2011-07-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, qsize() can raise NotImplementedError on OS X, which explains quite a bit: Exception in thread Thread-2: Traceback (most recent call last): File /Users/buildbot/buildarea/custom.parc-snowleopard-1/build/Lib/threading.py, line 737, in

[issue12477] input() does'nt strip CR

2011-07-03 Thread Atsushi Odagiri
New submission from Atsushi Odagiri aod...@gmail.com: Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. input() a 'a\r' Python 3.1.3 (r313:86834, Nov 27 2010, 17:20:37) [MSC v.1500 64 bit (AMD64)]

[issue12477] input() does'nt strip CR

2011-07-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is a duplicate of #11272, which will be fixed in 3.2.1. -- nosy: +georg.brandl resolution: - duplicate status: open - closed superseder: - input() has trailing carriage return on windows ___

[issue12456] Hangs in concurrent.futures

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ce52310f61a0 by Antoine Pitrou in branch 'default': Followup to 51c1f2cedb96 (and issue #12456): http://hg.python.org/cpython/rev/ce52310f61a0 -- ___ Python tracker rep...@bugs.python.org

[issue12478] Possible error in HTTPErrorProcessor documentation

2011-07-03 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, I think HTTPErrorProcessor documentation at [1] contains a cutpaste error (from UnknownHandler) for the only method available [1] http://docs.python.org/py3k/library/urllib.request.html#httperrorprocessor-objects because:

[issue12476] ctypes: need example how to pass raw data from Python

2011-07-03 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: ISTM that this code works ok. data = open('data.raw', 'rb').read() ret = checkBuffer(data, len(data)) You need to make sure that checkBuffer doesn't try to modify memory though. For mutable memory blocks use create_string_buffer().

[issue12456] Hangs in concurrent.futures

2011-07-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12456 ___ ___ Python-bugs-list

[issue12479] Add HTTPErrorProcessor class definition

2011-07-03 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: As reported in http://mail.python.org/pipermail/docs/2011-June/004879.html urllibs/urllib.request misses the definition of HTTPErrorProcessor class; the attached patches add it to the documentation. -- assignee: docs@python

[issue12479] Add HTTPErrorProcessor class definition

2011-07-03 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file22553/HTTPErrorProcessor_class-py27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12479 ___

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12475 ___ ___ Python-bugs-list

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-03 Thread Or
New submission from Or yellowsli...@gmail.com: I have fieddler2 listening on 0.0.0.0:. this code is suppose to use the proxy on my localhost. try: data = '' proxy = urllib2.ProxyHandler({'http': '127.0.0.1:'}) //also tried {'http': 'http://127.0.0.1:/'} opener =

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-03 Thread Or
Or yellowsli...@gmail.com added the comment: I have fieddler2 listening on 0.0.0.0:. this code is suppose to use the proxy on my localhost. try: proxy = urllib2.ProxyHandler({'http': '127.0.0.1:'}) //also tried {'http': 'http://127.0.0.1:/'} opener =

[issue12415] Missing: How to checkout the Doc sources

2011-07-03 Thread Philip Olson
Philip Olson phi...@roshambo.org added the comment: Thank you, that patch solves this bug report. However, now I'm not sure which branches we should or must contribute documentation to. Python versions 2.7, 3.2, and 3.3 are now associated to this bug report, so are these the active

[issue12481] test_faulthandler: popups on Windows/Debug/x64

2011-07-03 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: I'm getting the dreaded python_d.exe has stopped working popups in test_faulthandler on Windows 7 + VisualStudioPro + Debug|x64. -- components: Tests messages: 139691 nosy: haypo, skrah priority: normal severity: normal status:

[issue12412] non defined representation for pwd.struct_passwd

2011-07-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: pypy did not use a structseq in this case. Fixed in (pypy's repo) dded6e510044 -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12412

[issue10020] docs for sqlite3 describe functions not available without recompiling

2011-07-03 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Fixed the indentation issues. We could not use automatic reST footnotes because two links refer to same footnote, so left it as such. -- ___ Python tracker rep...@bugs.python.org

[issue12412] non defined representation for pwd.struct_passwd

2011-07-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: But pypy passed the attribute access tests in the test suite? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12412 ___

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset cc7ae81cfe91 by Benjamin Peterson in branch '3.2': restore a generator's caller's exception state both on yield and (last) return http://hg.python.org/cpython/rev/cc7ae81cfe91 New changeset 33dca840938d by Benjamin Peterson in

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-03 Thread Thomas Holmes
Thomas Holmes tho...@devminded.com added the comment: I setup a proxy and it seems to be working properly. This is on win7 x64 professional using Python 2.7.1 I didn't using any sniffing software but if I broke the proxy the code broke. When I enabled the proxy it started working again. My

[issue12482] input() not working correctly on Mac OS X

2011-07-03 Thread Dmitriy Gorbachev
New submission from Dmitriy Gorbachev dgorbac...@yahoo.com: I am learning Python by running exercises from Programming Python, Mark Lutz on both Windows and Mac. While exercises run flawlessly on Windows, sometimes they do not run on Mac. In particular, in Chapter 1, Step 2: Storing Records

[issue12439] BaseHTTPServer's send_reponse adds extra \r\n when using HTTPMessage in input

2011-07-03 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: It seems to me that you're indeed misusing it. The correct way would be something like this (assuming response is a HTTPResponse object from httplib): self.send_response(response.status) for name, value in response.getheaders():

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-07-03 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Behaves incorrectly for me, too. Attached a patch with the suggested fix. -- keywords: +needs review, patch nosy: +petri.lehtinen Added file: http://bugs.python.org/file22555/smtplib_main_prompt.patch

[issue1067702] urllib fails with multiple ftp transfers

2011-07-03 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Hello Stefen, Yes, I was able to reproduce the issue without the patch and at the same time, noticed that the problem was not observed in other branches (py3k), then saw the differences where the possible socket close delays can happen and

[issue12458] Tracebacks should contain the first line of continuation lines

2011-07-03 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12458 ___ ___ Python-bugs-list

[issue12482] input() not working correctly on Mac OS X

2011-07-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: You are certainly using Python 2 with code designed for Python 3... Can you check? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12482

[issue12461] it's not clear how the shutil.copystat() should work on symlinks

2011-07-03 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12461 ___ ___ Python-bugs-list

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-03 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12463 ___ ___ Python-bugs-list

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-03 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12464 ___ ___ Python-bugs-list

[issue11253] autodocument first appearance of ctypes.wintypes constants

2011-07-03 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: What's new docs are usually for what is coming up new in the upcoming releases. It is not updated once the release is done. Bug fixes and related docs are updated in documentation. -- ___ Python

[issue12482] input() not working correctly on Mac OS X

2011-07-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The test case you've provide is working as expected but the code doesn't make a lot of sense as provided. The function loadDbase sets sys.stdin to a disk file but never sets it back again. If you run this in an interactive interpreter on any

[issue12481] test_faulthandler: popups on Windows/Debug/x64

2011-07-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Duplicate of issue #11732. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12481

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-07-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue #12481 has been marked as duplicate: I'm getting the dreaded python_d.exe has stopped working popups in test_faulthandler on Windows 7 + VisualStudioPro + Debug|x64. -- nosy: +skrah

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-07-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Most (all?) Windows machines have error reporting enabled unless you mess with the registry manually It is disabled on all Windows buildbots. test_capi does also test a crash (I don't know/remember which test exactly). --

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-07-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: For test_capi the patch in #9116 works. For test_faulthandler it doesn't, unfortunately. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11732

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-07-03 Thread Thijs Triemstra
Changes by Thijs Triemstra li...@collab.nl: -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12398 ___ ___ Python-bugs-list mailing

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-07-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Instead of skipping the test, I prefer to disable temporary the popup by setting the right registry key (and then restore the previous value or delete the key). Do you mean that the user should change/restore the key or that the Python

[issue12391] packaging install fails to clean up temp files

2011-07-03 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- hgrepos: +35 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12391 ___ ___ Python-bugs-list

[issue12391] packaging install fails to clean up temp files

2011-07-03 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- keywords: +patch Added file: http://bugs.python.org/file22556/7ee51c480fec.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12391 ___

[issue5619] Pass MS CRT debug flags into subprocesses

2011-07-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Related issues with patches: #9116 and #11732 -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-07-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Do you mean that the user should change/restore the key or that the Python tests should do that? Python can change temporary the registry value for the duration of the test. -- ___

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The assertion occurs in setup_context() of Python/_warnings.c, called by fileio_dealloc_warn(). The problem is that globals()['__file__'] is None. Attached patch should fix this issue. -- keywords: +patch nosy: +pitrou

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Test script to reproduce the assertion. -- Added file: http://bugs.python.org/file22558/test_warn_assert.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12467

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Nice diagnosis! -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12467 ___

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12467 ___ ___ Python-bugs-list mailing

[issue10898] posixmodule.c redefines FSTAT

2011-07-03 Thread Alan Hourihane
Alan Hourihane al...@fairlite.co.uk added the comment: Well, I'd probably prefer something akin to my first patch then. There's no need to #undef things at all if we just prefix the usage with PYTHON_ -- ___ Python tracker rep...@bugs.python.org

[issue11909] Doctest sees directives in strings when it should only see them in comments

2011-07-03 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: Updated patch to newest revision, and to use _tokenize function and includes a test case to verify that it ignores the encoding directive during the tokenization (and every other) step. I'll file a tokenize bug separately. --

[issue12451] open: avoid the locale encoding when possible

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 81424281ee59 by Victor Stinner in branch '3.2': Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead http://hg.python.org/cpython/rev/81424281ee59 New changeset c039c6b58907 by Victor Stinner in branch

[issue12451] open: avoid the locale encoding when possible

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset cd1759711357 by Victor Stinner in branch '3.2': Issue #12451: runpy: run_path() now opens the Python script in binary mode, http://hg.python.org/cpython/rev/cd1759711357 New changeset e240af1f0ae1 by Victor Stinner in branch

[issue12451] open: avoid the locale encoding when possible

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a1b4f1716b73 by Victor Stinner in branch '3.2': Issue #12451: pydoc: importfile() now opens the Python script in binary mode, http://hg.python.org/cpython/rev/a1b4f1716b73 New changeset 5ca136dccbf7 by Victor Stinner in branch

Re: [issue12436] Provide reference to detailed installation instructions

2011-07-03 Thread Senthil Kumaran
I am not sure that is comprehensive enough. It is just organized into OS specific sections and gives little details further on. So, -1 to this, but +1 to the general idea of having detailed install and get started documentation. ___ Python-bugs-list

[issue12432] remove a bunch of unused imports in Lib

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 6886e0bf29bc by Senthil Kumaran in branch '3.2': Fix closes issue12432 - remove the unused sys from glob.py http://hg.python.org/cpython/rev/6886e0bf29bc -- resolution: - fixed status: open - closed

[issue11909] Doctest sees directives in strings when it should only see them in comments

2011-07-03 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: Erp I forgot to run this against the rest of the tests. Disregard, I'll fix it up a bit later. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11909

[issue12438] IDLE problem displaying warning message

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c9f69b28c4d1 by Senthil Kumaran in branch '2.7': Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg. http://hg.python.org/cpython/rev/c9f69b28c4d1 New changeset e9c406a53972 by Senthil

Re: [issue12438] IDLE problem displaying warning message

2011-07-03 Thread Senthil Kumaran
Have fixed this. Even looking at the code, your suggestion was correct. But even before the fix, I was not able to reproduce the bug in Ubuntu and perhaps it was getting masked. May I ask, how did you invoke idle that this bug surfaced and what was the platform?

[issue12483] CThunkObject_dealloc should call PyObject_GC_UnTrack?

2011-07-03 Thread Ryan Kelly
New submission from Ryan Kelly r...@rfk.id.au: According to the docs here: http://docs.python.org/c-api/gcsupport.html Any object that uses PyObject_GC_Track in its constructor must call PyObject_GC_UnTrack in its deallocator. The CThunkObject in _ctypes does the former but not the later.

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ac18e70cbe7e by Victor Stinner in branch '3.2': Issue #12467: warnings: fix a race condition if a warning is emitted at http://hg.python.org/cpython/rev/ac18e70cbe7e New changeset 5133fee2433e by Victor Stinner in branch 'default':

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset fc46acf7a645 by Victor Stinner in branch '2.7': Issue #12467: warnings: fix a race condition if a warning is emitted at http://hg.python.org/cpython/rev/fc46acf7a645 -- ___ Python tracker

[issue12438] IDLE problem displaying warning message

2011-07-03 Thread João Bernardo
João Bernardo jbv...@gmail.com added the comment: @orsenthil My system is Ubuntu 11.04 x64. To run idle, i press the Super (windows button) then write idle. If I open the terminal and type idle, the problem don't appear but I have to type the password on the terminal rather than on idle GUI.

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

2011-07-03 Thread Alejandro Santos
New submission from Alejandro Santos alej...@alejolp.com: While the Py_InitModule does not exists on Py3k it is still mentioned on the docs: http://docs.python.org/py3k/extending/extending.html#keyword-parameters-for-extension-functions

[issue11066] cgi.py proposals : sys.stdout encoding + rewriting of parsing functions

2011-07-03 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11066 ___ ___

[issue8077] cgi handling of POSTed files is broken

2011-07-03 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8077 ___ ___

[issue12470] Fix cutpaste typo in test_shutil

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 301c008dd58d by Senthil Kumaran in branch '3.2': Fix closes issue issue12470 - check for utime for the skipUnless condition. http://hg.python.org/cpython/rev/301c008dd58d -- nosy: +python-dev

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

2011-07-03 Thread Alejandro Santos
Alejandro Santos alej...@alejolp.com added the comment: The call is also present on the older 3.1 and dev release of the docs: http://docs.python.org/release/3.1.3/extending/extending.html#keyword-parameters-for-extension-functions

[issue12485] Improvement of textwrap module

2011-07-03 Thread Tyler Romeo
New submission from Tyler Romeo tylerro...@gmail.com: Python's textwrap module can be helpful at times, but personally I think there are a couple of things that could be added. First, when it comes to text wrapping, usually you're not dealing with a monospace font where each letter is the

[issue11909] Doctest sees directives in strings when it should only see them in comments

2011-07-03 Thread Devin Jeanpierre
Devin Jeanpierre jeanpierr...@gmail.com added the comment: Updated. -- Added file: http://bugs.python.org/file22562/comments3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11909 ___

[issue12486] tokenize module should have a unicode API

2011-07-03 Thread Devin Jeanpierre
New submission from Devin Jeanpierre jeanpierr...@gmail.com: tokenize only deals with bytes. Users might want to deal with unicode source (for example, if python source is embedded into a document with an already-known encoding). The naive approach might be something like: def

[issue12471] wrong TypeError message on '%i' formatting

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 97707459bb5a by Senthil Kumaran in branch '3.2': Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. http://hg.python.org/cpython/rev/97707459bb5a -- nosy: +python-dev resolution: - fixed stage:

[issue10734] test_ttk failure under Windows

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 8dde71899733 by Ned Deily in branch '2.7': Issue #10734: Temporarily disable test_ttk test_heading_callback on 2.7 as well. http://hg.python.org/cpython/rev/8dde71899733 -- nosy: +python-dev

[issue10734] test_ttk failure under Windows

2011-07-03 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10734 ___ ___ Python-bugs-list mailing list

[issue10734] test_ttk test_heading_callback fails with newer Tk 8.5

2011-07-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The failure is not unique to Windows. It fails on OS X with the current ActiveState Tk 8.5.9. I've temporarily disabled the test on 2.7 as well. -- title: test_ttk failure under Windows - test_ttk test_heading_callback fails with newer Tk

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ea02eca122b5 by Ned Deily in branch '2.7': Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run http://hg.python.org/cpython/rev/ea02eca122b5 New changeset 279488f5a171 by Ned Deily in branch '3.2': Issue

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Let's try this: when running under OS X, the tk and ttk test runners now perform their initial Tk-available sanity check in a subprocess rather than in the main interpreter process. If the subprocess fails, the tests are skipped. There are some