Steve Dower
74f4af7ac3
Issue #27932 : Prevent memory leak in win32_ver().
10 years ago
Steve Dower
1ec262be80
Issue #27932 : Prevent memory leak in win32_ver().
10 years ago
Steve Dower
f028d9f71a
Issue #27932 : Backs out change
10 years ago
Steve Dower
6a294a54de
Issue #27932 : Fixes memory leak in platform.win32_ver()
10 years ago
Steve Dower
41519b2ca8
Issue #26513 : Fixes platform module detection of Windows Server
10 years ago
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
10 years ago
Larry Hastings
10108a7b9a
Issue #27355 : Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
10 years ago
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
10 years ago
Martin Panter
4e50553823
Issue #21313 : Tolerate truncated buildinfo in sys.version
10 years ago
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
10 years ago
Steve Dower
126c9c17ef
Issue #26513 : Fixes platform module detection of Windows Server
10 years ago
Steve Dower
8f278f1662
Handle calls to win32_ver from non-Windows platform
11 years ago
Steve Dower
64a3387d69
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
11 years ago
Steve Dower
b9f4feab1b
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
11 years ago
Steve Dower
cae101f5ec
Issue #24839 : platform._syscmd_ver raises DeprecationWarning
11 years ago
Berker Peksag
1392f71c39
Issue #24210 : Silence a PendingDeprecationWarning warning in platform.platform().
11 years ago
Berker Peksag
2f3742b0d8
Issue #1322 : platform.dist() and platform.linux_distribution() functions are now deprecated.
Initial patch by Vajrasky Kok.
11 years ago
Serhiy Storchaka
46ba6c8563
Issue #22831 : Use "with" to avoid possible fd leaks.
11 years ago
Victor Stinner
7fa767e517
Issue #20976 : pyflakes: Remove unused imports
12 years ago
Ned Deily
936dfae2e2
Issue #20229 : Avoid plistlib deprecation warning in platform.mac_ver().
12 years ago
Victor Stinner
ced3936894
Issue #17429 : some PEP 8 compliance fixes for the platform modules, add whitespaces
12 years ago
Victor Stinner
620c48b7ea
Issue #17429 : platform.linux_distribution() now decodes files from the UTF-8
encoding with the surrogateescape error handler, instead of decoding from the
locale encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.
12 years ago
Ezio Melotti
f076f53386
#8964 : fix platform._sys_version to handle IronPython 2.6+.
13 years ago
Ezio Melotti
30b9d5d3af
#18705 : fix a number of typos. Patch by Févry Thibault.
13 years ago
Ronald Oussoren
0fedb37c47
Issue #18393 : Remove use of deprecated API on OSX
The "Gestalt" function on OSX is deprecated (starting with OSX 10.8),
remove its usage from the stdlib. The patch removes a number of private
functions and a private module, but does not change the public API.
The removed code was effectively dead, the platform module has used
other code to fetch the OSX version for years and could only use
on the Gestalt-based code as a fallback. That fallback can only trigger
on broken OSX installs (that is, someone has removed parts of the system
install)
13 years ago
Brett Cannon
cd171c8e92
Issue #18200 : Back out usage of ModuleNotFoundError (8d28d44f3a9a)
13 years ago
Brett Cannon
0a140668fa
Issue #18200 : Update the stdlib (except tests) to use
ModuleNotFoundError.
13 years ago
Andrew Svetlov
f7a17b48d7
Replace IOError with OSError ( #16715 )
13 years ago
Andrew Svetlov
2606a6f197
Issue #16719 : Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
13 years ago
Andrew Svetlov
0832af6628
Issue #16717 : get rid of socket.error, replace with OSError
13 years ago
Andrew Svetlov
ad28c7f9da
Issue #16706 : get rid of os.error
13 years ago
Brian Curtin
c1924ab729
Fix #16176 . Properly identify Windows 8 via platform.platform()
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
14 years ago
Brian Curtin
0b960f5a58
Fix #16176 . Properly identify Windows 8 via platform.platform()
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
14 years ago
Jesus Cea
685fffa8f4
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
14 years ago
Jesus Cea
2699c9d248
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
14 years ago
Jesus Cea
adc8211e00
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' and decode the bytes
14 years ago
Jesus Cea
69e7c9b1fd
#16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()'
14 years ago
Jesus Cea
4791a24268
#16135 : Removal of OS/2 support (Python code partial cleanup)
14 years ago
Jesus Cea
f1af705720
#16135 : Removal of OS/2 support (Remove OS2 and OS/2 references)
14 years ago
Jesus Cea
debda5d4e2
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file. Solve a 2.7 bootstrap issue
14 years ago
Jesus Cea
3e94e14a68
Backed out changeset 5abacebec9d2
14 years ago
Jesus Cea
82a3924122
Backed out changeset c73b90b6dadd
14 years ago
Jesus Cea
fc990e942f
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
14 years ago
Jesus Cea
95038fa526
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
14 years ago
Larry Hastings
68386bc0b8
Issue #15164 : Change return value of platform.uname() from a
plain tuple to a collections.namedtuple.
14 years ago
Antoine Pitrou
ab88803a8a
Support Mageia Linux in the platform module.
14 years ago
Georg Brandl
488fccfaaf
Closes #11678 : support Arch linux in the platform module.
14 years ago
Larry Hastings
605a62ddb1
Issue #15118 : Change return value of os.uname() and os.times() from
plain tuples to immutable iterable objects with named attributes
(structseq objects).
14 years ago
Brian Curtin
b4bef305fd
merge from fb225c289bf0
14 years ago
Brian Curtin
10dda6e029
Add a hint that CSD == Service Pack.
People searcing for the way to get a "service pack" will never find that we
provide it here, and people that find this function won't know what CSD is
until they run the function. On top of this, they won't know what the value
means unless they really have a service pack installed.
CSD, or Customer Service Diagnostics, is apparently no longer used, and was
rarely used term at that. Most references to it online are from
universities making Windows 2000 and XP service packs available to students.
14 years ago