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
> offl
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
be
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
Fe
Patch / Bug Summary
___
Patches : 267 open ( +6) / 2727 closed ( +9) / 2994 total (+15)
Bugs: 798 open ( -3) / 4748 closed (+15) / 5546 total (+12)
RFE : 165 open ( +0) / 140 closed ( +1) / 305 total ( +1)
New / Reopened Patches
__
Remove wi
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?
S
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 n
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 fskl
On 2005-01-09, at 04.11, Irmen de Jong wrote:
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:
[...]
See how it breaks certain lines in half?
It only happens when a certain encoding is used, so regu