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
BUILDno.txt -rw-r--r-- 4.1 KB
Uninstal.wse -rw-r--r-- 9.5 KB
_bsddb.vcproj -rw-r--r-- 7.4 KB
_socket.vcproj -rw-r--r-- 7.1 KB
_ssl.mak -rw-r--r-- 682 bytes
_ssl.vcproj -rw-r--r-- 1.6 KB
_testcapi.vcproj -rw-r--r-- 7.1 KB
_tkinter.vcproj -rw-r--r-- 8.3 KB
build_ssl.py -rw-r--r-- 5.7 KB
bz2.vcproj -rw-r--r-- 7.4 KB
field3.py -rw-r--r-- 966 bytes
installer.bmp -rw-r--r-- 49.1 KB
make_versioninfo.vcproj -rw-r--r-- 4.9 KB
pcbuild.sln -rw-r--r-- 12.3 KB
pyexpat.vcproj -rw-r--r-- 10.6 KB
python.iss -rw-r--r-- 18.4 KB
python.vcproj -rw-r--r-- 7.5 KB
python20.wse -rw-r--r-- 78.0 KB
pythoncore.vcproj -rw-r--r-- 98.2 KB
pythonw.vcproj -rw-r--r-- 7.5 KB
readme.txt -rw-r--r-- 12.1 KB
rmpyc.py -rw-r--r-- 597 bytes
rt.bat -rwxr-xr-x 1.5 KB
select.vcproj -rw-r--r-- 7.2 KB
unicodedata.vcproj -rw-r--r-- 7.2 KB
w9xpopen.vcproj -rw-r--r-- 4.1 KB
winsound.vcproj -rw-r--r-- 7.2 KB
zlib.vcproj -rw-r--r-- 6.9 KB

readme.txt

back to top