On Fri, 7 Jan 2005 19:40:18 -0800 (PST), Ilya Sandler [EMAIL PROTECTED] wrote:
Eg. I just looked at xdrlib.py code and it seems that almost every
invocation of struct._unpack would shrink from 3 lines to 1 line of code
(i = self.__pos
self.__pos = j = i+4
data =
On Saturday 08 January 2005 00:05, Jack Jansen wrote:
This patch implements the proposed direct framework linking:
http://python.org/sf/1097739
Looks good, I'll incorporate it. And as I haven't heard of any
showstoppers for the -undefined dynamic_lookup (and Anthony seems to be
offline
First, let me say two things:
(a) A higher-level API can and should be constructed which acts like a
(binary) stream but has additional methods for reading and writing
values using struct format codes (or, preferably, somewhat
higher-level type names, as suggested). Instances of this API should
I'd love to see a 'split' and a 'join' function in the csv module to
just convert between string and list without having to bother about
files.
Something like
csv.split(aStr [, dialect='excel'[, fmtparam]]) - list object
and
csv.join(aList, e[, dialect='excel'[, fmtparam]]) - str object
Is there a reason the standard library needs both os.removedirs and
shutil.rmtree? They seem awful similar to me (I can see they aren't really
identical). Ditto for os.renames and shutil.move. Presuming they are all
really needed, is there some reason they don't all belong in the same
module?
On Sat, Jan 08, 2005 at 02:45:25PM -0600, Skip Montanaro wrote:
Is there a reason the standard library needs both os.removedirs and
shutil.rmtree? They seem awful similar to me (I can see they aren't really
identical). Ditto for os.renames and shutil.move. Presuming they are all
really
Hello
using current cvs Python on Linux, I observe this weird
behavior of the readline() method on file-like objects
returned from the codecs module:
[EMAIL PROTECTED] ypage]$ cat testfile1.txt
xxx yyy
offending line: ladfj askldfj klasdj