Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80
Hi Tim, On Tue, Dec 21, 2004 at 05:21:29PM -0500, Tim Peters wrote: we reverted to repr/eval, which is quite slower (and actually not guaranteed to work across Python versions either: string escapes sometimes change). Really? The precise rules str's __repr__ uses for which escapes to produce certainly change, but I don't recall any case outside Unicodeland where a new string escape was ever introduced. My mistake, I seemed to remember something along these lines but you are obviously right. Python 1.5.2 reads all escapes of a recent Python just fine. Armin ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Problem with ./configure (py2.3.4)
I have problem with re-install python 2.3.4, when I execute ./configure is appear one message in config.log, follow below : configure:1710: gccconftest.cc 5 gcc: installation problem, cannot exec `cc1plus': No such file or directory configure:1713: $? = 1 My gnu/linux is 2.6.8-1-386(debian/sarge) Somebody could help me? Regards, -- Andre Amram Duque Consultor de Sistemas VARIG Brazilian Airlines - RIONS GGTI - Gerencia Geral de Tecnologia da Informacao Tel.: + 55-0XX-21-3814-5920 Fax:: + 55-0XX-21-3814-5796 e-mail: [EMAIL PROTECTED] ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Re: Problem with ./configure (py2.3.4)
hi andre, I have problem with re-install python 2.3.4, when I execute ./configure is appear one message in config.log, follow below : configure:1710: gccconftest.cc 5 gcc: installation problem, cannot exec `cc1plus': No such file or directory configure:1713: $? = 1 My gnu/linux is 2.6.8-1-386(debian/sarge) Somebody could help me? Since this is most likely a problem with your local configuration, it's pretty much off-topic for python-dev. I suggest asking for help on comp.lang.python instead. (but feel free to return if you can confirm that this really is a problem with the ./configure file, and that the problem is still there in Python 2.4). /F ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patches: 1 for the price of 10.
Jeremy Hylton wrote: I got started on these this morning, will likely finish them tomorrow. It would be perverse to apply your patch last, wouldn't it? It turns out that Titus' patch might be more involved than he thought it would be. In any case, the review itself is a highly appreciated contribution. In the hope that this progress can trigger more contributions like this, I'll happily reduce the requirements to 5 reviews. Regards, Martin ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patches: 1 for the price of 10.
Martin v. Löwis wrote: Jeremy Hylton wrote: I got started on these this morning, will likely finish them tomorrow. It would be perverse to apply your patch last, wouldn't it? It turns out that Titus' patch might be more involved than he thought it would be. In any case, the review itself is a highly appreciated contribution. In the hope that this progress can trigger more contributions like this, I'll happily reduce the requirements to 5 reviews. And to help this along I am willing to officially toss my hat into the fray by being another person who will review a patch if someone does 5 reviews (sans anything that doesn't work on OS X, which leaves out Tkinter). -Brett ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patches: 1 for the price of 10.
- Jeremy Hylton wrote: - I got started on these this morning, will likely finish them tomorrow. - It would be perverse to apply your patch last, wouldn't it? - - It turns out that Titus' patch might be more involved than he thought - it would be. *shrug* that's life ;). I stole my patch from the other HTMLParser thought that would be sufficient; now I'll have to fix both! - In any case, the review itself is a highly appreciated contribution. It was very educational; just wish I could remember to always submit context diffs! sigh The only patch that I think deserves some actual discussion - here or on c.l.p, not sure which -- is patch 755660, which deals with HTMLParser.HTMLParser. The goal of the original submitter was to allow subclasses of HTMLParser deal with bad HTML in a more robust way; essentially this comes down to allowing returns from self.error() calls. I have now come across the same problem in my work with PBP (pbp.berlios.de): it turns out that many Web pages (such as the SourceForge mailman admindb page...) contain errors that cause HTMLParser to raise an exception. It's simply not possible to reliably change this behavior within either htmllib.HTMLParser or HTMLParser.HTMLParser as they're currently written. This is a big problem for people basing packages on either HTMLParser class. An additional problem is that both HTMLParser.HTMLParser and htmllib.HTMLParser are based on other classes that call self.error(), so those base classes would have to altered to fit the new behavior. What I proposed doing in my comment on patch 755660 was changing HTMLParser.HTMLParser (and its base class markupbase, too) to call _fail() when a hard failure was called for, and otherwise to call error() and proceed parsing on an as-best-possible basis. This wouldn't change the *behavior* of the existing code, but would allow for it to be overridden when necessary. Right now the error() call is undocumented and so it's probably ok to change what happens upon return. As is it can leave the parser in a borked state upon return, and that's the behavior I propose to fix. I'd of course be willing to do the work submit the more involved patch. Your opinions are not only welcome but (as I understand it) necessary ;). cheers, --titus ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Python for Series 60 released
Python runs on Nokia cell phones (the high-end ones, anyway) and has support from Nokia! Pretty cool all around. -- --Guido van Rossum (home page: http://www.python.org/~guido/) -- Forwarded message -- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wed, 22 Dec 2004 11:59:55 +0200 Subject: python for Series 60 released To: [EMAIL PROTECTED] Hello, like promised during EuroPython I let you know about the fact that Python for Symbian Series 60 is released. You may find it in www.forum.nokia.com by choosing under resources Tools and SDK's main page. Have a nice Christmas time. Best Regards, Michele Marchetti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python for Series 60 released
Merry Christmas to me! I actually purchased a Nokia Series 60 phone when this was first announced, in hopes that this would be available soon. A littler later than I'd have liked, but better than never :) -bob On Dec 22, 2004, at 9:19 PM, Guido van Rossum wrote: Python runs on Nokia cell phones (the high-end ones, anyway) and has support from Nokia! Pretty cool all around. -- --Guido van Rossum (home page: http://www.python.org/~guido/) -- Forwarded message -- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wed, 22 Dec 2004 11:59:55 +0200 Subject: python for Series 60 released To: [EMAIL PROTECTED] Hello, like promised during EuroPython I let you know about the fact that Python for Symbian Series 60 is released. You may find it in www.forum.nokia.com by choosing under resources Tools and SDK's main page. Have a nice Christmas time. Best Regards, Michele Marchetti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/bob%40redivi.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python for Series 60 released
Guido van Rossum wrote: Python runs on Nokia cell phones (the high-end ones, anyway) and has support from Nokia! Pretty cool all around. I couldn't find out which version of Python is supported - have they told you? Cheers. Tim Delaney ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python for Series 60 released
On Dec 22, 2004, at 11:22 PM, Tim Delaney wrote: Guido van Rossum wrote: Python runs on Nokia cell phones (the high-end ones, anyway) and has support from Nokia! Pretty cool all around. I couldn't find out which version of Python is supported - have they told you? Python 2.2.2 (#0, Dec 2 2004, 18:12:32) [GCC 2.9-psion-98r2 (Symbian build 540)] on symbian_s60 Type copyright, credits or license for more information. Type commands to see the commands available in this simple line editor. screenshot of a bluetooth serial session w/ the device: http://redivi.com/~bob/s60_python.pdf This is on a Series 60 v1.0 device (3650, IIRC). -bob ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patches: 1 for the price of 10.
1067760 -- float--long conversion on fileobj.seek calls, rather than float--int. Permits larger floats (2.0**62) to match large int (2**62) arguments. rhettinger marked as won't fix in the original bug report; this seems like a clean solution, tho. Recommend apply. Wouldn't this cause subtle errors when the float - long conversion is no longer precise? Or is this a non issue because it could only happen when seeking on impossibly large files? ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patches: 1 for the price of 10.
On Dec 23, 2004, at 12:36 AM, Timothy Fitz wrote: 1067760 -- float--long conversion on fileobj.seek calls, rather than float--int. Permits larger floats (2.0**62) to match large int (2**62) arguments. rhettinger marked as won't fix in the original bug report; this seems like a clean solution, tho. Recommend apply. Wouldn't this cause subtle errors when the float - long conversion is no longer precise? Or is this a non issue because it could only happen when seeking on impossibly large files? I think that Raymond marked as won't fix because automatic float - integer conversion has been deprecated since Python 2.3.0 (if not earlier), for exactly the reason you state. It's dumb. range(2.7) __main__:1: DeprecationWarning: integer argument expected, got float [0, 1] Apparently file.seek doesn't have this DeprecationWarning though.. Strange, that. f.seek(3.6) f.tell() 3L -bob ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patches: 1 for the price of 10.
Apparently file.seek doesn't have this DeprecationWarning though.. Strange, that. f.seek(3.6) f.tell() 3L That's a bug. Who'll fix it? -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Weekly Python Patch/Bug Summary
Patch / Bug Summary ___ Patches : 257 open ( -2) / 2715 closed ( +8) / 2972 total ( +6) Bugs: 807 open (-15) / 4717 closed (+32) / 5524 total (+17) RFE : 163 open ( +3) / 139 closed ( +0) / 302 total ( +3) New / Reopened Patches __ sgmllib.SGMLParser does not unescape attribute values; patch (2004-12-18) http://python.org/sf/1087808 opened by Titus Brown Patch for bug 1088077 (2004-12-19) http://python.org/sf/1088078 opened by Mike Meyer msi.py patch to build mingw library (2004-12-20) CLOSED http://python.org/sf/1088716 opened by Paul Moore acknowledge signals in non-main threads (2004-12-21) http://python.org/sf/1088832 opened by Andrew Langmead Patches Closed __ CGIHTTPServer can't redirect (2004-10-27) http://python.org/sf/1055159 closed by jhylton urllib2 HTTP digest authentication fix (2004-09-30) http://python.org/sf/1037974 closed by jhylton fix bsddb memory leaks (2004-06-06) http://python.org/sf/967763 closed by greg fast dictionary lookup by name (2002-09-07) http://python.org/sf/606098 closed by rhettinger add time elapsed to gc debug output (2003-06-26) http://python.org/sf/760990 closed by rhettinger Argument passing from /usr/bin/idle2.3 to idle.py (2003-11-30) http://python.org/sf/851459 closed by jafo fix bug in StringIO.truncate - length not changed (2004-05-11) http://python.org/sf/951915 closed by rhettinger msi.py patch to build mingw library (2004-12-21) http://python.org/sf/1088716 closed by loewis New / Reopened Bugs ___ inspect.py module (2004-12-18) CLOSED http://python.org/sf/1087551 opened by sprasanna199 mmap instance method access bug (2004-12-18) http://python.org/sf/1087735 opened by Josiah Carlson Mac: make frameworkinstall skips docs, scripts (2004-12-19) http://python.org/sf/1087737 opened by Jack Jansen example code not working (2004-12-19) CLOSED http://python.org/sf/1087975 opened by perica CGIHTTPServer: directories/scripts with spaces in their name (2004-12-19) http://python.org/sf/1088039 opened by LT [PATCH] tty needs a way to restore the terminal mode. (2004-12-19) http://python.org/sf/1088077 opened by Mike Meyer Comments regarding 'macintosh' behaviour wrong for MacOS X (2004-12-20) CLOSED http://python.org/sf/1088119 opened by James Matthew Farrow zlib decompressobj documentation typo (2004-12-20) CLOSED http://python.org/sf/1088206 opened by Scott David Daniels calculation wrong rounding (2004-12-20) CLOSED http://python.org/sf/1088563 opened by Sebastian Rockel _sre.c references uninitialised memory (2004-12-21) CLOSED http://python.org/sf/1088891 opened by Andrew McNamara need siginterrupt() on Linux - impossible to do timeouts (2004-12-21) http://python.org/sf/1089358 opened by Jason segfault/assert in tokenizer (2004-12-21) http://python.org/sf/1089395 opened by Walter Dörwald Carbon.Res misses GetIndString (2004-12-21) http://python.org/sf/1089399 opened by Jack Jansen Carbon.File.FSCatalogInfo.createDate implementation (2004-12-22) http://python.org/sf/1089624 opened by Ronald Oussoren _DummyThread() objects not freed from threading._active map (2004-12-22) http://python.org/sf/1089632 opened by saravanand Carbon.File.FSCatalogInfo.createDate implementation (2004-12-22) CLOSED http://python.org/sf/1089643 opened by Ronald Oussoren special methods become static (2004-11-14) http://python.org/sf/1066490 reopened by kquick mmap missing offset parameter (2004-12-22) http://python.org/sf/1089974 opened by James Y Knight exec scoping problem (2004-12-22) http://python.org/sf/1089978 opened by Kevin Quick Defaults in ConfigParser.get overrides section values (2004-12-22) http://python.org/sf/1090076 opened by Gabriel Genellina presentation typo in lib: 6.21.4.2 How callbacks are called (2004-12-22) http://python.org/sf/1090139 opened by Jesse Weinstein Bugs Closed ___ Tests fail instead of skip (2004-12-11) http://python.org/sf/1083645 closed by bcannon readline module doesn't build on MacOSX (2004-12-07) http://python.org/sf/1081045 closed by bcannon Python 2.4 crashes (2004-12-12) http://python.org/sf/1083793 closed by axel_kaiser inspect.py module (2004-12-18) http://python.org/sf/1087551 closed by jlgijsbers Possible error during LINKCC check in Configure.in (2004-06-25) http://python.org/sf/980127 closed by bcannon example code not working (2004-12-19) http://python.org/sf/1087975 closed by rhettinger Shared object modules in Windows have no __file__. (2003-10-05) http://python.org/sf/818315 closed by loewis Easier-to-create alternative Python installer for Windows (2003-08-22)