| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert r80166 (and r80171), restore Lib/platform.py. subprocess cannot be ↵ | Victor Stinner | 2010-04-18 | 1 | -15/+13 |
| | | | | | used in platform.py | ||||
| * | Fix bootstrap after r80166 | Antoine Pitrou | 2010-04-18 | 1 | -1/+2 |
| | | |||||
| * | platform: use subprocess.Popen() instead of os.popen() in _syscmd_file() | Victor Stinner | 2010-04-18 | 1 | -13/+14 |
| | | | | | | | | * Popen() avoids ugly shell escape: target.replace('"', '\\"') * Use proc.communicate() instead of f.stdout.read() * Get output from stdout by splitting with ": " instead of splitting by spaces to support filename with spaces | ||||
| * | #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains ↵ | Florent Xicluna | 2010-04-01 | 1 | -4/+4 |
| | | | | | a double-quote. | ||||
| * | Issue #7860: platform.uname now reports the correct 'machine' type | R. David Murray | 2010-03-22 | 1 | -1/+5 |
| | | | | | | when Python is running in WOW64 mode on 64 bit Windows. Patch by Brian Curtin. | ||||
| * | Remove call to gestalt('sysu') from platform.py. This gestalt call is | Ronald Oussoren | 2010-02-07 | 1 | -19/+1 |
| | | | | | | | not available on OSX an appearently causes problems for some users. Fixes issue 7812 | ||||
| * | fix an UnboundLocalError when the release file is empty #7773 | Benjamin Peterson | 2010-01-25 | 1 | -2/+6 |
| | | |||||
| * | More yearly updates. | Georg Brandl | 2010-01-01 | 1 | -1/+1 |
| | | |||||
| * | Update bug tracker reference. | Georg Brandl | 2009-09-19 | 1 | -1/+1 |
| | | |||||
| * | Use a different VER command output parser to address the localization | Marc-André Lemburg | 2009-07-13 | 1 | -2/+17 |
| | | | | | | | issues mentioned in #3410. Prepare for Windows 7 (still commented out). | ||||
| * | Use a new global DEV_NULL instead of hard-coding /dev/null into the system | Marc-André Lemburg | 2009-07-13 | 1 | -4/+20 |
| | | | | | | | command helper functions. See #6479 for some motivation. | ||||
| * | add support for PyPy | Benjamin Peterson | 2009-03-26 | 1 | -0/+15 |
| | | |||||
| * | more and more implementations now support sys.subversion | Benjamin Peterson | 2009-03-26 | 1 | -13/+8 |
| | | |||||
| * | add much better tests for python version information parsing | Benjamin Peterson | 2009-03-26 | 1 | -5/+2 |
| | | |||||
| * | Remove the sys.version_info shortcut, since they cause the APIs | Marc-André Lemburg | 2009-03-25 | 1 | -8/+4 |
| | | | | | | | | | | to return different information than the _sys_version() output used in previous Python versions. This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings Added more tests for the various platform functions. | ||||
| * | #4157 move two test functions out of platform.py. | Amaury Forgeot d'Arc | 2008-10-21 | 1 | -33/+0 |
| | | | | | | | Turn them into unit tests, and correct an obvious typo: (("a", "b") ("c", "d") ("e", "f")) compiles even with the missing commas, but does not execute very well... | ||||
| * | Issue #3762: platform.architecture() fails if python is lanched via its ↵ | Hirokazu Yamamoto | 2008-09-04 | 1 | -1/+1 |
| | | | | | | | symbolic link. Reviewed by Amaury Forgeot d'Arc. | ||||
| * | Add quotes around the file name to avoid issues with spaces. | Marc-André Lemburg | 2008-09-02 | 1 | -1/+1 |
| | | | | | Closes #3719. | ||||
| * | Issue #3748: platform.architecture() printed vogus message on windows. | Hirokazu Yamamoto | 2008-09-01 | 1 | -0/+3 |
| | | | | | Reviewed by Marc-Andre Lemburg. | ||||
| * | platform.uname now tries to fill empty values even when os.uname is present | Benjamin Peterson | 2008-06-13 | 1 | -33/+40 |
| | | |||||
| * | - Add unittests for platform.mac_ver (or rather, ensure that the unittest for | Ronald Oussoren | 2008-05-18 | 1 | -0/+6 |
| | | | | | | | | that function actually tests something on OSX). - Add documentation to platform.mac_ver that explains why the middle element of the return value will not contain useful information. | ||||
| * | Fix for issue 1770190: platform.mac_ver() now returns the right | Ronald Oussoren | 2008-05-08 | 1 | -1/+11 |
| | | | | | version on OSX 10.4.10 | ||||
| * | If Mark Hammonds win32 tools are not available, try to use the _winreg module | Marc-André Lemburg | 2008-03-20 | 1 | -15/+48 |
| | | | | | | | | and sys.getwindowsversion() to get at the Windows version info. For the machine and processor uname() values, use the environment variables for these on Windows XP and later. | ||||
| * | Add new name for Mandrake: Mandriva. | Marc-André Lemburg | 2008-03-08 | 1 | -3/+4 |
| | | |||||
| * | issue1082: Fixing platform and system for Vista. | Sean Reifscheider | 2007-09-17 | 1 | -0/+6 |
| | | |||||
| * | Add patch #1726668: Windows Vista support. | Marc-André Lemburg | 2007-06-12 | 1 | -0/+20 |
| | | |||||
| * | Apply patch #1734945 to support TurboLinux as distribution. | Marc-André Lemburg | 2007-06-12 | 1 | -1/+1 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -6/+6 |
| | | |||||
| * | Use defaults if sys.executable isn't set (e.g. on Jython). | Marc-André Lemburg | 2007-01-13 | 1 | -1/+4 |
| | | | | | This change allows running PyBench under Jython. | ||||
| * | Add parameter sys_version to _sys_version(). | Marc-André Lemburg | 2007-01-13 | 1 | -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 docstrings | Neal Norwitz | 2007-01-13 | 1 | -2/+2 |
| | | |||||
| * | Bump version number and change copyright year. | Marc-André Lemburg | 2007-01-13 | 1 | -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/x86 | Ronald Oussoren | 2006-04-17 | 1 | -1/+2 |
| | | |||||
| * | Generalize buildno to be a sequence of non-comma | Martin v. Löwis | 2006-01-06 | 1 | -1/+1 |
| | | | | | characters. | ||||
| * | Fix _sys_version() so it works with the new buildno, not sure if it is ↵ | Neal Norwitz | 2005-12-18 | 1 | -2/+1 |
| | | | | | correct. test_platform passes | ||||
| * | Fix typo. | Walter Dörwald | 2005-11-21 | 1 | -1/+1 |
| | | |||||
| * | Patch by pythonic <pythonic@gmail.com> to support Fedora | Marc-André Lemburg | 2005-11-07 | 1 | -2/+8 |
| | | | | | as Linux distro. | ||||
| * | Added normalization for Windows system name. Closes SF #945665. | Marc-André Lemburg | 2004-06-19 | 1 | -1/+6 |
| | | |||||
| * | Using reversed() is not compatible with Python 1.5.2. | Guido van Rossum | 2004-05-04 | 1 | -1/+1 |
| | | |||||
| * | Added more Windows version names (thanks to Thomas Heller). | Marc-André Lemburg | 2004-03-25 | 1 | -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 Cannon | 2004-03-25 | 1 | -12/+25 |
| | | | | | Bumped version micro number. | ||||
| * | Fixed a caching bug in platform.platform() where the argument of 'terse' was | Brett Cannon | 2004-03-25 | 1 | -8/+8 |
| | | | | | not taken into consideration when caching value. | ||||
| * | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 1 | -1/+1 |
| | | |||||
| * | SF patch #834015: Remove imports of unused modules | Raymond Hettinger | 2003-11-02 | 1 | -1/+0 |
| | | | | | (Contributed by George Yoshida.) | ||||
| * | Bug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX, | Jack Jansen | 2003-08-11 | 1 | -1/+3 |
| | | | | | but attempting to get it resulted in a crash. Fixed. Backport candidate. | ||||
| * | Touch-up to docstrings. | Brett Cannon | 2003-08-05 | 1 | -19/+20 |
| | | |||||
| * | remove extra parameter from _java_getprop, remove duplicate imports | Neal Norwitz | 2003-06-29 | 1 | -2/+2 |
| | | |||||
| * | Fix docstring typo | Andrew M. Kuchling | 2003-04-24 | 1 | -1/+1 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2003-04-24 | 1 | -17/+17 |
| | | |||||
| * | Reformatted a bit to remove the lengthy re.compile() from the function | Marc-André Lemburg | 2003-04-24 | 1 | -23/+25 |
| | | | | | definitions. | ||||
