[issue7143] get_payload(decode=True) eats last newline in base64 encoded payload

2010-03-08 Thread Joaquin Cuenca Abela
Joaquin Cuenca Abela e98cu...@gmail.com added the comment: Thanks David and Barry! As much as it flatters my ego to be in the first place is MISC/ACK, I have to confess that my family name is Cuenca Abela, Cuenca is not a middle name. Cheers, --

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: It looks like the patches were not applied correctly. -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-08 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Antoine, in the same comment, you say that it was not backported to Py2 in order to prevent breaking existing code, and then you ask if it's difficult to support in lxml. ;-) Supporting the same behaviour in lxml would either mean

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: With ET 1.3, you should have an explicit keyword argument xml_declaration: # if xml_declaration or (xml_declaration is None and encoding not in (utf-8, us-ascii)): if method ==

[issue1052827] filelist.findall should use os.lstat

2010-03-08 Thread Pádraig Brady
Pádraig Brady p...@draigbrady.com added the comment: Packaging dangling symlinks is often required, so this is a problem. For e.g. in my package I want to install this symlink: /etc/apache2/sites-enabled/000-default - ../sites-available/myapp.conf -- nosy: +pixelbeat versions: +Python

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: PyImport_Import() clears errors if a module has no globals, whereas PyEval_GetGlobals() doesn't set any exception on failure. = import_no_global.patch removes this unnecessary PyErr_Clear(). --

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Py_InitializeEx() calls PyErr_Clear() if PyCodec_Encoder() fails without checking for the exception type. Attached initiliaze_pycodec_error.patch checks for error type: if the error is not an LookupError, display the error and

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: tok_stdin_decode() clears error without check for the type. tokenizer_error.patch stops the tokenizer with an E_ERROR if the exception is not an UnicodeDecodeError. Fix also err_input() to support E_ERROR: leave the global

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16489/main_pending_calls.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Remove main_pending_calls.patch hack: replaced by tokenizer_error.patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Added file: http://bugs.python.org/file16493/import_no_global.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Remove main_pending_calls.patch hack: replaced by tokenizer_error.patch. With extra tests, I realized that this patchs is still useful to process a SIGINT emitted between Py_Initialize() and PyRun_AnyFileExFlags(). Without the

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-03-08 Thread Allison Vollmann
Allison Vollmann allisonv...@gmail.com added the comment: i believe which the parameter msg must be referenced as a string type when called sendmail nor as an MIME[Message, Multipart, Text, Base, Audio] and this is obvious way to do it. but i'm not Dutch :-) -- status: open - closed

[issue1530559] struct.pack raises TypeError where it used to convert

