[issue5199] warns vars() assignment as well as locals()

2009-02-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : This comes from issue5197. Maybe we can emphasize a behavior of assignment to vars() is undefined if decorated with red block of *warning* as well as locals(). This patch is for release26-maint. -- assignee: georg.brandl components: Documentation f

[issue5197] vars() assignment fails silently when assignments made later

2009-02-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: According to http://docs.python.org/library/functions.html#vars >The returned dictionary should not be modified: the effects on the >corresponding symbol table are undefined. Same can be said for locals() as well. -- nosy: +ocean-city resolution:

[issue5198] Strange DeprecationWarning behaviour in module struct

2009-02-09 Thread Hagen Fürstenau
New submission from Hagen Fürstenau : struct.pack seems to raise a DeprecationWarning for some structure formats, but not for others: Python 2.6.1 (r261:67515, Dec 5 2008, 07:40:41) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import struct >

[issue5137] SystemError when __len__ returns a non-number

2009-02-09 Thread Hagen Fürstenau
Hagen Fürstenau added the comment: This also solves issue 3729. -- nosy: +hagen ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5197] vars() assignment fails silently when assignments made later

2009-02-09 Thread pest
New submission from pest : Assignments to vars() behave incorrectly if those variables are use later on in a function. For example, try this: == #!/usr/bin/python def zz(): for i in [1,2,3]: for j in [4,5,6]: vars()['fw_%s_%s' % (j,i)] = 'tes

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Robin Dunn
Robin Dunn added the comment: Sorry, no luck. I've tried before to ensure that all the DLLs and extension modules have the manifest file (in resource 2) and it makes no difference. I rebuilt wxWidgets and wxPython today with ISOLATION_AWARE_ENABLED defined to check if that would help, and rese

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-09 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file13006/patch-nad0013t-py3k-30.txt ___ Python tracker ___ ___ Python-bugs-list mail

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-09 Thread Ned Deily
Ned Deily added the comment: Here's the results of testing the two patches: - patch-mbstowcs.txt should not do a free on the buffer since Py_SetProgramName is expecting to hold on to it (like with the result of a getenv(3)). - patch-remove-PYTHONEXECUTABLE.txt works as is. However, neither

[issue1004533] PEP 263: help locating the offending character

2009-02-09 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1122301] marshal may crash on truncated input

2009-02-09 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5196] OS X IDLE.app: may not launch on 3.x

2009-02-09 Thread Ned Deily
New submission from Ned Deily : 3.x OS X IDLE.app may not launch ANALYSIS 2.x IDLE.app was built using its own Makefile + bundlebuilder. For 3.x, these were eliminated by checking in a skeleton app based on the bundlebuilder model. But the install tailoring of the app

[issue5195] OS X IDLE.app and bin/idle: incorrect key defaults in 3.x

2009-02-09 Thread Ned Deily
New submission from Ned Deily : 3.x IDLE uses incorrect default key definitions on OS X If you have not already customized your IDLE key definitions (in ~/.idlerc), 3.x IDLE uses Windows defaults in its menus. ANALYSISIn 2.x, the IDLE Makefile customized

[issue5194] OS X IDLE.app and bin/idle: missing/extra menu options

2009-02-09 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file13002/patch-nad0014-py3k-30.txt ___ Python tracker ___ ___ Python-bugs-list maili

[issue5194] OS X IDLE.app and bin/idle: missing/extra menu options

2009-02-09 Thread Ned Deily
New submission from Ned Deily : IDLE is supposed to have various menu customizations when running on OS X. But currently they do not all work and the menus vary if IDLE is launched via IDLE.app versus via command line bin/idle. The most noticeable issue is the lack of a Preferences menu item

[issue1096310] sys.__stdout__ doco isn't discouraging enough

2009-02-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1004533] PEP 263: help locating the offending character

2009-02-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Daniel, do you have developer rights on the tracker? Otherwise, you may ask for them on python-dev if you intend to do some housekeeping :) -- nosy: +pitrou ___ Python tracker _

[issue1008086] patch for 767150

2009-02-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry, reopening. -- resolution: out of date -> status: closed -> open ___ Python tracker ___ __

[issue1008086] patch for 767150

2009-02-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure in_addr_t is available everywhere. "unsigned int" should be a good bet, since it is 32-bits in most platforms. Guarding the code with a "#if (SIZEOF_INT == 4)" and erroring out otherwise will make the patch ok (and, please add a test). -- n

[issue5128] compileall: consider ctime

