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
35db8a80
Commit
35db8a80
authored
Mar 09, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Merge fix for issue #11450
parents
2d12f966
7983d33f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Misc/NEWS
Misc/NEWS
+3
-0
Modules/getbuildinfo.c
Modules/getbuildinfo.c
+3
-1
No files found.
Misc/NEWS
View file @
35db8a80
...
...
@@ -10,6 +10,9 @@ What's New in Python 3.2.1?
Core and Builtins
-----------------
- Issue #11450: Don'
t
truncate
hg
version
info
in
Py_GetBuildInfo
()
when
there
are
many
tags
(
e
.
g
.
when
using
mq
).
Patch
by
Nadeem
Vawda
.
-
Issue
#
11246
:
Fix
PyUnicode_FromFormat
(
"%V"
)
to
decode
the
byte
string
from
UTF
-
8
(
with
replace
error
handler
)
instead
of
ISO
-
8859
-
1
(
in
strict
mode
).
Patch
written
by
Ray
Allen
.
...
...
Modules/getbuildinfo.c
View file @
35db8a80
...
...
@@ -42,7 +42,9 @@
const
char
*
Py_GetBuildInfo
(
void
)
{
static
char
buildinfo
[
50
];
static
char
buildinfo
[
50
+
sizeof
HGVERSION
+
((
sizeof
HGTAG
>
sizeof
HGBRANCH
)
?
sizeof
HGTAG
:
sizeof
HGBRANCH
)];
const
char
*
revision
=
_Py_hgversion
();
const
char
*
sep
=
*
revision
?
":"
:
""
;
const
char
*
hgid
=
_Py_hgidentifier
();
...
...
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