Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2011-06-21 21:18:14
Size: 391
Editor: BarryWarsaw
Comment:
Revision 15 as of 2011-06-21 23:41:21
Size: 1647
Editor: BarryWarsaw
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
   * look for reference counting issues
   * other initialization issues ({{{*foo = NULL}}})
Line 9: Line 11:
   * top-level non-trivial __init__.py
   * various reload scenarios
   * both {{{__init__.py}}} and {{{.pth}}} file exists
   * multiple .pth files in the same namespace package directory
 * Why are non-* lines in .pth files treated as paths and added to __path__?
Line 12: Line 19:
   * --e.g. zip import-- Already done, but zipimport needs to support PEP-382
   * could land independently (but need to go through python-dev)
   * does this really make our lives easier?
 * attempt a merge of mvl's branch to trunk
 * figure out build problems on windows (jaraco)
 * test_imp gives one failure on fedora (make sure imp module has been updated)

= PEP Questions =

 * Clarify what happens when a directory contains both an {{{__init__.py}}} and a {{{.pth}}} file
 * PEP should clarify what the impact of the PEP is on existing namespace packages (i.e. those with magic {{{__init__.py}}} files
 * Do {{{import}}} statements in {{{.pth}}} files get ignored or does it raise an error?
 * Impact of PEP on setuptools/packaging/distutils*
 * Should these really be called {{{.pth}} files when they bear no resemblance to {{{site.py}}}'s flavor of {{{.pth}} files?

PEP 382 Sprint

  • Silver Spring, Maryland USA 21-Jun-2011 2000UTC

Tasks

  • review Martin's branch hg clone http://hg.python.org/features/pep-382

    • look for reference counting issues
    • other initialization issues (*foo = NULL)

  • do we have sufficient test coverage?
    • top-level non-trivial init.py

    • various reload scenarios
    • both __init__.py and .pth file exists

    • multiple .pth files in the same namespace package directory
  • Why are non-* lines in .pth files treated as paths and added to path?

  • is importlib is covered?

  • pull down 3rd party pep 302 loader and see if/how it's broken
  • refactor import.c to yank out anything that can be written as a 302 loader?
    • --e.g. zip import-- Already done, but zipimport needs to support PEP-382
    • could land independently (but need to go through python-dev)
    • does this really make our lives easier?
  • attempt a merge of mvl's branch to trunk
  • figure out build problems on windows (jaraco)
  • test_imp gives one failure on fedora (make sure imp module has been updated)

PEP Questions

  • Clarify what happens when a directory contains both an __init__.py and a .pth file

  • PEP should clarify what the impact of the PEP is on existing namespace packages (i.e. those with magic __init__.py files

  • Do import statements in .pth files get ignored or does it raise an error?

  • Impact of PEP on setuptools/packaging/distutils*
  • Should these really be called .pth}} files when they bear no resemblance to {{{site.py's flavor of {.pth files?

Pep382Sprint (last edited 2011-06-27 12:43:31 by drake)

Unable to edit the page? See the FrontPage for instructions.