Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2969)

#13959: Re-implement parts of imp in pure Python

Can't Edit
Can't Publish+Mail
Start Review
Created:
1 year, 2 months ago by brett
Modified:
11 months ago
Reviewers:
merwok
CC:
brett.cannon, Georg, jpe_wingware.com, AntoinePitrou, Benjamin Peterson, eric.araujo, Arfrever.FTA_GMail.Com, meadori, devnull_psf.upfronthosting.co.za, eric.snow, berkerpeksag
Visibility:
Public.

Patch Set 1 #

Patch Set 2 #

Total comments: 2

Patch Set 3 #

Patch Set 4 #

Patch Set 5 #

Patch Set 6 #

Patch Set 7 #

Patch Set 8 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/imp.py View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
Lib/importlib/_bootstrap.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
Python/import.c View 1 2 3 4 5 6 7 5 chunks +14 lines, -24 lines 0 comments Download
Python/importlib.h View 1 2 3 4 5 6 7 5 chunks +169 lines, -167 lines 0 comments Download

Messages

Total messages: 1
eric.araujo
1 year, 2 months ago #1
Thanks a lot for tackling import!

http://bugs.python.org/review/13959/diff/4494/16010
File Lib/imp.py (right):

http://bugs.python.org/review/13959/diff/4494/16010#newcode12
Lib/imp.py:12: __all__ = (
Some tools break is __all__ is not a list.

http://bugs.python.org/review/13959/diff/4494/16012
File Lib/importlib/_bootstrap.py (right):

http://bugs.python.org/review/13959/diff/4494/16012#newcode1378
Lib/importlib/_bootstrap.py:1378: SOABI = "{}dm".format(TAG)
Is it correct that d and m are hard-coded?  IIUC they depend on configure
options.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7