Staging
v0.8.1
https://github.com/python/cpython
Revision b8f82e6febddbd534e0f08ab480367561daa0717 authored by Martin v. Löwis on 09 October 2006, 19:29:06 UTC, committed by Martin v. Löwis on 09 October 2006, 19:29:06 UTC
- reset errno before calling confstr - use confstr() doc to simplify
  checks afterwards
- Correct implementation and documentation of os.confstr.  Add a simple
  test case.  I've yet to figure out how to provoke a None return I can test.
- Address issues brought up by MvL on python-checkins.
  I tested this with valgrind on amd64.

  The man pages I found for diff architectures are inconsistent on this.
  I'm not entirely sure this change is correct for all architectures
  either.

  Perhaps we should just over-allocate and not worry about it?

The change to return None instead of "" in case of unconfigured
values has not been backported.
1 parent 2fafa25
History
Tip revision: b8f82e6febddbd534e0f08ab480367561daa0717 authored by Martin v. Löwis on 09 October 2006, 19:29:06 UTC
Backport r45505, r45573, r45576
Tip revision: b8f82e6
File Mode Size
abstract.c -rw-r--r-- 48.1 KB
boolobject.c -rw-r--r-- 4.8 KB
bufferobject.c -rw-r--r-- 13.7 KB
cellobject.c -rw-r--r-- 2.3 KB
classobject.c -rw-r--r-- 61.2 KB
cobject.c -rw-r--r-- 3.9 KB
complexobject.c -rw-r--r-- 22.9 KB
descrobject.c -rw-r--r-- 30.1 KB
dictnotes.txt -rw-r--r-- 10.9 KB
dictobject.c -rw-r--r-- 57.0 KB
enumobject.c -rw-r--r-- 8.4 KB
fileobject.c -rw-r--r-- 58.4 KB
floatobject.c -rw-r--r-- 33.5 KB
frameobject.c -rw-r--r-- 21.9 KB
funcobject.c -rw-r--r-- 21.4 KB
genobject.c -rw-r--r-- 2.9 KB
intobject.c -rw-r--r-- 27.3 KB
iterobject.c -rw-r--r-- 5.4 KB
listobject.c -rw-r--r-- 68.3 KB
listsort.txt -rw-r--r-- 30.7 KB
longobject.c -rw-r--r-- 72.8 KB
methodobject.c -rw-r--r-- 8.1 KB
moduleobject.c -rw-r--r-- 6.2 KB
object.c -rw-r--r-- 48.3 KB
obmalloc.c -rw-r--r-- 44.5 KB
rangeobject.c -rw-r--r-- 9.1 KB
setobject.c -rw-r--r-- 26.0 KB
sliceobject.c -rw-r--r-- 7.5 KB
stringobject.c -rw-r--r-- 103.3 KB
structseq.c -rw-r--r-- 9.5 KB
tupleobject.c -rw-r--r-- 19.5 KB
typeobject.c -rw-r--r-- 147.8 KB
unicodectype.c -rw-r--r-- 8.4 KB
unicodeobject.c -rw-r--r-- 189.2 KB
unicodetype_db.h -rw-r--r-- 75.4 KB
weakrefobject.c -rw-r--r-- 28.5 KB

back to top