Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | correct comment | Benjamin Peterson | 2010-08-09 | 1 | -1/+1 |
| | |||||
* | make struct sequences subclass tuple; kill lots of code | Benjamin Peterson | 2010-07-07 | 1 | -8/+3 |
| | | | | This fixes #8413. | ||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -11/+11 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | ||||
* | Remove PyArg_Parse usage from time module. (An extra set of eyeballs on | Skip Montanaro | 2007-08-24 | 1 | -0/+4 |
| | | | | this would be nice. I'm a little rusty.) | ||||
* | Clean up some whitespace to be consistent with Python's C style. | Fred Drake | 2002-10-17 | 1 | -4/+4 |
| | |||||
* | Add PyStructSequence_UnnamedField. Add stat_float_times. | Martin v. Löwis | 2002-10-16 | 1 | -0/+2 |
| | | | | Use integers in stat tuple, optionally floats in named fields. | ||||
* | Excise DL_EXPORT from Include. | Mark Hammond | 2002-08-12 | 1 | -2/+2 |
| | | | | Thanks to Skip Montanaro and Kalle Svensson for the patches. | ||||
* | SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. | Guido van Rossum | 2001-10-18 | 1 | -0/+39 |
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.) |