summaryrefslogtreecommitdiffstats
path: root/Modules/pwdmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Raise KeyError instead of OverflowError when getpwuid's argument is out ofSerhiy Storchaka2013-02-111-1/+5
|\ | | | | | | uid_t range.
| * Raise KeyError instead of OverflowError when getpwuid's argument is out ofSerhiy Storchaka2013-02-111-1/+5
| | | | | | | | uid_t range.
* | Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-101-6/+10
|\ \ | |/
| * Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-101-6/+10
| |
* | #16135: Removal of OS/2 support (Modules/*)Jesus Cea2012-10-051-4/+0
|/
* Include structseq.h in Python.h, and remove now-redundant includes in ↵Georg Brandl2010-11-301-1/+0
| | | | individual sources.
* Issue #8983: Corrected docstrings.Alexander Belopolsky2010-08-161-3/+3
|
* Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a UnicodeVictor Stinner2010-05-151-3/+1
| | | | | | object to Py_FileSystemDefaultEncoding with the "surrogateescape" error handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-110/+110
| | | | | | | | | | 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. ........
* correct callBenjamin Peterson2010-05-071-3/+1
|
* Replace PyUnicode_Decode(buf, strlen(buf), Py_FileSystemDefaultEncoding,Victor Stinner2010-05-071-1/+1
| | | | "surrogateescape") by PyUnicode_DecodeFSDefault(val).
* Merged revisions 73016 via svnmerge fromMartin v. Löwis2009-05-291-0/+1
| | | | | | | | | | 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. ........
* Issue #4859: Implement PEP 383 for pwd, spwd, and grp.Martin v. Löwis2009-05-291-5/+17
|
* remove old undocumented compat interfaces in hashlib and pwd #5881Benjamin Peterson2009-05-041-4/+3
|
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-3/+17
|
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵Christian Heimes2007-12-021-1/+1
| | | | in intobject.h
* Get the locale and pwd tests working on the Solaris box where thereNeal Norwitz2007-10-271-2/+5
| | | | | 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.
* Use unicode for password modulesNeal Norwitz2007-08-241-2/+2
|
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-1/+5
| | | | | | | | | | | | | | | | | | | | 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.
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* - Changes donated by Elemental Security to make it work on AIX 5.3Guido van Rossum2005-09-141-2/+2
| | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron).
* pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+4
| | | | messages.
* - The pwd module incorrectly advertised its struct type asGuido van Rossum2003-10-231-0/+2
| | | | | struct_pwent; this has been renamed to struct_passwd. (The old name is still supported for backwards compatibility.)
* Patch #614055: Support OpenVMS.Martin v. Löwis2002-12-061-0/+8
|
* Deal with NULL fields in mkpwent.Martin v. Löwis2002-09-171-1/+12
|
* 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-14/+16
|
* Remove unused variable reported by Walter DörwaldNeal Norwitz2002-04-151-1/+1
|
* initpwd(): Clean up initialization, avoid PyModule_GetDict().Fred Drake2002-04-131-4/+4
|
* Remove METH_OLDARGS:Neal Norwitz2002-03-311-4/+4
| | | | | | | 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.
* Add missing typecast.Neil Schemenauer2002-03-291-1/+2
|
* Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.Neal Norwitz2002-03-251-4/+2
|
* OS/2 EMX port changes (Modules part of patch #450267):Andrew MacIntyre2002-03-031-0/+4
| | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c
* Patch #523268, #522027: return enhanced tuples.Martin v. Löwis2002-03-011-12/+59
|
* Got rid of a few more NeXT ifdefs. The last, I think.Jack Jansen2002-02-011-7/+0
|
* Make sure we close the group and password databases when we are done withFred Drake2001-03-111-0/+1
| | | | them; this closes SF bug #407504.
* 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.
* Chris Herborth <chrish@pobox.com>:Fred Drake2000-08-151-12/+0
| | | | | | | | | 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.
* Use METH_OLDARGS instead of numeric constant 0 in method def. tablesAndrew M. Kuchling2000-08-031-3/+3
|
* 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-ficationPeter Schneider-Kamp2000-07-101-11/+4
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+12
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-4/+32
|
* Added configuration tests for presence of alarm(), pause(), and getpwent()Guido van Rossum1997-08-221-0/+4
|
* Nailed a couple of memory leaks, caught by Purify.Barry Warsaw1997-01-091-0/+1
|
* Minor formatting changes.Barry Warsaw1996-12-191-10/+11
|
* Renamed.Barry Warsaw1996-12-111-23/+29
|