[issue1155] Carbon.CF memory management problem

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1727780] 64/32-bit issue when unpickling random.Random

2007-09-17 Thread Shawn Ligocki
Shawn Ligocki added the comment: Yep, tested it on a 64-bit machine and 2 32-bit machines and back and forth between them. It seems to resolve the problem. _ Tracker <[EMAIL PROTECTED]>

[issue1141] reading large files

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: I'm closing this because the slow I/O issue is known and expected to be resolved as part of the Python 3.0 development. The Windows problems with missing lines should be opened as a separate issue. -- nosy: +jafo resolution: -> duplicate status: op

[issue1149] fdopen does not work as expected

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: I do not believe this is a Python problem but instead a problem with your code. I believe the problem is likely that you still have a copy of the stdout is open, the fork that is reading also gets associated with that same file. I can't point you at any spe

[issue1686386] Python SEGFAULT on tuple.__repr__ and str()

2007-09-17 Thread Brett Cannon
Changes by Brett Cannon: -- status: pending -> open _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1131] Reference Manual: "for statement" links to "break statement"

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: I don't know anything about the .chm file. Fred: Do you know where this comes from? -- assignee: jafo -> fdrake nosy: +fdrake status: pending -> open __ Tracker <[EMAIL PROTECTED]>

[issue1131] Reference Manual: "for statement" links to "break statement"

2007-09-17 Thread Martoon
Martoon added the comment: It's the Python25.chm file in the Windows distro. I don't have a linux box or a Mac, so I can't verify anything on them. I suspect it's just the .chm file in Windows. If you open it, click the "Index" tab, and select "for" or "for statement" from the keyword list, it

[issue1727780] 64/32-bit issue when unpickling random.Random

2007-09-17 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Commited in trunk revision 58183 and 25-maint revision 58184. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue755670] improve HTMLParser attribute processing regexps

2007-09-17 Thread T. Middleton
T. Middleton added the comment: I for one thank smroid for the patch. I also have hit *all* of these cases in the wild. This patch makes real-life a lot less frustrating. This patch is surely a lot more preferable than HTMLParser's tendency to just throw up its hands and quietly give up. And o

[issue1014] cgi: parse_qs and parse_qsl misbehave on empty strings

2007-09-17 Thread Guido van Rossum
Guido van Rossum added the comment: I don't see what the problem is. You requested strict_parsing=True, and this is what strict parsing does. -- resolution: -> wont fix status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Yes, please. Thanks. -- assignee: lemburg -> jafo __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue1173] yield expressions not documented in Language Reference

2007-09-17 Thread Bruce Frederiksen
Changes by Bruce Frederiksen: -- components: Documentation severity: minor status: open title: yield expressions not documented in Language Reference type: rfe versions: Python 2.5 __ Tracker <[EMAIL PROTECTED]>

[issue1014] cgi: parse_qs and parse_qsl misbehave on empty strings

2007-09-17 Thread Senthil
Senthil added the comment: Hi Sean, This is a very minor issue (IMO) with Python 2.4. Why did you assign it to gvanrossum? Makes me wonder at your assignments. Thanks, Senthil __ Tracker <[EMAIL PROTECTED]>

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1174] new generator methods not documented in Library Reference

2007-09-17 Thread Bruce Frederiksen
New submission from Bruce Frederiksen: The 2.5 library documentation mentions the new GeneratorExit exception, but does not show Generator Types with the new 'send', 'throw', 'close' and '__del__' methods. -- components: Documentation messages: 55981 nosy: dangyogi severity: minor status

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Shall I commit my "v2" patch then, to 2.5.2 and trunk? It has the code in the uname() method, as you say. __ Tracker <[EMAIL PROTECTED]> __ __

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: A couple of notes: * platform.uname() needs to be fixed, not the individual query functions. * The third entry of uname() should return "Vista" instead of "Microsoft" on MS Vista. * A patch should go on trunk and into 2.5.2, since this is a real bug and no

[issue1158] %f format for datetime objects

2007-09-17 Thread Skip Montanaro
Skip Montanaro added the comment: Brett> In terms of strptime, I would just change _strptime.strptime() to Brett> _strptime._strptime() and have it return everything along with Brett> the microseconds measurement. Then have public functions that Brett> call that function and either s

[issue1172] Documentation for done attribute of FieldStorage class

2007-09-17 Thread Bob Kline
.rst.diff messages: 55975 nosy: bkline severity: normal status: open title: Documentation for done attribute of FieldStorage class type: rfe __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1172> ______--- cgi.rst

