summaryrefslogtreecommitdiffstats
path: root/Modules/errnomodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Restore support for Microsoft VC6 compiler.Amaury Forgeot d'Arc2008-06-131-1/+1
| | | | | | | Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler)
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-1/+1
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-1/+1
|
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* Getting rid of code dependent on GUSI or the MetroWerks compiler.Jack Jansen2003-11-191-5/+0
|
* Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond2002-08-021-1/+1
| | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-2/+2
|
* Removed an XXX question (the answer is "yes" <wink>).Tim Peters2002-01-261-1/+1
|
* 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