2010-03-08 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: (2) For 2.x, I'm a bit uncomfortable with introducing the extra Python layer on top of the C layer. Partly I'm worried about accidentally breaking something (it's not 100% clear to me whether there might be hidden side-effects to such a

[issue1731717] race condition in subprocess module

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Previous buildbot failures were in test_multiprocessing: http://bugs.python.org/issue1731717#msg100430 Now it should be fixed: - r78777, r78787, r78790 on 2.x - r78798 on 3.x -- resolution: - fixed stage: test needed -

[issue7805] test_multiprocessing failure

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: This last bug is fixed, too. http://bugs.python.org/issue1731717#msg100643 -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7805

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: All this flakiness is fixed: - r78736, r78759, r78761, r78767, r78788, r78789 on 2.x - r78797 on 3.x Note: because of #3137, the send_signal(SIGINT) is retried 2 times on some platforms. -- resolution: - fixed stage:

[issue1731717] race condition in subprocess module

2010-03-08 Thread Yonas
Yonas yona...@gmail.com added the comment: Florent, Have you tested any of the sample test programs mentioned in this bug report? For example, the one by Joel Martin (kanaka). I'd suggest to test those first before marking this issue as fixed. - Yonas -- status: pending - open

[issue1731717] race condition in subprocess module

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: import subprocess, signal signal.signal(signal.SIGCLD, signal.SIG_IGN) 0 subprocess.Popen(['echo','foo']).wait() foo Traceback (most recent call last): File stdin, line 1, in module File ./Lib/subprocess.py, line 1229, in wait

[issue1731717] race condition in subprocess module

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: -buildbot ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___ ___

[issue1731717] race condition in subprocess module

2010-03-08 Thread Yonas
Yonas yona...@gmail.com added the comment: http://groups.google.com/group/comp.lang.python/browse_thread/thread/9a853d0308c8e55a I'm also glad to see a test case that causes exactly the same error with or without the presence of a ‘daemon.DaemonContext’. Further research shows that handling

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le Mon, 08 Mar 2010 09:01:19 +, Stefan Behnel rep...@bugs.python.org a écrit : Antoine, in the same comment, you say that it was not backported to Py2 in order to prevent breaking existing code, and then you ask if it's difficult to

[issue1731717] race condition in subprocess module

2010-03-08 Thread Yonas
Yonas yona...@gmail.com added the comment: Ben Finney's comment suggests to me that this bug is being ignored. Am I wrong? with extra notes in the documentation that anyone using child processes needs to be wary of signal handling. Why should they be wary? We should just fix this bug.

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-03-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - georg.brandl components: +Documentation nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8047 ___

[issue1731717] race condition in subprocess module

2010-03-08 Thread Yonas
Yonas yona...@gmail.com added the comment: By the way, in three months from today, this bug will be 3 years old. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___

[issue7624] isinstance(... , collections.Callable) fails with oldstyle class instances

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed in r78800. Additional tests backported to 3.x. -- resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed title: isinstance(... ,collections.Callable) fails with oldstyle class i

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-03-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: On the other hand, having a facility somewhere in the stdlib to pass a Message object to SMTP sendmail would be handy. I've made a note of this in my working notes for email6 to see if there's something we want to do about it.

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: assertSameElements fails with sequences that contain unorderable types such as [2j, 5j, set(), frozenset()]. See also msg98744 in #7837. -- assignee: flox messages: 100654 nosy: ezio.melotti, flox, michael.foord priority: normal

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8088 ___

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: +patch resolution: - accepted stage: needs patch - patch review Added file: http://bugs.python.org/file16495/issue8088_unordered_elements.diff ___ Python tracker

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Patch against trunk. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8088 ___ ___

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8088 ___ ___

[issue7837] assertSameElements doesn't filter enough py3k warnings

2010-03-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r78757 (trunk). I opened #8088 for the unorderable types problem. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue1731717] race condition in subprocess module

2010-03-08 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: I really don't care about the age of a bug. This bug is young. I've fixed many bugs over twice its age in the past. Regardless, I've got some serious subprocess internal refactoring changes coming in the very near future to explicitly deal

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: So we keep buffer() as the standard way to create BLOBs for 2.x? It is the only use of py3k deprecated buffer() which cannot be replaced in 2.x. Set to release blocker until a decision is made. -- priority: critical -

[issue1731717] race condition in subprocess module

2010-03-08 Thread Yonas
Yonas yona...@gmail.com added the comment: Gregory, Awesome! Approx. how long until we hear back from you in this report? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___

[issue1530559] struct.pack raises TypeError where it used to convert

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: I would suggest to raise a py3k warning instead of a plain warning. AFAIU the implicit conversion is OK in 2.7, and it is removed in 3.x. -- nosy: +flox ___ Python tracker

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-08 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: 2.6 should be fixed in r78805. I won't have time to merge the fix into the other branches until at best later tonight. -- ___ Python tracker rep...@bugs.python.org

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-03-08 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Martin: thanks for reviewing this. Re msg100537: sorry about the inauspicious start. I've added some bulletproofing for the case you discovered, and added two new unit tests. Re msg100538: OK. I've removed my name and the copyright notice

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Ned Deily
New submission from Ned Deily n...@acm.org: 2.6.5 release blocker 3.1.2 release blocker For 10.6, new universal build options were added to reflect the dropping of support in 10.6 for the ppc64 arch. The new options: --universal-archs=3-way - -arch {i386,x86_64,ppc)

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-03-08 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: Added file: http://bugs.python.org/file16497/diff-of-gdb7-hooks-v2-relative-to-v1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8032 ___

[issue8038] Provide unittest.TestCase.assertNotRegexpMatches

2010-03-08 Thread Ryszard Szopa
Ryszard Szopa ryszard.sz...@gmail.com added the comment: Here's the patch against unittest2 that implements assertNotRegexpMatches. -- keywords: +patch Added file: http://bugs.python.org/file16498/assertNotRegexpMatches.patch ___ Python tracker

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___ ___

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: On Mar 08, 2010, at 08:20 PM, Ned Deily wrote: (Ronald and I agree this should be a release-blocker. Patch to follow.) BTW, the right thing to do in this case (for 2.6 anyway) is to set the issue to be a release blocker, so it gets my

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: It could be fixed as part of #7832. -- superseder: - assertSameElements([0, 1, 1], [0, 0, 1]) does not fail ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8088

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: SIGINT.patch is the sum of all patches, it should be easier to review it. -- Added file: http://bugs.python.org/file16499/SIGINT.patch ___ Python tracker rep...@bugs.python.org

[issue8088] assertSameElements fails with sequences that contain unorderable types

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8088 ___ ___

[issue8063] Call _PyGILState_Init() earlier in Py_InitializeEx()

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: My SIGINT.patch for #3137 moves the call to _PyGILState_Init() just before initsite(), so it doesn't change too much Py_InitializeEx() and it's enough for me :-) -- ___ Python tracker

[issue5228] multiprocessing not compatible with functools.partial

2010-03-08 Thread joseph.h.garvin
joseph.h.garvin joseph.h.gar...@gmail.com added the comment: I think this bug still exists in Python 2.6.4, and I haven't tested 2.6.5, but since 2.6.4 was released 6 months after this bug was closed I assume it's still an issue. Running ndbecker's test program as is produces the following

[issue7966] mhlib does not emit deprecation warning

2010-03-08 Thread Sjoerd Mullender
Sjoerd Mullender sjo...@acm.org added the comment: mhlib is not officially deprecated, if I may believe PEP 4. Therefore I do not agree with the change that was made to this bug report. As far as I am concerned, the bug remains that mhlib uses a deprecated module. --

[issue8090] PEP 4 should say something about the standard library

2010-03-08 Thread Sjoerd Mullender
New submission from Sjoerd Mullender sjo...@acm.org: When a module or feature is deprecated, all uses of the deprecated module/feature should be removed from the non-deprecated part of the distribution (and, I would argue, also from the other deprecated modules). I think PEP 4 should say

[issue8090] PEP 4 should say something about the standard library

2010-03-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I don't really think this is a documentation bug, more of an issue you have with the policy, in which case this is better being discussed on python-dev. -- nosy: +brian.curtin ___ Python tracker

[issue7804] test_readline failure

2010-03-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I see this in 2.6 also, Ubuntu 9.10 and 10.04 (alpha). Marking this a release blocker for now, though I'll check to see if it's a regression or not. -- nosy: +barry priority: normal - release blocker versions: +Python 2.6, Python 2.7

[issue8091] TypeError at the end of 'make test'

2010-03-08 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: 'make test' on Ubuntu 10.04 alpha produces: 328 tests OK. 1 test failed: test_readline 37 tests skipped: test_aepack test_al test_applesingle test_bsddb test_bsddb185 test_bsddb3 test_cd test_cl test_codecmaps_cn

[issue8065] Memory leak in readline.get_current_history_length

2010-03-08 Thread Zvezdan Petkovic
Changes by Zvezdan Petkovic zvez...@zope.com: -- nosy: +zvezdan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8065 ___ ___ Python-bugs-list

[issue8091] TypeError at the end of 'make test'

2010-03-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: flox barry, Taggnostr: all the tests using subprocess [17:42] flox test_bz2 test_cmd_line test_platform test_popen2 test_popen test_pydoc test_quopri test_signal test_subprocess test_sys test_threading test_unicodedata

[issue8091] TypeError at the end of 'make test'

2010-03-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Does not error on Ubuntu 9.10 as far as I can tell. Seems to be only 10.04 (alpha) for some reason. I've only tested on 64 bit. This is probably not a release blocker. -- ___ Python tracker

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16087/issue7832_assertItemsEqual.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7832 ___

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Patch with documentation, tests, Misc/NEWS, following a discussion with Michael, Ezio and JP. -- priority: low - normal Added file: http://bugs.python.org/file16500/issue7832_assertSameElements_v2.diff

[issue8092] utf8, backslashreplace and surrogates

2010-03-08 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: utf8 encoder doesn't work in backslashreplace error handler: \uDC80.encode(utf8, backslashreplace) TypeError: error handler should have returned bytes -- components: Unicode messages: 100678 nosy: haypo severity: normal

[issue8093] IDLE processes don't close

2010-03-08 Thread paul stadfeld
New submission from paul stadfeld mensana...@aol.com: So I started 3.1.2... Python 3.1.2rc1 (r312rc1:78742, Mar 7 2010, 07:49:40) [MSC v.1500 32 bit (Intel)] on win32 Type copyright, credits or license() for more information. And monitored Windows Task Manager (XP): Image NameUser

[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #8092. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6697 ___ ___

[issue8092] utf8, backslashreplace and surrogates

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #6697. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8092 ___ ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As requested by Guido, here is a new patch including the fix for the site module: catch errors in execsitecustomize() and execusercustomize(). -- Added file: http://bugs.python.org/file16501/SIGINT-2.patch

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16488/initsite.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16491/initiliaze_pycodec_error.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16492/tokenizer_error.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16493/import_no_global.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16494/main_pending_calls.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup

2010-03-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file16499/SIGINT.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3137 ___

[issue6697] Check that _PyUnicode_AsString() result is not NULL

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: unicode_fromformat_U.patch: replace PyUnicode_FromFormat(..%s..., ..., _PyUnicode_AsString(obj)) by PyUnicode_FromFormat(...%U..., ..., obj). It replaces also %.200s by %U, so the output is no more truncated. -- Added

[issue8093] IDLE processes don't close

2010-03-08 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- components: +Windows nosy: +brian.curtin priority: - normal stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8093

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-03-08 Thread Asheesh Laroia
Asheesh Laroia ashe...@asheesh.org added the comment: Hey Ryan, I took a look at the diff you attached here. It looks like you did There are some whitespace-only changes -- for example, you remove and then re-insert the line beginning with The name of the last matched capturing group. Can

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: To summarize, the possible behaviors are: 1) check order, check duplicates (i.e. assertSequenceEqual); 2) check order, ignore duplicates (probably useless); 3) ignore order, check duplicates (useful but missing); 4) ignore order, ignore

