Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -7/+3 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Removed unused variable. | Jack Jansen | 2001-11-06 | 1 | -1/+0 |
| | |||||
* | Some escaped newlines had spaces between the backslash and the newline. Also ↵ | Jack Jansen | 2001-10-23 | 1 | -7/+4 |
| | | | | slightly changed the comment on xstat(). | ||||
* | SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. | Guido van Rossum | 2001-10-18 | 1 | -36/+123 |
| | | | | | | | | | | | | | | | | | This is a big one, touching lots of files. Some of the platforms aren't tested yet. Briefly, this changes the return value of the os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the time functions localtime(), gmtime(), and strptime() from tuples into pseudo-sequences. When accessed as a sequence, they behave exactly as before. But they also have attributes like st_mtime or tm_year. The stat return value, moreover, has a few platform-specific attributes that are not available through the sequence interface (because everybody expects the sequence to have a fixed length, these couldn't be added there). If your platform's struct stat doesn't define st_blksize, st_blocks or st_rdev, they won't be accessible from Python either. (Still missing is a documentation update.) | ||||
* | test_glob found a nasty bug in GUSI opendir(): it will not fail when called ↵ | Jack Jansen | 2001-08-11 | 1 | -0/+18 |
| | | | | on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise. | ||||
* | (Finally) converted to new-style args. | Jack Jansen | 2001-08-03 | 1 | -37/+136 |
| | | | | | | | Added an optional (and ignored) 3d parameter to open() to make the signature compatible with posixmodule. Added the various O_ constants (by stealing the code from posixmodule). test_fileinput now passes. | ||||
* | Be more sensible about when to use TARGET_API_MAC_OS8 in stead of ↵ | Jack Jansen | 2001-05-12 | 1 | -6/+6 |
| | | | | !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation. | ||||
* | xstat() will never be implemented under Carbon. Fortunately it also doesn't ↵ | Jack Jansen | 2001-01-12 | 1 | -5/+5 |
| | | | | appear to be used anywhere. | ||||
* | Added a prototype for mstats(). | Jack Jansen | 2000-08-25 | 1 | -0/+2 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -6/+6 |
| | |||||
* | Got rid of __SC__ ifdefs. | Jack Jansen | 2000-07-11 | 1 | -4/+0 |
| | |||||
* | ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO. | Jack Jansen | 2000-07-11 | 1 | -15/+15 |
| | |||||
* | Removed USE_STDWIN support. | Jack Jansen | 2000-06-04 | 1 | -12/+1 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 1 | -0/+18 |
| | | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there. | ||||
* | Fixed to work again without USE_GUSI | Jack Jansen | 2000-05-12 | 1 | -4/+1 |
| | |||||
* | Started on GUSI2 and threading support. | Jack Jansen | 2000-04-07 | 1 | -8/+18 |
| | |||||
* | Add fstat() if using GUSI | Jack Jansen | 1998-02-20 | 1 | -24/+29 |
| | |||||
* | New exception interface | Jack Jansen | 1997-10-07 | 1 | -3/+2 |
| | |||||
* | - Changed the m# format for PyArg_ParseTuple back to s# | Jack Jansen | 1997-05-07 | 1 | -1/+1 |
| | | | | - c2pstr has moved to a different include file | ||||
* | - Changed GestaltEqu.h to Gestalt.h | Jack Jansen | 1997-02-24 | 1 | -1/+1 |
| | | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit) | ||||
* | Comments around identifier after #endif | Jack Jansen | 1997-02-20 | 1 | -1/+1 |
| | |||||
* | Added/updated copyright notices | Jack Jansen | 1997-01-31 | 1 | -1/+1 |
| | | | | (and the &*^$%@ resource files got binhexed again, sigh) | ||||
* | Renamed | Jack Jansen | 1997-01-30 | 1 | -185/+184 |
| | |||||
* | Malloc debugging now flagged with USE_MALLOC_DEBUG | Jack Jansen | 1996-10-23 | 1 | -6/+3 |
| | |||||
* | Fixed xstat to again include resroucefork size, creator, type. Obtain | Jack Jansen | 1996-10-15 | 1 | -14/+50 |
| | | | | | thru macstat(), but other values via stat() (so os.stat() and os.xstat() agree). | ||||
* | GUSI mkdir() lost its dummy second arg | Jack Jansen | 1996-08-06 | 1 | -0/+4 |
| | |||||
* | Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd() | Jack Jansen | 1996-03-06 | 1 | -0/+10 |
| | | | | after each chdir call. | ||||
* | Mods by Guido: mkdir 2nd arg optional and remove as alias for unlink. | Jack Jansen | 1996-02-21 | 1 | -2/+14 |
| | |||||
* | - Added Guido's fixes | Jack Jansen | 1996-02-20 | 1 | -45/+28 |
| | | | | | - Removed CW4 ifdefs - Rationalized ifdefs for dup, fdopen | ||||
* | Modified for GUSI | Jack Jansen | 1996-02-14 | 1 | -1/+45 |
| | |||||
* | add xstat (extended stat, returns resource fork size and creator/type) | Guido van Rossum | 1995-08-08 | 1 | -1/+32 |
| | |||||
* | Ported to CodeWarrior 6 | Jack Jansen | 1995-06-09 | 1 | -0/+1 |
| | |||||
* | explicitly init flags in methodlist | Guido van Rossum | 1995-02-19 | 1 | -1/+1 |
| | |||||
* | add __SC__ ifdef | Guido van Rossum | 1995-02-17 | 1 | -1/+1 |
| | |||||
* | malloc debug only on ppc | Guido van Rossum | 1995-02-13 | 1 | -1/+1 |
| | |||||
* | CodeWarrior 5 has more unixisms (open/close/read/write) | Jack Jansen | 1995-01-26 | 1 | -10/+13 |
| | |||||
* | Make malloc stats routine available under MetroWerks | Jack Jansen | 1995-01-22 | 1 | -0/+4 |
| | |||||
* | More Pstring() stuff and some cosmetics | Jack Jansen | 1995-01-18 | 1 | -1/+16 |
| | |||||
* | 1995 copyright | Guido van Rossum | 1995-01-08 | 1 | -2/+2 |
| | |||||
* | Ported to MetroWerks, which misses file-descriptor like functionality. | Jack Jansen | 1994-12-14 | 1 | -0/+22 |
| | |||||
* | Completed (hopefully) the unification of THINK 6.0 and MPW 3.2 | Guido van Rossum | 1994-08-29 | 1 | -7/+20 |
| | | | | | | | versions -- they now share config.c and config.h, and statting is always done through macstat.[ch] (THINK's <stat.h> defines funny constants). Also the configuration of stdwin is done differently: you have to define USE_STDWIN to the compiler prefix. | ||||
* | Intermediate version of changes after porting to MPW 3.2 | Guido van Rossum | 1994-08-26 | 1 | -4/+4 |
| | |||||
* | Some more changes | Guido van Rossum | 1994-08-23 | 1 | -2/+2 |
| | |||||
* | Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here. | Guido van Rossum | 1994-08-19 | 1 | -18/+14 |
| | |||||
* | Change include path for unixemu headers; rename access to access_ | Guido van Rossum | 1994-06-27 | 1 | -4/+4 |
| | |||||
* | Walker's changes fixed so they work in THINK C 5 | Guido van Rossum | 1994-05-06 | 1 | -10/+17 |
| | |||||
* | As extended by Richard M Walker for MPW | Guido van Rossum | 1994-05-06 | 1 | -79/+292 |
| | |||||
* | Fix copyright -- 1994 instead of 1004! | Guido van Rossum | 1994-01-18 | 1 | -1/+1 |
| | |||||
* | Initial revision | Guido van Rossum | 1994-01-05 | 1 | -0/+246 |