- 13 May, 2012 11 commits
-
-
Antoine Pitrou authored
Issue #14417: Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205).
-
Charles-François Natali authored
timing attacks. Patch by Jon Oberheide.
-
Brett Cannon authored
-
Brian Curtin authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Brett Cannon authored
The code itself does not raise a DeprecationWarning as the functions are technically fine, it's just a bad API. Unfortunately experience has shown that the terrible API has been exposed in various places, necessitating that it stick around probably until py4k comes around since it is such a shift to move over to importlib.find_loader().
-
Brian Curtin authored
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Martin v. Löwis authored
Patch by Serhiy Storchaka.
-
- 12 May, 2012 14 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
(issue #13903).
-
Brett Cannon authored
The long-term goal is to deprecate imp.find_module() in favour of this API, but it will take some time as some APIs explicitly return/use what imp.find_module() returns.
-
Brett Cannon authored
-
Antoine Pitrou authored
-
Sandro Tosi authored
-
Sandro Tosi authored
-
Stefan Krah authored
universal: it returns a meaningless result. Use sys.maxsize instead of platform.architecture as a fallback. Patch by Ned Deily.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
Patch by Hynek Schlawack.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Ross Lagerwall authored
-
- 11 May, 2012 9 commits
-
-
Benjamin Peterson authored
-
Brett Cannon authored
importlib.abc.FileLoader.load_module()/get_filename() and importlib.machinery.ExtensionFileLoader.load_module() have their single argument be optional as the loader's constructor has all the ncessary information. This allows for the deprecation of imp.load_source()/load_compile()/load_package().
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense.
-
Brett Cannon authored
import machinery is no longer implicit.
-
Ned Deily authored
-
Ned Deily authored
support chflag operations. (Patch by Hynek Schlawack)
-
Ned Deily authored
support chflag operations. (Patch by Hynek Schlawack)
-
- 10 May, 2012 6 commits
-
-
Benjamin Peterson authored
-
Antoine Pitrou authored
Patch by Hynek Schlawack.
-
Antoine Pitrou authored
Patch by Hynek Schlawack.
-
Richard Oudkerk authored
In Python 3.2 and earlier, Process.join() and Connection.poll() treated negative timeouts as zero timeouts. Earlier versions from the 3.3 line of development treat them as infinite timeouts. The patch reverts to the old behaviour.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-