summaryrefslogtreecommitdiffstats
path: root/Modules/errnomodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-262/+262
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from 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. ........ ................
* Merged revisions 64214 via svnmerge fromAmaury Forgeot d'Arc2008-06-131-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r64214 | amaury.forgeotdarc | 2008-06-13 02:42:22 +0200 (ven., 13 juin 2008) | 6 lines Restore support for Microsoft VC6 compiler. 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) ........
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-4/+17
|
* Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful ↵Christian Heimes2008-01-041-0/+1
| | | | for later versions of MSVC. VS6 claims that fortran is a reserved word
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵Christian Heimes2007-12-021-1/+1
| | | | in intobject.h
* Use unicode for the errno.errorcode namesNeal Norwitz2007-08-241-2/+2
|
* 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