Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
44acda4c
Commit
44acda4c
authored
Jan 18, 2012
by
Jesus Cea
Browse files
Options
Browse Files
Download
Plain Diff
MERGE: Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name
parents
e39ebe45
8874fd6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
Lib/distutils/util.py
Lib/distutils/util.py
+2
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/util.py
View file @
44acda4c
...
...
@@ -9,6 +9,7 @@ import re
import
imp
import
sys
import
string
import
platform
from
distutils.errors
import
DistutilsPlatformError
from
distutils.dep_util
import
newer
from
distutils.spawn
import
spawn
...
...
@@ -77,6 +78,7 @@ def get_platform ():
if
release
[
0
]
>=
"5"
:
# SunOS 5 == Solaris 2
osname
=
"solaris"
release
=
"%d.%s"
%
(
int
(
release
[
0
])
-
3
,
release
[
2
:])
machine
+=
".%s"
%
platform
.
architecture
()[
0
]
# fall through to standard osname-release-machine representation
elif
osname
[:
4
]
==
"irix"
:
# could be "irix64"!
return
"%s-%s"
%
(
osname
,
release
)
...
...
Misc/NEWS
View file @
44acda4c
...
...
@@ -447,6 +447,9 @@ Core and Builtins
Library
-------
-
Issue
#
13803
:
Under
Solaris
,
distutils
doesn
't include bitness
in the directory name.
- Issue #10278: Add time.wallclock() function, monotonic clock.
- Issue #13809: Fix regression where bz2 module wouldn'
t
work
when
threads
are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment