Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2002-07-01 17:27:27
Size: 2480
Editor: h206n3fls22o980
Comment:
Revision 3 as of 2005-10-10 11:05:01
Size: 2480
Comment:
No differences found!

Miscellaneous Patches

See also Python20CriticalPatches and Python20FrequentlyAskedQuestions.

Library modules

Note these links are invalid since the transition away from cvsweb.

Building

Long file support on Linux

(Not a diff or patch, but worth a mention.)

On some Linux systems, you can enable long support as follows:

  • export CC="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64";
  • /configure

But then file.tell() may return negative numbers for positions over 2G, due to an apparent libc bug. As a work-around, change the function _portable_ftell() in Objects/fileobject.c to use the fgetpos() case.

Python20MiscPatches (last edited 2019-12-15 05:20:27 by FrancesHocutt)

Unable to edit the page? See the FrontPage for instructions.