[issue1126] file.fileno and file.isatty() should be implementable by any file like object

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: I'm thinking that nirs is not thinking of this in the "duck typing" environment. Duck typing says that you implement things that are appropriate for your object type, and code does what it needs to do. If the object doesn't support attributes that the code

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Attached is a patch that fixes uname() instead of the individual helpers. I agree that is the better way to do it. Again, not tested on Windows because I don't have it. What about adding a "isWindows()" sort of method that does the right thing, or "amIRunn

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Pat LaVarre
Pat LaVarre added the comment: I recommend we reject this first draft of the python-trunk- vistaplatform.patch. I reason as follows ... ACTUAL RESULTS OF 2.5.1 PLUS PATCH IN VISTA WINDOWS: >>> import platform >>> ... >>> platform.uname() ('Microsoft', '[redacted]', 'Windows', '6.0.6000', '', '

[issue1150] Rename PyBUF_WRITEABLE to PyBUF_WRITABLE

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Comitted as revision 58182, with additional change mentioned by Guido. __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue1150] Rename PyBUF_WRITEABLE to PyBUF_WRITABLE

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1171] allow subclassing of bytes type

2007-09-17 Thread Mathieu Fenniak
New submission from Mathieu Fenniak: Uploading patch to make bytes type subclassable. As e-mailed to python-3000 list during discussion with Guido, attached patch to make bytes type subclassable. Included are unit tests, and a minor fix for pickling subclass instances (including __dict__ in byt

[issue1170] shlex have problems with parsing unicode

2007-09-17 Thread dexen deVries
dexen deVries added the comment: One remark to previous message: the first time i created shlex object in non-POSIX mode (the default), in later it's in POSIX mode (due to the third parameter to shlex being True). The bug in question manifests only in POSIX mode. BTW, that so-called POSIX mode

[issue1170] shlex have problems with parsing unicode

2007-09-17 Thread dexen deVries
dexen deVries added the comment: A quick paste to illustrate: the exception is raised only when unicode object is passed to shlex. Warning: the cStringIO module is unsuitable for use there, only the StringIO. cStringIO does not output unicode. dexen!muraena!~$ python Python 2.5.1 (r251:54863,

[issue1170] shlex have problems with parsing unicode

2007-09-17 Thread dexen deVries
New submission from dexen deVries: Feeding unicode to shlex object created in POSIX compat mode causes UnicodeDecodeError to be raised. It appears that shlex object defines sting .wordchars, containing latin-1 (iso8859-1) encoded characters with charcodes >=128, which is used to check whether

[issue1158] %f format for datetime objects

2007-09-17 Thread Brett Cannon
Brett Cannon added the comment: In terms of strptime, I would just change _strptime.strptime() to _strptime._strptime() and have it return everything along with the microseconds measurement. Then have public functions that call that function and either strip off the microseconds or not. -Brett

[issue1170] shlex have problems with parsing unicode

2007-09-17 Thread dexen deVries
Changes by dexen deVries: -- components: Library (Lib), Unicode severity: normal status: open title: shlex have problems with parsing unicode type: behavior versions: Python 2.5 __ Tracker <[EMAIL PROTECTED]> ___

[issue1150] Rename PyBUF_WRITEABLE to PyBUF_WRITABLE

2007-09-17 Thread Guido van Rossum
Guido van Rossum added the comment: Looks good. Check it in, with one small addition: add #define PyBUF_WRITEABLE PyBUF_WRITABLE for those NumPy folks who can't help writing the alternate spelling ('writeable' *is* in some dictionaries, though it is consistently flagged as invalid by spell che

[issue1158] %f format for datetime objects

2007-09-17 Thread Skip Montanaro
Skip Montanaro added the comment: Brett, Continuing the discussion of strptime... It returns a time.struct_time. Would it cause too much breakage (only do this in 3.0) to add a tm_usec field to the end of that object? It seems a lot of bits of code might still expect a length 9 tuple-ish thing

[issue1126] file.fileno and file.isatty() should be implementable by any file like object

2007-09-17 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: The documentation does not say what's implied by msg55724; they methods can (and arguably should) be implmented by types for which they apply (for which there is a corresponding file descriptor, for example). There is an API issue here as well: what about a

[issue1123] split(None, maxsplit) does not strip whitespace correctly

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: I believe this is just a place where the documentation could be cleared up. Seems to me the confusion is from the document saying (paraphrased): "white space is removed from both ends". Perhaps it should say something like "runs of 1 or more whitespace are

[issue1019] Cleanup pass on _curses and _curses_panel

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> low __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1599254] mailbox: other programs' messages can vanish without trace

2007-09-17 Thread Peter Lloyd
Changes by Peter Lloyd: -- nosy: +peter.ll _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1150] Rename PyBUF_WRITEABLE to PyBUF_WRITABLE

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Attached is a patch that fixes "writeable". I'm thinking, close this if the patch looks ok, and open another for a general "identify non-englishisms" ticket, once they're identified a ticket could be opened to fix them. I fixed only the PyBUF instances but

