Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #734231: Update RiscOS support. In particular, correct | Martin v. Löwis | 2003-05-10 | 1 | -1/+5 |
| | | | | riscospath.extsep, and use os.extsep throughout. | ||||
* | SF patch #718867: Fix reference leak for time.strptime | Raymond Hettinger | 2003-04-10 | 1 | -1/+4 |
| | | | | (contributed by Brett Cannon) | ||||
* | - New function time.tzset() provides access to the C library tzet() | Guido van Rossum | 2003-03-14 | 1 | -74/+144 |
| | | | | function, if supported. (SF patch #675422, by Stuart Bishop.) | ||||
* | Windows flavor of floatsleep(): folded long lines, introduced a temp | Tim Peters | 2003-01-19 | 1 | -12/+17 |
| | | | | var for clarity. | ||||
* | When time.localtime() is passed a tick count the platform C localtime() | Tim Peters | 2003-01-17 | 1 | -1/+1 |
| | | | | | | | function can't handle, don't raise IOError -- that doesn't make sense. Raise ValueError instead. Bugfix candidate. | ||||
* | Patch #623780: Replace obsolete struct macros. | Martin v. Löwis | 2002-10-16 | 1 | -2/+2 |
| | |||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | Patch to call the Pure python strptime implementation if there's no | Guido van Rossum | 2002-07-19 | 1 | -3/+18 |
| | | | | | | | | C implementation. See SF patch 474274, by Brett Cannon. (As an experiment, I'm adding a line that #undefs HAVE_STRPTIME, so that you'll always get the Python version. This is so that it gets some good exercise. We should eventually delete that line.) | ||||
* | Fix bug 581232 - [Windows] Can not interrupt time.sleep() | Mark Hammond | 2002-07-16 | 1 | -3/+46 |
| | | | | time.sleep() will now be interrupted on the main thread when Ctrl+C is pressed. Other threads are never interrupted. | ||||
* | Patch #569753: Remove support for WIN16. | Martin v. Löwis | 2002-06-30 | 1 | -40/+8 |
| | | | | Rename all occurrences of MS_WIN32 to MS_WINDOWS. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -23/+23 |
| | |||||
* | Got rid of ifdefs for long-obsolete GUSI versions. | Jack Jansen | 2002-04-11 | 1 | -16/+0 |
| | |||||
* | Remove all but one use of the module dict. | Fred Drake | 2002-04-01 | 1 | -44/+38 |
| | |||||
* | Update docstrings to use te attribute names of the new structures returned | Fred Drake | 2002-03-12 | 1 | -2/+3 |
| | | | | | by stat and time functions. This closes SF patch #523271. | ||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c | ||||
* | Windows time_clock(): rewrite to get rid of horrid casting tricks. | Tim Peters | 2002-02-13 | 1 | -12/+10 |
| | | | | | Don't blame Mark! The horrid casting tricks were my idea to begin with. The rewrite works fine under VC6, and I *expect* will work fine under VC7. | ||||
* | Ensure we also build on VC7. Involves replacing largeint.h helper functions ↵ | Mark Hammond | 2002-02-12 | 1 | -21/+17 |
| | | | | with msvc's native 64 bit integers. | ||||
* | Patch #504225: add plan9 ifdef to timemodule floatsleep. | Martin v. Löwis | 2002-01-16 | 1 | -23/+25 |
| | |||||
* | Include <unistd.h> in Python.h. Fixes #500924. | Martin v. Löwis | 2002-01-12 | 1 | -4/+0 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | 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. | ||||
* | Patch #481718: Time module doc string changes. | Martin v. Löwis | 2001-12-02 | 1 | -2/+4 |
| | |||||
* | SF patch #474590 -- RISC OS support | Guido van Rossum | 2001-10-24 | 1 | -2/+0 |
| | |||||
* | SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. | Guido van Rossum | 2001-10-18 | 1 | -10/+49 |
| | | | | | | | | | | | | | | | | | 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.) | ||||
* | SF patch #459385 (Norman Vine): time.timezone fix for Cygwin. | Guido van Rossum | 2001-09-25 | 1 | -19/+19 |
| | | | | Also did some whitespace normalization. | ||||
* | make the gettmarg error message more correct by making it more vague ;-) | Skip Montanaro | 2001-08-22 | 1 | -1/+1 |
| | | | | see SF bug 434143, part of which this addresses | ||||
* | Add -E command line switch (ignore environment variables like PYTHONHOME | Neil Schemenauer | 2001-07-23 | 1 | -1/+1 |
| | | | | and PYTHONPATH). | ||||
* | SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. | Tim Peters | 2001-05-14 | 1 | -3/+5 |
| | |||||
* | Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger | Guido van Rossum | 2001-04-10 | 1 | -2/+10 |
| | |||||
* | SF patch 407758, "timemodule patches for Cygwin", from Norman Vine. | Tim Peters | 2001-03-20 | 1 | -0/+7 |
| | | | | http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470 | ||||
* | Use Py_CHARMASK for ctype macros. Fixes bug #232787. | Martin v. Löwis | 2001-03-06 | 1 | -1/+1 |
| | |||||
* | Fix typo in RISCOS patch inside MS #ifdef. (Probably my own fingers.) | Guido van Rossum | 2001-03-02 | 1 | -1/+1 |
| | |||||
* | RISCOS changes by dschwertberger. | Guido van Rossum | 2001-03-02 | 1 | -1/+5 |
| | |||||
* | Make the 'time' argument to the timemodule functions strftime, asctime, | Thomas Wouters | 2001-01-19 | 1 | -30/+54 |
| | | | | | | ctime, gmtime and localtime optional, defaulting to 'the current time' in all cases. Adjust docs, add news item. Also convert all argument-handling to METH_VARARGS. Closes SF patch #103265. | ||||
* | The Mac C library (MSL from CodeWarrior 6) and I/O library (GUSI | Jack Jansen | 2000-12-12 | 1 | -2/+2 |
| | | | | | 2.1.3) finally agree on when the epoch is, so the code to convert epochs has been disabled. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Do the absolute minimal amount of modifications to eradicate | Barry Warsaw | 2000-09-01 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c | ||||
* | Chris Herborth <chrish@pobox.com>: | Fred Drake | 2000-08-15 | 1 | -4/+1 |
| | | | | | | | | | Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978. | ||||
* | Use METH_OLDARGS instead of numeric constant 0 in method def. tables | Andrew M. Kuchling | 2000-08-03 | 1 | -6/+6 |
| | |||||
* | Use METH_VARARGS instead of numeric constant 1 in method def. tables | Andrew M. Kuchling | 2000-08-03 | 1 | -4/+4 |
| | |||||
* | merge Include/my*.h into Include/pyport.h | Peter Schneider-Kamp | 2000-07-31 | 1 | -10/+0 |
| | | | | marked my*.h as obsolete | ||||
* | Use 'void' directly instead of the ANY #define, now that all code is ANSI C. | Thomas Wouters | 2000-07-25 | 1 | -3/+3 |
| | | | | Leave the actual #define in for API compatibility. | ||||
* | Fix floattime prototype ((void), not (double)) | Thomas Wouters | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | ANSIfy some more forward declarations. | Thomas Wouters | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | ANSIfy yet another hidden function definition. | Thomas Wouters | 2000-07-24 | 1 | -5/+0 |
| | |||||
* | Even more ANSIfication: fix as many function pointers and declarations as | Thomas Wouters | 2000-07-22 | 1 | -2/+3 |
| | | | | possible. | ||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -45/+15 |
| | |||||
* | Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. | Tim Peters | 2000-07-09 | 1 | -5/+5 |
| | |||||
* | Mac only: two epoch problem workarounds are no longer needed for GUSI | Jack Jansen | 2000-07-03 | 1 | -2/+2 |
| | | | | >= 2.0.5. One still is:-( | ||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| |