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
d2dee34a
Commit
d2dee34a
authored
Mar 09, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Merge fix for issue #11450
parents
33cb5c90
35db8a80
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 @
d2dee34a
...
...
@@ -10,6 +10,9 @@ What's New in Python 3.3 Alpha 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
#
11335
:
Fixed
a
memory
leak
in
list
.
sort
when
the
key
function
throws
an
exception
.
...
...
Modules/getbuildinfo.c
View file @
d2dee34a
...
...
@@ -34,7 +34,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