summaryrefslogtreecommitdiffstats
path: root/Modules/errnomodule.c
Commit message (Collapse)AuthorAgeFilesLines
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Do the absolute minimal amount of modifications to eradicateBarry Warsaw2000-09-011-12/+9
| | | | | | | | | | | | | | | 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
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | 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-ficationFredrik Lundh2000-07-091-5/+1
| | | | (patch #100784 by Peter Schneider-Kamp)
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* initerrno(): Nailed a not-so-tiny memory leak. The de dictionary isBarry Warsaw1999-01-271-1/+2
| | | | | put into the module dict, but is never DECREF'd in this function, so it and all its contents leak.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Added a module docstring (that's all this module needs).Guido van Rossum1998-08-111-1/+15
|
* Got rid of the errorstr dictionary, which is redundant now thatGuido van Rossum1997-11-041-21/+9
| | | | there's os.strerror() -- also, it would form a locale liability.
* Changes submitted by Marc-Andre Lemburg to add two tables: errorcodeGuido van Rossum1997-09-281-368/+622
| | | | | | maps errno numbers to errno names (e.g. EINTR), and errorcode maps them to message strings. (The latter is redundant because the new call posix.strerror() now does the same, but alla...)
* (Jack:) Mac only: get GUSI errno.h values too.Guido van Rossum1997-04-111-0/+5
|
* Removed a #inlclude <errno.h> since it's implied with "Python.h"Roger E. Masse1996-12-131-2/+0
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* Added Sam Rushing's errno moduleGuido van Rossum1996-07-241-0/+561