Brian Curtin
401f9f3d32
Fix #13210 . Port the Windows build from VS2008 to VS2010.
14 years ago
Ned Deily
acdc56d0d0
Issue #14662 : Prevent shutil failures on OS X when destination does not
support chflag operations. (Patch by Hynek Schlawack)
14 years ago
Ronald Oussoren
97c3eb4ed5
Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Patch by Pierre Carrier.
15 years ago
Barry Warsaw
31c604d3a7
Issue 9916: Add some missing errno symbols.
16 years ago
Antoine Pitrou
b85e165635
Issue #5737 : Add Solaris-specific mnemonics in the errno module. Patch by
Matthew Ahrens.
16 years ago
Antoine Pitrou
7f14f0d8a0
Recorded merge of revisions 81032 via svnmerge from
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.
........
................
16 years ago
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.
........
16 years ago
Antoine Pitrou
c7c96a90bc
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.
........
16 years ago
Antoine Pitrou
c83ea137d7
Untabify C files. Will watch buildbots.
16 years ago
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)
........
18 years ago
Amaury Forgeot d'Arc
a4dd2e20e2
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)
18 years ago
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
18 years ago
Gregory P. Smith
dd96db63f6
This reverts r63675 based on the discussion in this thread:
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.
18 years ago
Christian Heimes
593daf545b
Renamed PyString to PyBytes
18 years ago
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
18 years ago
Christian Heimes
217cfd1c86
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
18 years ago
Neal Norwitz
0d94203cc1
Use unicode for the errno.errorcode names
19 years ago
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
20 years ago
Jack Jansen
4bae2d5e46
Getting rid of code dependent on GUSI or the MetroWerks compiler.
22 years ago
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.
24 years ago
Martin v. Löwis
14f8b4cfcb
Patch #568124 : Add doc string macros.
24 years ago
Tim Peters
902952b910
Removed an XXX question (the answer is "yes" <wink>).
24 years ago
Guido van Rossum
8586991099
REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
26 years ago
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
26 years ago
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 ;)
26 years ago
Fredrik Lundh
f5accf38ea
- ANSI-fication
(patch #100784 by Peter Schneider-Kamp)
26 years ago
Guido van Rossum
ffcc3813d8
Change copyright notice - 2nd try.
26 years ago
Guido van Rossum
fd71b9e9d4
Change copyright notice.
26 years ago
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.
27 years ago
Guido van Rossum
3886bb6997
Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
27 years ago
Guido van Rossum
549cb6ea03
Added a module docstring (that's all this module needs).
28 years ago
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.
29 years ago
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...)
29 years ago
Guido van Rossum
fb421c82a9
(Jack:) Mac only: get GUSI errno.h values too.
29 years ago
Roger E. Masse
81a6fe9b98
Removed a #inlclude <errno.h> since it's implied with "Python.h"
29 years ago
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
30 years ago
Guido van Rossum
4dc6622057
Added Sam Rushing's errno module
30 years ago