2009-02-09 Thread Brett Cannon
Brett Cannon added the comment: Committed in 69481 and 69482 for trunk and py3k, respectively. Had to rewrite the test code but the compileall patch went in fine. Thanks, Martin! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _

[issue994023] threads duplicated on fork() prevent child from terminating

2009-02-09 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue1103023] raw_input problem with readline and UTF8

2009-02-09 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue5120] Disabling test_ttk_guionly on mac

2009-02-09 Thread Guilherme Polo
Changes by Guilherme Polo : -- keywords: +patch Added file: http://bugs.python.org/file13000/oldtkaqua.diff ___ Python tracker ___ ___

[issue1008086] patch for 767150

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: This is a patch for issue 767150, which was closed in 2005. -- nosy: +ajaksu2 ___ Python tracker ___ __

[issue1004533] PEP 263: help locating the offending character

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: IIUC, we don't have the PEP 263 DeprecationWarning mentioned anymore and this should be closed. -- nosy: +ajaksu2 ___ Python tracker ___ __

[issue1818] Add named tuple reader to CSV module

2009-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: In r69480, named tuples gained the ability to automatically rename invalid fieldnames. ___ Python tracker ___

[issue1112955] move_file()'s return value when dry_run=1 unclear

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Here's a very simple-minded patch (with microtest) that changes behavior in a questionable way. If it goes in as-is, dry_run=1 will not always succeed anymore. So it'd be incompatible... but a 1:1 representation of a real move kinda requires some failure mode. I

[issue5128] compileall: consider ctime

2009-02-09 Thread Ingmar Vanhassel
Changes by Ingmar Vanhassel : -- nosy: +ingmar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2009-02-09 Thread Matthew Barnett
Matthew Barnett added the comment: The new code includes some extra checks which, although not foolproof, certainly reduce the amount of backtracking in a lot of cases. ___ Python tracker

[issue2263] struct.pack() + numpy int raises SystemError

