]> granicus.if.org Git - python/commitdiff
Add a note for importlib about backporting some of functools.wraps functionality.
authorBrett Cannon <bcannon@gmail.com>
Sat, 7 Feb 2009 01:57:14 +0000 (01:57 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 7 Feb 2009 01:57:14 +0000 (01:57 +0000)
Lib/importlib/NOTES

index f0d8e433942c66cd48ccd1cdb5814f8691da284c..c1df89bf31f08247fcbde642a7e9d672d0fcecf2 100644 (file)
@@ -3,6 +3,8 @@ to do
 
 * Extract test_path_hooks constants into a util module for extension testing.
 
+* Backport a poor-man's functools.wraps.
+
 * Implement PEP 302 protocol for loaders (should just be a matter of testing).
 
     + Built-in.
@@ -40,9 +42,10 @@ to do
         * bytecode_path
         * write_bytecode (not abstract)
 
-  + util
+  + util (for decorators, make sure to wrap with functools.wraps)
 
       - get_module decorator (rename: module_for_loader)
+      - set___package__ decorator
 
   + machinery