[issue4180] warnings.simplefilter(always) does not make warnings always show up

2010-03-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It sounds like it would be cleaner to apply Brett's idea in msg75122, rather than have the user override (and alternate implementations implement) another obscure hook. We have enough hooks that nobody knows about, IMHO. -- nosy:

[issue8092] utf8, backslashreplace and surrogates

2010-03-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This issue is a regression introduced by r72208 to fix the issue #3672. Attached patch fixes PyUnicode_EncodeUTF8() if unicode_encode_call_errorhandler() returns an unicode string (eg. backslackreplace error handler). I don't know

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-03-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I've reviewed the patch and do not see any unnecessary whitespace changes in his patch. -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6538

[issue8092] utf8, backslashreplace and surrogates

2010-03-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +lemburg, loewis priority: - normal stage: - patch review type: - behavior versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8092

[issue8091] TypeError at the end of 'make test'

2010-03-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Probably a duplicate of issue5099. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8091 ___

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-03-08 Thread Ryan Arana
Changes by Ryan Arana ryan.ar...@gmail.com: Removed file: http://bugs.python.org/file16274/MatchObjectLinksFix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6538 ___

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-03-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: By the way, stderr will contain [XXX refs] as the last line with Python compiled in debug mode. The remove_stderr_debug_decorations() function will help you ignore this line. -- ___ Python tracker

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-03-08 Thread Ryan Arana
Ryan Arana ryan.ar...@gmail.com added the comment: I tried to format the methods of the class(es) as they are formatted in other files, which is why I added the whitespace. I can go back and remove that if that's what would be preferred. -- ___

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-08 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Looking through the thousands of uses of assertSameElements in our internal code base at work I see many uses of it that are likely not hashable items in the sequences being compared. The largest use of course is with lists and tuples of

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The attached patches fix the problem for 2.6 and 3.1: 1. configure(.in) is changed to invoke the existing 4way build targets for --with-universal-archs values of 3-way and intel as well as all. 2. configure(.in) passes the necessary lipo -extract arch

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Added file: http://bugs.python.org/file16505/issue-sl-configure-32-31.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-03-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6538 ___ ___ Python-bugs-list