2009-02-09 Thread engelbert gruber
engelbert gruber added the comment: in 2.7 svn _struct.c formatdef native_table[] = { {'B', sizeof(char), 0, nu_ubyte, np_ubyte}, formatdef bigendian_table[] {'B', 1, 0, nu_ubyte, bp_uint}, formatdef lilendian_table[] {'B', 1, 0,

[issue1103926] email.base64MIME.header_encode vs RFC 1522

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: RFC 2047 says the encoding is case-insensitive. Please, close as invalid. RFC 2047: 2. Syntax of encoded-words An 'encoded-word' is defined by the following ABNF grammar. [...] encoded-word = "=?" charset "?" encoding "?" encoded-text "?=" charset = tok

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-09 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Martin v. Löwis
Martin v. Löwis added the comment: It looks like it should be possible to bind to a different comctl32.dll than what gets loaded by the host application. See this KB article: http://support.microsoft.com/default.aspx/kb/830033 which even claims that you should be able to do so with manifests (

[issue1096310] sys.__stdout__ doco isn't discouraging enough

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Current docs seem to explain what __stdout__ is for: """ __stdin__ / __stdout__ / __stderr__ These objects contain the original values of stdin, stderr and stdout at the start of the program. They are used during finalization, and could be useful to restore the a

[issue1103023] raw_input problem with readline and UTF8

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Please close this, reportedly fixed and no further info from OP. -- nosy: +ajaksu2 ___ Python tracker ___ _

[issue1112955] move_file()'s return value when dry_run=1 unclear

2009-02-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: > Let me know if a patch would help. Sure ! -- assignee: -> tarek ___ Python tracker ___ ___ Pytho

[issue1112955] move_file()'s return value when dry_run=1 unclear

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed for trunk and py3k. Might look unimportant, but IMHO having the same results with dry_run=1 would make it much easier to e.g. generate target lists. Let me know if a patch would help. -- nosy: +ajaksu2, tarek type: -> behavior versions: +Pytho

[issue624827] Creation of struct_seq types

2009-02-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue1122301] marshal may crash on truncated input

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Reported as fixed by nnorwitz in msg24300, 2.4 is not supported anymore. -- nosy: +ajaksu2 ___ Python tracker ___ _

[issue994023] threads duplicated on fork() prevent child from terminating

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Test case works for me with trunk and py3k (rev. 69469) on Linux 2.6.24 ia32. -- nosy: +ajaksu2 ___ Python tracker ___ _

[issue775309] button methods tkButtonDown, etc don't work

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: Thanks for remembering, Daniel. Closing as noted above. -- resolution: -> out of date status: open -> closed superseder: -> Remove dead code from Tkinter.py ___ Python tracker

[issue848910] Enable crosscompilation

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Seems out-of-date, more recent efforts should go into a new issue IMO. This issue focus on generic aspects of cross-compilation, as issue 1006238 (patch). I think issue 660095 (if still valid!) is akin to this problem. -- nosy: +ajaksu2 ___

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Robin Dunn
Changes by Robin Dunn : Added file: http://bugs.python.org/file12997/Snap001.png ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Robin Dunn
Changes by Robin Dunn : Added file: http://bugs.python.org/file12998/Snap002.png ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Robin Dunn
Changes by Robin Dunn : Added file: http://bugs.python.org/file12996/sample.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Robin Dunn
Robin Dunn added the comment: Ok, the following files will be attached: python.exe.manifest: This is a copy of the manifest resource that I put into the 2.6.1 python.exe file by hand for testing. The original manifest was the same but without the 2nd ... group. sample.py: the simple little sa

[issue775309] button methods tkButtonDown, etc don't work

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: gpolo: So this one should be closed, right? Out-of-date and superseded by issue 4350. -- nosy: +ajaksu2 ___ Python tracker ___ _

[issue775321] plistlib error handling

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Here's a very simple patch, is this the only path for errors from garbage? I think docs are needed too: if apps catching ExpatError explicitly, will break. Not sure if this should actually change, as I don't use plistlib. I havve nothing against closing this RFE

[issue748843] Let Email.Utils.parsedate use last 3 timetuple items

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Should I update/correct the patch or is this a won't fix? -- nosy: +ajaksu2, georg.brandl ___ Python tracker ___ ___

[issue624827] Creation of struct_seq types

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Issue 980098 was considered obsolete now there is namedtuple, so this one should be closed too. -- nosy: +ajaksu2 ___ Python tracker ___ ___

[issue500698] Taint a la Perl?

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: On http://mail.python.org/pipermail/python-dev/2008-November/083732.html Nicole King wrote: """ I found I needed support for taint mode in python and have done some work to realise this. It's by no means complete at this time, but I'm floating this idea on this g

[issue3244] multipart/form-data encoding

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: So, what is the best way to go about this (beyond docs and tests)? Beat the linked recipe into a patch, adapt Chris' implementation? -- nosy: +ajaksu2 ___ Python tracker

[issue727898] Support for sending multipart form data

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Superseder: issue 3244. -- nosy: +ajaksu2 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue713169] test_pty fails on HP-UX and AIX when run after test_openpty

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Unless this still is a confirmed problem in supported platforms, closing suggested. -- components: +Tests -Build nosy: +ajaksu2 type: -> behavior ___ Python tracker __

[issue816059] popen2 work, fixes bugs 768649 and 761888

2009-02-09 Thread Daniel Diniz
Daniel Diniz added the comment: Maybe this is a won't fix, since popen2 in long deprecated? -- nosy: +ajaksu2 ___ Python tracker ___ ___

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-02-09 Thread David Margrave
David Margrave added the comment: I'm not down in the weeds on this one at the moment (it was a long time ago and I've mostly forgotten about it), but recall that I agreed with jjlee's 3/15/07 annotation: http://bugs.python.org/msg31276 At least, I was able to get my application working by jus

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Martin v. Löwis
Martin v. Löwis added the comment: Can you provide an example of a manifest file, and a Python script, that demonstrates the problem? I have only heard of themes, never seen them myself. ___ Python tracker _

[issue5019] Specifying common controls DLL in manifest

2009-02-09 Thread Robin Dunn
Robin Dunn added the comment: If I understand correctly then setting an activation context won't help because by the time that an extension module is loaded the choice of which version of the common controls DLL will be loaded has already been made, and it may in fact already be loaded. The sys

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-02-09 Thread John J Lee
John J Lee added the comment: This bug refers to urllib2. Issue 918368 refers to urllib. It's the same problem in each case, though. ___ Python tracker ___ __

[issue918368] urllib doesn't correct server returned urls

2009-02-09 Thread John J Lee
John J Lee added the comment: This bug refers to urllib. Issue 1153027 refers to urllib2. It's the same problem in each case, though. -- nosy: +jjlee ___ Python tracker ___ _

[issue1777134] minidom pretty xml output improvement

2009-02-09 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-02-09 Thread John J Lee
John J Lee added the comment: Why? ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opt

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: Thanks Eric, committed in r69473. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue1777134] minidom pretty xml output improvement

