Martin v. Löwis
19ab6c98cf
Initialize structseq types only once.
2006-04-16 18:55:50 +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
Guido van Rossum
8ee3e5aa93
- Changes donated by Elemental Security to make it work on AIX 5.3
...
with IBM's 64-bit compiler (SF patch #1284289 ). This also closes SF
bug #105470 : test_pwd fails on 64bit system (Opteron).
2005-09-14 18:09:42 +00:00
Barry Warsaw
e1b1c87636
pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the error
...
messages.
2004-01-20 21:07:23 +00:00
Guido van Rossum
16b9fa8db3
- The pwd module incorrectly advertised its struct type as
...
struct_pwent; this has been renamed to struct_passwd. (The old name
is still supported for backwards compatibility.)
2003-10-23 23:54:57 +00:00
Martin v. Löwis
79acb9edfa
Patch #614055 : Support OpenVMS.
2002-12-06 12:48:53 +00:00
Martin v. Löwis
29275c9331
Deal with NULL fields in mkpwent.
2002-09-17 09:34:06 +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
Neal Norwitz
726e013eff
Remove unused variable reported by Walter Dörwald
2002-04-15 16:29:00 +00:00
Fred Drake
88c9344986
initpwd(): Clean up initialization, avoid PyModule_GetDict().
2002-04-13 21:07:45 +00:00
Neal Norwitz
ba3a16c6c3
Remove METH_OLDARGS:
...
Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple
Convert METH_OLDARGS -> METH_NOARGS: remove args parameter
Please review. All tests pass, but some modules don't have tests.
I spot checked various functions to try to make sure nothing broke.
2002-03-31 15:27:00 +00:00
Neil Schemenauer
cc07ec17a3
Add missing typecast.
2002-03-29 19:58:25 +00:00
Neal Norwitz
3a6f97850b
Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.
2002-03-25 20:46:46 +00:00
Andrew MacIntyre
7bf6833e17
OS/2 EMX port changes (Modules part of patch #450267 ):
...
Modules/
_hotshot.c
dbmmodule.c
fcntlmodule.c
main.c
pwdmodule.c
readline.c
selectmodule.c
signalmodule.c
termios.c
timemodule.c
unicodedata.c
2002-03-03 02:59:16 +00:00
Martin v. Löwis
dbd55b3737
Patch #523268 , #522027 : return enhanced tuples.
2002-03-01 10:38:44 +00:00
Jack Jansen
4892f2406f
Got rid of a few more NeXT ifdefs. The last, I think.
2002-02-01 15:46:29 +00:00
Fred Drake
8e68eb61f2
Make sure we close the group and password databases when we are done with
...
them; this closes SF bug #407504 .
2001-03-11 03:03:07 +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
Fred Drake
56221a7cfa
Chris Herborth <chrish@pobox.com>:
...
Minor updates for BeOS R5.
Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding
change in BeOS/README (by Fred).
This closes SourceForge patch #100978 .
2000-08-15 18:52:33 +00:00
Andrew M. Kuchling
a1abb728bc
Use METH_OLDARGS instead of numeric constant 0 in method def. tables
2000-08-03 02:34:44 +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
Peter Schneider-Kamp
39e0e5a180
ANSI-fication
2000-07-10 13:12:27 +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