[issue8091] TypeError at the end of 'make test'

2010-03-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Not a release blocker. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8091 ___

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-08 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: It sounds like this is fixed for 2.6.5 now. I'm bumping the priority down and removing 2.6 from the Versions. -- priority: release blocker - high versions: -Python 2.6 ___ Python tracker

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Correct inadvertent deletion in the 3.1 Mac/README. -- Added file: http://bugs.python.org/file16506/issue-sl-configure-32-31-rev1.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-08 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Removed file: http://bugs.python.org/file16505/issue-sl-configure-32-31.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___

[issue7804] test_readline failure

2010-03-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7804 ___ ___

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-03-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Also note that this feature has not been backported to 3.1 which means it will not be in the upcoming 3.1.2 release. (It will not be an issue for the python.org 3.1.2 installer which will be built with GNU readline as usual to support older systems.)

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Fix verified for 2.6. It should still be considered a release blocker for 3.1.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-08 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- priority: high - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___ ___

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2010-03-08 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: In case it matters, 3.0.1 does NOT crash. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036 ___

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Gregory P. Smith wrote: Looking through the thousands of uses of assertSameElements in our internal code base at work I see many uses of it that are likely not hashable items in the sequences being compared. The method

[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- priority: low - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7832 ___ ___

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-08 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: 3.2 and 3.1 should now also be fixed (in r78808 and r78809) Please test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16075/issue7092_py3k_warnings_args_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16076/issue7092_py3k_warnings_noargs_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

  1   2   >