2009-02-09 Thread Roy Wood
Roy Wood added the comment: This patch would be very useful to me, so I'm sad to see it's been languishing for so long. :-( Is there any way to encourage the maintainer to merge this into the current branch? -- nosy: +rrwood ___ Python tracker

[issue5122] test_tcl and test_ttk_guionly don't like each other

2009-02-09 Thread Eric Smith
Eric Smith added the comment: The current patch (protect_tk_loading.diff) looks reasonable to me, and it solves my problem with the tests hanging. So I'd suggest you commit the patch, insofar it improves on the current situation. I'm not an expert in tk, however. So if you're looking for advice

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2009-02-09 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think applying Rhamphoryncus' patch in #1722344 fixes this too (that is, move WaitForThreadShutdown from the end of PyMain into Py_Finalize, so it is always called) But it should be tested on several platforms. -- nosy: +gagenellina

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2009-02-09 Thread Mark Dickinson
Mark Dickinson added the comment: > This has been addressed in issue #2636. Are you sure about this? Does the proposed new regex engine use Thompson NFAs, or some variant thereof? -- nosy: +marketdickinson ___ Python tracker

[issue3783] dbm.sqlite proof of concept

2009-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Unassigning. The code works but no one seems to be pushing for or caring about inclusion in Py3.1. If commits are delayed, then you might as well adopt the dbdict.py approach instead (reading the file in once at the beginning, operating directly on a dict

[issue5169] Default hash not equal to id on AMD Sempron

2009-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Tim, any thoughts? -- assignee: -> tim_one nosy: +tim_one ___ Python tracker ___ ___ Python-bugs

[issue5169] Default hash not equal to id on AMD Sempron

2009-02-09 Thread Mark Dickinson
Mark Dickinson added the comment: See issue 5186 for using id()/8 for the hash. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue5169] Default hash not equal to id on AMD Sempron

2009-02-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, please post the bugid for the "hash>>3" issue. It is interesting enough to pursue it. -- resolution: invalid -> status: closed -> open ___ Python tracker __

[issue1662581] the re module can perform poorly: O(2**n) versus O(n**2)

2009-02-09 Thread Matthew Barnett
Matthew Barnett added the comment: This has been addressed in issue #2636. -- nosy: +mrabarnett ___ Python tracker ___ ___ Python-b

[issue1566086] RE (regular expression) matching stuck in loop

2009-02-09 Thread Matthew Barnett
Matthew Barnett added the comment: This problem has been addressed in issue #2636. Extra checks have been added to reduce the amount of backtracking. -- nosy: +mrabarnett ___ Python tracker

[issue5175] negative PyLong -> C unsigned integral, TypeError or OverflowError?

2009-02-09 Thread Mark Dickinson
Mark Dickinson added the comment: > However, I would like to wait until Tim comments on this. You may be in for a long wait! I hesitate to make the heretical suggestion that there may be more important things in life than fixing minor inconsistencies in Python, but I think it's possible that

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: I've added some tests for it on r69467 now. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-02-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: One thing I forgot: - please don't make lines longer than 80 characters :-) Once the code has settled down, it would also be interesting to know if performance has changed compared to the previous implementation. ___ Python

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-02-09 Thread Rob Probin
Rob Probin added the comment: Appears to be the same as issue 918368 -- nosy: +robzed ___ Python tracker ___ ___ Python-bugs-list m

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-02-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Besides the fact that this is probably great work, I really wonder who will have enough time and skills to review such a huge patch... :-S In any case, some recommendations: - please provide patches against trunk; there is no way such big changes will get commi

[issue918368] urllib doesn't correct server returned urls

2009-02-09 Thread Rob Probin
Rob Probin added the comment: I agree - this appears to be the same as issue 1153027 ? ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-02-09 Thread Gabriel Genellina
Gabriel Genellina added the comment: I think this report is outdated and no more relevant. -- nosy: +gagenellina ___ Python tracker ___ ___

[issue1005113] test__locale fails on MacOS X

2009-02-09 Thread Brett Cannon
Brett Cannon added the comment: It's probably out of date. I will check if it is still failing tonight or tomorrow probably. -- assignee: jackjansen -> brett.cannon ___ Python tracker ___

[issue4347] Circular dependency causes SystemError when adding new syntax

2009-02-09 Thread Brett Cannon
Brett Cannon added the comment: On Mon, Feb 9, 2009 at 01:11, Thomas Lee wrote: > > Thomas Lee added the comment: > > This would appear to be another build quirk: Lib/symbol.py needs to be > regenerated if Grammar/Grammar changes. > > Brett, do you think it would be okay for this file to be ge

