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
9dd41fa9
Commit
9dd41fa9
authored
May 11, 2011
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 3.2
parents
caece0a6
79a11e71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+7
-4
Misc/NEWS
Misc/NEWS
+3
-0
Modules/_tkinter.c
Modules/_tkinter.c
+13
-1
No files found.
Lib/idlelib/NEWS.txt
View file @
9dd41fa9
What's New in IDLE 3.
1.4
?
What's New in IDLE 3.
2.1
?
=========================
*Release date: XX-XXX-XX*
*Release date: 15-May-11*
- Issue #1028: Ctrl-space binding to show completions was causing IDLE to exit.
Tk < 8.5 was sending invalid Unicode null; replaced with valid null.
- <Home> toggle failing on Tk 8.5, causing IDLE exits and strange selection
behavior. Issue 4676. Improve selection extension behaviour.
- <Home> toggle non-functional when NumLock set on Windows. Issue 3851.
- <Home> toggle non-functional when NumLock set on Windows. Issue 3851.
What's New in IDLE 3.1b1?
=========================
*Release date:
27-Jun
-09*
*Release date:
06-May
-09*
- Use of 'filter' in keybindingDialog.py was causing custom key assignment to
fail. Patch 5707 amaury.forgeotdarc.
...
...
Misc/NEWS
View file @
9dd41fa9
...
...
@@ -142,6 +142,9 @@ Core and Builtins
Library
-------
- Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.
With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused
IDLE to exit. Converted to valid Unicode null in PythonCmd().
- Issue #11799: urllib.request Authentication Handlers will raise a ValueError
when presented with an unsupported Authentication Scheme. Patch contributed
...
...
Modules/_tkinter.c
View file @
9dd41fa9
...
...
@@ -2022,7 +2022,19 @@ PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
for
(
i
=
0
;
i
<
(
argc
-
1
);
i
++
)
{
PyObject
*
s
=
PyUnicode_FromString
(
argv
[
i
+
1
]);
if
(
!
s
||
PyTuple_SetItem
(
arg
,
i
,
s
))
{
if
(
!
s
)
{
/* Is Tk leaking 0xC080 in %A - a "modified" utf-8 null? */
if
(
PyErr_ExceptionMatches
(
PyExc_UnicodeDecodeError
)
&&
!
strcmp
(
argv
[
i
+
1
],
"
\xC0\x80
"
))
{
PyErr_Clear
();
/* Convert to "strict" utf-8 null */
s
=
PyUnicode_FromString
(
"
\0
"
);
}
else
{
Py_DECREF
(
arg
);
return
PythonCmd_Error
(
interp
);
}
}
if
(
PyTuple_SetItem
(
arg
,
i
,
s
))
{
Py_DECREF
(
arg
);
return
PythonCmd_Error
(
interp
);
}
...
...
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