summaryrefslogtreecommitdiff
path: root/Lib/platform.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Get rid of dict.has_key(). Boy this has a lot of repercussions!Guido van Rossum2006-08-181-1/+1
| | | | | | Not all code has been fixed yet; this is just a checkpoint... The C API still has PyDict_HasKey() and _HasKeyString(); not sure if I want to change those just yet.
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-1/+2
| | | | | | | | | | | | | | | | | | | | 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.
* Generalize buildno to be a sequence of non-commaMartin v. Löwis2006-01-061-1/+1
| | | | characters.
* Fix _sys_version() so it works with the new buildno, not sure if it is ↵Neal Norwitz2005-12-181-2/+1
| | | | correct. test_platform passes
* Fix typo.Walter Dörwald2005-11-211-1/+1
|
* Patch by pythonic <pythonic@gmail.com> to support FedoraMarc-André Lemburg2005-11-071-2/+8
| | | | as Linux distro.
* Added normalization for Windows system name. Closes SF #945665.Marc-André Lemburg2004-06-191-1/+6
|
* Using reversed() is not compatible with Python 1.5.2.Guido van Rossum2004-05-041-1/+1
|
* Added more Windows version names (thanks to Thomas Heller).Marc-André Lemburg2004-03-251-29/+23
| | | | | | Fixed bug in platform() cache (thanks to Brett Cannon). (Restored Python 1.5.2 compatibility.)
* Fix last patch to be backwards-compatible with Python 1.5.2 .Brett Cannon2004-03-251-12/+25
| | | | Bumped version micro number.
* Fixed a caching bug in platform.platform() where the argument of 'terse' wasBrett Cannon2004-03-251-8/+8
| | | | not taken into consideration when caching value.
* Implement and apply PEP 322, reverse iterationRaymond Hettinger2003-11-061-1/+1
|
* SF patch #834015: Remove imports of unused modulesRaymond Hettinger2003-11-021-1/+0
| | | | (Contributed by George Yoshida.)
* Bug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX,Jack Jansen2003-08-111-1/+3
| | | | but attempting to get it resulted in a crash. Fixed. Backport candidate.
* Touch-up to docstrings.Brett Cannon2003-08-051-19/+20
|
* remove extra parameter from _java_getprop, remove duplicate importsNeal Norwitz2003-06-291-2/+2
|
* Fix docstring typoAndrew M. Kuchling2003-04-241-1/+1
|
* Whitespace normalization.Tim Peters2003-04-241-17/+17
|
* Reformatted a bit to remove the lengthy re.compile() from the functionMarc-André Lemburg2003-04-241-23/+25
| | | | definitions.
* New module platform.py, submitted by Marc-Andre Lemburg.Marc-André Lemburg2003-04-241-0/+1232
There's no separate documentation for this module yet - apart from the doc-strings which explain the APIs.