[issue5120] Disabling test_ttk_guionly on mac

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: The abort still happens occasionally, see: http://www.python.org/dev/buildbot/all/OS%20X%20x86%20trunk/builds/118/step-test/0 (last lines) I've talked with Daniel Steffen, who is one of the maintainers of Tcl/Tk on Mac OSX, and I was told that all this conditio

[issue5171] itertools.product docstring missing 'repeat' argument

2009-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed in r69466. Benjamin, do you want to merge it to 2.6, 3.0, and 3.1? -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue4575] Py_IS_INFINITY defect causes test_cmath failure on x86

2009-02-09 Thread Mark Dickinson
Mark Dickinson added the comment: Merged to py3k in r69465. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue5193] Guarantee that Tkinter.Text.search returns a string

2009-02-09 Thread Guilherme Polo
New submission from Guilherme Polo : Tkinter.Text.search is supposed to return a string, but this is not always true. The problem is much more likely to be noticed while using Tk 8.5. -- components: Tkinter files: ensure_search_returns_str.diff keywords: patch messages: 81465 nosy: gpolo

[issue1818] Add named tuple reader to CSV module

2009-02-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Consider providing a hook to a function that converts non-conforming field names (ones with a leading underscore, leading digit, non-letter, keyword, or duplicate name). class NamedTupleReader: def __init__(self, f, fieldnames=None, restkey=None, restval

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed on r69461, r69462, r69463 and r69464, thanks. Will be adding tests for Tkinter.Text.search for trunk and py3k only. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue1519638] Unmatched Group issue - workaround

2009-02-09 Thread Gerard
Gerard added the comment: Matthew, Thanx for the heads-up! Regards, Gerard. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue5192] Update log message formatting.

2009-02-09 Thread David W. Lambert
New submission from David W. Lambert : Allow logger object log message creation methods using ''.format method. have: logger_object.info('%s','lazy is better') logger_object.debug('{0!s}'.format('wasted effort')) want: logger_object.debug('{0}','Lazy') Work'rounds from pep282: if log.isEn

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Changes by Guilherme Polo : -- assignee: -> gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1589266] bdist_sunpkg distutils command

2009-02-09 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.3 ___ Python tracker ___ ___

[issue1222585] C++ compilation support for distutils

2009-02-09 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1083299] Distutils doesn't pick up all the files it should.

2009-02-09 Thread Akira Kitada
Akira Kitada added the comment: I don't think that's not depends keyword is used for. I assume explanation on issue5158 is the way that "depends" is supposed to be used. -- nosy: +akitada, tarek ___ Python tracker

[issue5191] Partial function application 'from the right'

2009-02-09 Thread Calvin Spealman
Changes by Calvin Spealman : -- nosy: +ironfroggy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue4804] Python on Windows disables all C runtime library assertions

2009-02-09 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ok, how about this comment, Martin? /* Microsoft CRT in VS2005 and higher will verify that a filehandle is * valid and throw an assertion if it isn't. * Normally, an invalid fd is likely to be a C program error and therefore * an assertion can be us

[issue4575] Py_IS_INFINITY defect causes test_cmath failure on x86

2009-02-09 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed (I hope!) in the trunk in r69459. I'll wait for buildbot results (just in case) and then merge to 2.6, 3.1 and 3.0. The same test_cmath failure can also be seen on OS X 10.5.6/Intel when compiling with -fmpmath=387. Annoyingly, the fix above doesn't w

[issue5191] Partial function application 'from the right'

2009-02-09 Thread Ben North
Changes by Ben North : Added file: http://bugs.python.org/file12992/test_functools.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5191] Partial function application 'from the right'

2009-02-09 Thread Ben North
Changes by Ben North : -- keywords: +patch Added file: http://bugs.python.org/file12991/_functoolsmodule.patch ___ Python tracker ___ _

[issue5191] Partial function application 'from the right'

2009-02-09 Thread Ben North
New submission from Ben North : The functools module includes a 'partial' class, which allows partial function application either by positional arguments or keyword arguments. However, it cannot be used to create, for example, a function splitting a string on commas, or a function to extracts lo

[issue5190] optparse doex not export make_option

2009-02-09 Thread Bluebird
New submission from Bluebird : The documentation of optparse mentions make_option() as the standard way to create an option list: For example, in the doc of python 2.5: 14.3.3.2 Populating the parser [...] pass it an Option instance (as returned by make_option()) [...] option_list =

  1   2   >