Georg Brandl
71c23d4473
Include structseq.h in Python.h, and remove now-redundant includes in individual sources.
15 years ago
Alexander Belopolsky
102594f7ff
Merged revisions 84106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84106 | alexander.belopolsky | 2010-08-16 16:17:07 -0400 (Mon, 16 Aug 2010) | 1 line
Issue #8983 : Corrected docstrings.
........
16 years ago
Alexander Belopolsky
977a684c94
Issue #8983 : Corrected docstrings.
16 years ago
Victor Stinner
ae6265f8d0
Issue #8715 : Create PyUnicode_EncodeFSDefault() function: Encode a Unicode
object to Py_FileSystemDefaultEncoding with the "surrogateescape" error
handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set,
fall back to UTF-8.
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
Benjamin Peterson
02a004ea1d
correct call
16 years ago
Victor Stinner
97c18ab6a5
Replace PyUnicode_Decode(buf, strlen(buf), Py_FileSystemDefaultEncoding,
"surrogateescape") by PyUnicode_DecodeFSDefault(val).
16 years ago
Martin v. Löwis
e23c8683a5
Merged revisions 73016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73016 | martin.v.loewis | 2009-05-29 17:58:08 +0200 (Fr, 29 Mai 2009) | 2 lines
Issue #4873 : Fix resource leaks in error cases of pwd and grp.
........
17 years ago
Martin v. Löwis
b6a748b817
Issue #4859 : Implement PEP 383 for pwd, spwd, and grp.
17 years ago
Benjamin Peterson
e04b627a11
remove old undocumented compat interfaces in hashlib and pwd #5881
17 years ago
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
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
3d7a90dea1
Get the locale and pwd tests working on the Solaris box where there
are some unicode values used. I'm not sure if this is the correct
on all operating systems, but this works on Linux w/o unicode.
18 years ago
Neal Norwitz
eb8b3a6d61
Use unicode for password modules
19 years ago
Thomas Wouters
49fd7fa443
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
number of tests, all because of the codecs/_multibytecodecs issue described
here (it's not a Py3K issue, just something Py3K discovers):
http://mail.python.org/pipermail/python-dev/2006-April/064051.html
Hye-Shik Chang promised to look for a fix, so no need to fix it here. The
tests that are expected to break are:
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecs
test_multibytecodec
This merge fixes an actual test failure (test_weakref) in this branch,
though, so I believe merging is the right thing to do anyway.
20 years ago
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
20 years ago
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).
21 years ago
Barry Warsaw
e1b1c87636
pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the error
messages.
22 years ago
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.)
23 years ago
Martin v. Löwis
79acb9edfa
Patch #614055 : Support OpenVMS.
23 years ago
Martin v. Löwis
29275c9331
Deal with NULL fields in mkpwent.
24 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
Neal Norwitz
726e013eff
Remove unused variable reported by Walter Dörwald
24 years ago
Fred Drake
88c9344986
initpwd(): Clean up initialization, avoid PyModule_GetDict().
24 years ago
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.
24 years ago
Neil Schemenauer
cc07ec17a3
Add missing typecast.
24 years ago
Neal Norwitz
3a6f97850b
Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.
24 years ago
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
24 years ago
Martin v. Löwis
dbd55b3737
Patch #523268 , #522027 : return enhanced tuples.
24 years ago
Jack Jansen
4892f2406f
Got rid of a few more NeXT ifdefs. The last, I think.
24 years ago
Fred Drake
8e68eb61f2
Make sure we close the group and password databases when we are done with
them; this closes SF bug #407504 .
25 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
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 .
26 years ago
Andrew M. Kuchling
a1abb728bc
Use METH_OLDARGS instead of numeric constant 0 in method def. tables
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
Peter Schneider-Kamp
39e0e5a180
ANSI-fication
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
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
bcc207484a
Changes for BeOS, QNX and long long, by Chris Herborth.
28 years ago
Guido van Rossum
3e79c4492e
Doc strings added by Mitch Chapman.
28 years ago
Guido van Rossum
1171ee6aaf
Added configuration tests for presence of alarm(), pause(), and getpwent()
29 years ago
Barry Warsaw
4bc9d39560
Nailed a couple of memory leaks, caught by Purify.
29 years ago
Barry Warsaw
bab218e420
Minor formatting changes.
29 years ago
Barry Warsaw
50c5cf132a
Renamed.
29 years ago
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
30 years ago
Guido van Rossum
03e8ffa345
patches for NeXT weirdness
31 years ago
Guido van Rossum
524b588553
Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
31 years ago