Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cpython
Commits
d62522ab
Commit
d62522ab
authored
14 years ago
by
Raymond Hettinger
Browse files
Options
Download
Email Patches
Plain Diff
Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion.
parent
6c3f0179
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/pyclbr.py
Lib/pyclbr.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/pyclbr.py
View file @
d62522ab
...
...
@@ -325,7 +325,7 @@ def _main():
else
:
path
=
[]
dict
=
readmodule_ex
(
mod
,
path
)
objs
=
dict
.
values
()
objs
=
list
(
dict
.
values
()
)
objs
.
sort
(
key
=
lambda
a
:
getattr
(
a
,
'lineno'
,
0
))
for
obj
in
objs
:
if
isinstance
(
obj
,
Class
):
...
...
This diff is collapsed.
Click to expand it.
Misc/NEWS
View file @
d62522ab
...
...
@@ -37,6 +37,9 @@ Core and Builtins
Library
-------
- Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
conversion.
- Issue #10974: IDLE no longer crashes if its recent files list includes files
with non-ASCII characters in their path names.
...
...
This diff is collapsed.
Click to expand it.
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