[issue815646] thread unsafe file objects cause crash

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: If I read the 2003 python-dev thready correctly, there isn't a solution to this. Does this need to go back to python-dev, or do we just call it "wont fix"? Or...? -- assignee: -> tim_one nosy: +jafo, tim_one T

[issue1727780] 64/32-bit issue when unpickling random.Random

2007-09-17 Thread Shawn Ligocki
Shawn Ligocki added the comment: I've got a patch! The problem was that the state was being cast from a C-type unsigned long to a long. On 32-bit machines this makes large 32-bit longs negative. On 64-bit machines this preserves the sign of 32-bit values (because they are stored in 64-bit longs)

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: It's not clear to me what the next step is here, does one or more of the other folks need to provide some input? Georg: If you are looking for something from someone, can you assign the ticket to them? -- assignee: -> georg.brandl nosy: +jafo

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

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: urgent -> normal _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsub

[issue1144] parsermodule validation out of sync with Grammar

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1140] re.sub returns str when processing empty unicode string

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Applied as revision 58179 to 2.5 maintenance branch, passes tests. -- nosy: +jafo priority: -> low status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1114] _curses issues on 64-bit big-endian (e.g, AIX)

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> akuchling components: +Library (Lib) -Extension Modules nosy: +akuchling priority: -> normal __ Tracker <[EMAIL PROTECTED]> __

[issue1137] pyexpat patch for changing buffer_size

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> akuchling nosy: +akuchling priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bug

[issue1131] Reference Manual: "for statement" links to "break statement"

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Can I get more information about how to reproduce this? What is it you do to get to this? It sounds like you're talking about some HTML documentation, but if I go to the current documentation in the Language section, and click on the "for" section, I do get

[issue1126] file.fileno and file.isatty() should be implementable by any file like object

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: This is a documentation complaint, right? Perhaps more of a discussion of why not implement these attributes on file-like objects. In general, I believe the documentation is correct. Setting fileno to -1 is likely to break other things in unexpected ways.

[issue1124] Webchecker not parsing css "@import url"

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> low severity: normal -> minor status: open -> pending __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1014] cgi: parse_qs and parse_qsl misbehave on empty strings

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> gvanrossum nosy: +gvanrossum priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue1108] Problem with doctest and decorated functions

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> tim_one nosy: +tim_one priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-li

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1005] Patches to rename Queue module to queue

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1115] Minor Change For Better cross compile

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> loewis nosy: +loewis priority: -> low __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list ma

[issue1110] Problems with the msi installer - python-3.0a1.msi

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> loewis priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> gvanrossum nosy: +gvanrossum priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1077] itertools missing, causes interactive help to break

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> georg.brandl priority: -> low severity: urgent -> normal __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1045] Performance regression in 2.5

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> tim_one nosy: +tim_one priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-li

[issue1022] use bytes for code objects

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> gvanrossum priority: -> low resolution: -> remind __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue1086] test_email failed

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1086] test_email failed

2007-09-17 Thread Martin v. Löwis
Changes by Martin v. Löwis: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/pyt

[issue1061] ABC caches should use weak refs

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> georg.brandl priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing

[issue1047] py3k: corrections for test_subprocess on windows

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> low __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1032] Improve the hackish runtime_library_dirs support for gcc

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> loewis nosy: +loewis priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: NOTE: See also issue1032 which has a patch for this. Can we come to a consensus on which one has the best patch? -- assignee: -> loewis nosy: +jafo, loewis _ Tracker <[EMAIL PROTECTED]>

[issue1027] uudecoding (uu.py) does not supprt base64, patch attached

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Supplied patch passes "make test", BTW. -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue1004] MultiMethods with type annotations in 3000

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> gvanrossum nosy: +gvanrossum priority: -> low __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue1087] py3k os.popen result is not iterable, patch attached

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: -> aimacintyre nosy: +aimacintyre priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue1082] platform system may be Windows or Microsoft since Vista

2007-09-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Attached a patch which I *THINK* fixes this, but I don't run Windows. Can someone else check this? -- assignee: -> lemburg nosy: +jafo, lemburg priority: -> normal __ Tracker <[EMAIL PROTECTED]>