Ronald Oussoren
17c2316794
bpo-42971: Add errno.EQFULL (macOS) (GH-24419)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-06 23:35:13 +02:00
Dong-hee Na
3466922320
bpo-1635741: Port errno module to multiphase initialization (GH-19923)
2020-05-07 10:17:16 +09:00
Brian Curtin
401f9f3d32
Fix #13210 . Port the Windows build from VS2008 to VS2010.
2012-05-13 11:19:23 -05:00
Ronald Oussoren
97c3eb4ed5
Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
...
Patch by Pierre Carrier.
2011-05-07 09:59:03 +02:00
Barry Warsaw
31c604d3a7
Issue 9916: Add some missing errno symbols.
2010-09-22 20:58:04 +00:00
Antoine Pitrou
b85e165635
Issue #5737 : Add Solaris-specific mnemonics in the errno module. Patch by
...
Matthew Ahrens.
2010-08-18 21:05:19 +00:00
Antoine Pitrou
f95a1b3c53
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.
........
2010-05-09 15:52:27 +00:00
Amaury Forgeot d'Arc
3d17a5c5ae
Merged revisions 64214 via svnmerge from
...
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)
........
2008-06-13 01:09:34 +00:00
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
2008-06-11 05:26:20 +00:00
Christian Heimes
c36625b05d
Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
2008-01-04 13:33:00 +00:00
Christian Heimes
217cfd1c86
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
2007-12-02 14:31:20 +00:00
Neal Norwitz
0d94203cc1
Use unicode for the errno.errorcode names
2007-08-24 00:10:00 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Jack Jansen
4bae2d5e46
Getting rid of code dependent on GUSI or the MetroWerks compiler.
2003-11-19 22:52:23 +00:00
Mark Hammond
fe51c6d66e
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
...
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
2002-08-02 02:27:13 +00:00
Martin v. Löwis
14f8b4cfcb
Patch #568124 : Add doc string macros.
2002-06-13 20:33:02 +00:00
Tim Peters
902952b910
Removed an XXX question (the answer is "yes" <wink>).
2002-01-26 17:58:02 +00:00
Guido van Rossum
8586991099
REMOVED all CWI, CNRI and BeOpen copyright markings.
...
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Barry Warsaw
9bfd2bf5ed
Do the absolute minimal amount of modifications to eradicate
...
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
2000-09-01 09:01:32 +00:00
Thomas Wouters
f3f33dcf03
Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
...
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 ;)
2000-07-21 06:00:07 +00:00
Fredrik Lundh
f5accf38ea
- ANSI-fication
...
(patch #100784 by Peter Schneider-Kamp)
2000-07-09 15:14:52 +00:00
Guido van Rossum
ffcc3813d8
Change copyright notice - 2nd try.
2000-06-30 23:58:06 +00:00
Guido van Rossum
fd71b9e9d4
Change copyright notice.
2000-06-30 23:50:40 +00:00
Barry Warsaw
105906ff6e
initerrno(): Nailed a not-so-tiny memory leak. The de dictionary is
...
put into the module dict, but is never DECREF'd in this function, so
it and all its contents leak.
1999-01-27 18:04:05 +00:00
Guido van Rossum
3886bb6997
Add DL_EXPORT() to all modules that could possibly be used
...
on BeOS or Windows.
1998-12-04 18:50:17 +00:00
Guido van Rossum
549cb6ea03
Added a module docstring (that's all this module needs).
1998-08-11 17:50:22 +00:00
Guido van Rossum
851e7d5159
Got rid of the errorstr dictionary, which is redundant now that
...
there's os.strerror() -- also, it would form a locale liability.
1997-11-04 20:22:24 +00:00
Guido van Rossum
49f9d8e405
Changes submitted by Marc-Andre Lemburg to add two tables: errorcode
...
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...)
1997-09-28 05:41:56 +00:00
Guido van Rossum
fb421c82a9
(Jack:) Mac only: get GUSI errno.h values too.
1997-04-11 19:11:25 +00:00
Roger E. Masse
81a6fe9b98
Removed a #inlclude <errno.h> since it's implied with "Python.h"
1996-12-13 23:29:09 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
4dc6622057
Added Sam Rushing's errno module
1996-07-24 00:51:51 +00:00