summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
Commit message (Collapse)AuthorAgeFilesLines
* issue1082: Fixing platform and system for Vista.Sean Reifscheider2007-09-171-0/+6
|
* Add patch #1726668: Windows Vista support.Marc-André Lemburg2007-06-121-0/+20
|
* Apply patch #1734945 to support TurboLinux as distribution.Marc-André Lemburg2007-06-121-1/+1
|
* Whitespace normalization.Tim Peters2007-01-301-6/+6
|
* Use defaults if sys.executable isn't set (e.g. on Jython).Marc-André Lemburg2007-01-131-1/+4
| | | | This change allows running PyBench under Jython.
* Add parameter sys_version to _sys_version().Marc-André Lemburg2007-01-131-16/+47
| | | | | | | | Change the cache for _sys_version() to take the parameter into account. Add support for parsing the IronPython 1.0.1 sys.version value - even though it still returns '1.0.0'; the version string no longer includes the patch level.
* Fix grammar in docstringsNeal Norwitz2007-01-131-2/+2
|
* Bump version number and change copyright year.Marc-André Lemburg2007-01-131-63/+259
| | | | | | | | | | | | | | | Add new API linux_distribution() which supports reading the full distribution name and also knows how to parse LSB-style release files. Redirect the old dist() API to the new API (using the short distribution name taken from the release file filename). Add branch and revision to _sys_version(). Add work-around for Cygwin to libc_ver(). Add support for IronPython (thanks for Anthony Baxter) and make Jython support more robust.
* Teach platform about darwin/x86Ronald Oussoren2006-04-171-1/+2
|
* 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.