[issue2284] [PATCH] -x64 option added to pcbuild/rt.bat to facilitate testing of amd64\python[_d].exe.

2008-03-13 Thread Trent Nelson
New submission from Trent Nelson <[EMAIL PROTECTED]>: Looks like there's been a recent change to trunk such that x64 Windows builds now get placed in pcbuild\amd64 instead of just pcbuild (thanks to whoever added it). The attached patch against rt.bat allows it to be called with an -x64 arg,

[issue1659] Tests needing network flag?

2008-03-13 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: I think, for the cases that are not special-cased by regrtest, test.test_support.requires() should be used. -- assignee: brett.cannon -> skip.montanaro __ Tracker <[EMAIL PROTECTED]>

[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-03-13 Thread thekorn
thekorn <[EMAIL PROTECTED]> added the comment: I had some time this evening and tried to create a patch. I don't know if such a solution makes sense nor do I know if this fits in the process of fixing bugs in python. Markus -- keywords: +patch Added file: http://bugs.python.org/file9669

[issue2055] test_fcntl.py converted to unittest

2008-03-13 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Committed in revision 61375. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue2278] [Py30a3] xml.parsers.expat recognizes encoding="utf-8" but not encoding="utf8"

2008-03-13 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Should the parser recognize "utf8"? I looked at the XML standard [1] and it referred me to the IANA's charts [2]. It appears the the only correct way to denote UTF-8 is "UTF-8". [1] http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-Encodin

[issue1960] test_gdbm.py converted to unittest

2008-03-13 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Committed in revision 61374 (w/ changes so that the key stuff is not order-dependent). Thanks, Giampaolo! -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue745002] <> in attrs in sgmllib not handled

2008-03-13 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: >errr... why was my last message classified as spam? =( It's not your fault. The spam filter was just confused. Somebody with more powerful than me can, I believe, reeducate the spam filter and allow us to read it. -- nosy: +benjam

[issue1952] test_select.py converted to unittest

2008-03-13 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Went with another test_select conversion from GHOP that added more tests. Closing as rejected. -- resolution: -> rejected status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1163] Patch to make py3k/Lib/test/test_thread.py use unittest

2008-03-13 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Closing as out of date as a GHOP attempt at this got farther and committed. -- nosy: +brett.cannon resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2281] Enhanced cPython profiler with high-resolution timer

2008-03-13 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Attached are 2 Modules/_lsprof.c files, one for Python 2.5.2 and 2.6a1 and the other for Python 3.0a3. Discard the previously posted one. Both contain the same enhancements to use the high-resolution timer where available. These versions c

[issue1631171] implement warnings module in C

2008-03-13 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Add tests for the 'line' argument to formatwarning() and showwarning(). Added file: http://bugs.python.org/file9667/c_warnings.diff _ Tracker <[EMAIL PROTECTED]> ___

[issue2274] heapq API

2008-03-13 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: See r61369. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1306248] Add 64-bit Solaris 9 build instructions to README

2008-03-13 Thread Tim Mooney
Tim Mooney <[EMAIL PROTECTED]> added the comment: I agree with Terry's comment -- Python's build machinery for multi-abi systems is suboptimal, but documenting some methods that work for some people would at least help. -- nosy: +enchanter _ Tracker <

[issue1471934] Python libcrypt build problem on Solaris 8

2008-03-13 Thread Tim Mooney
Tim Mooney <[EMAIL PROTECTED]> added the comment: Paul, your comment in your patch, about this being fixed post Solaris 9, doesn't appear to be correct. I have x86_64-sun-solaris2.10 with all patches applied and the problem exists there too. I'm using Workshop 12. -- nosy: +enchanter

[issue745002] <> in attrs in sgmllib not handled

2008-03-13 Thread Paul Molodowitch
Paul Molodowitch <[EMAIL PROTECTED]> added the comment: errr... why was my last message classified as spam? =( Is there some policy here I'm violating that I'm unaware of? I would think consolidating of similar issues would be a good thing... Tracker <[EMAIL

[issue2283] lambda *a, **k: a, k # does not work

2008-03-13 Thread Raghuram Devarakonda
Raghuram Devarakonda <[EMAIL PROTECTED]> added the comment: I am closing it as invalid. -- nosy: +draghuram resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1619060] bisect on presorted list

2008-03-13 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: Thanks Raymond for checking on the status of this issue and Guido for thinking about it too. I still support the basic concept for the reasons I specified in the original description, namely maintaining a sorted list (or random-access i

[issue2283] lambda *a, **k: a, k # does not work

2008-03-13 Thread Mark Summerfield
Mark Summerfield <[EMAIL PROTECTED]> added the comment: On 2008-03-13, Imri Goldberg wrote: > Imri Goldberg <[EMAIL PROTECTED]> added the comment: > > This is not a bug, just missing parenthesis. > > >>> lambda x: x,x > > Traceback (most recent call last): > File "", line 1, in > NameError: na

[issue2283] lambda *a, **k: a, k # does not work

2008-03-13 Thread Imri Goldberg
Imri Goldberg <[EMAIL PROTECTED]> added the comment: This is not a bug, just missing parenthesis. >>> lambda x: x,x Traceback (most recent call last): File "", line 1, in NameError: name 'x' is not defined >>> lambda x: (x,x) at 0x8293e2c> -- nosy: +lorg

[issue1617161] Instance methods compare equal when their self's are equal

2008-03-13 Thread Armin Rigo
Armin Rigo <[EMAIL PROTECTED]> added the comment: Attached patch for python trunk with tests. It makes all three method types use the identity of their 'self'. -- keywords: +patch Added file: http://bugs.python.org/file9666/method_compare.diff _ Track

[issue2278] [Py30a3] xml.parsers.expat recognizes encoding="utf-8" but not encoding="utf8"

2008-03-13 Thread Mark Summerfield
Changes by Mark Summerfield <[EMAIL PROTECTED]>: -- components: +Library (Lib), XML type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Pyt

[issue2283] lambda *a, **k: a, k # does not work

2008-03-13 Thread Mark Summerfield
Changes by Mark Summerfield <[EMAIL PROTECTED]>: -- type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsu

[issue2283] lambda *a, **k: a, k # does not work

2008-03-13 Thread Mark Summerfield
New submission from Mark Summerfield <[EMAIL PROTECTED]>: According to the docs lambda can handle the same parameter list as can def. But this does not appear to be the case as the following (both 2.5.1 and 30a3) shows: >>> def f(*a, **kw): return a, kw >>> f(1,2,a=3,b=4) ((1, 2), {'a': 3, 'b':

[issue1720705] thread + import => crashes?

2008-03-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Added your remarks to threading docs in r61365. -- resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> ___

[issue1533486] long -> Py_ssize_t (C/API 1.2.1)

2008-03-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: PEP 353 says: "Py_intptr_t needs to be the same size as void*, and Py_ssize_t the same size as size_t. These could differ, e.g. on machines where pointers have segment and offset." _ Tracker <[EMAIL PROTECTED

[issue2270] Typo on 8.6.2.5 Document Objects page

2008-03-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r61364. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue2265] A line in the second example of "7.3.5 Examples" in "Python Library Reference" seems to be incorrect.

2008-03-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r61363. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _