Adam Turner
113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles ( #2209 )
2022-01-21 11:03:51 +00:00
Marti Raudsepp
9b64c6ea75
Various typo/grammar/style fixes ( #1789 )
...
Changes detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand, false positives have been omitted.
These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
2021-02-03 06:06:23 -08:00
Mariatta
cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
...
This reverts commit bb0e518ed3
.
2017-11-11 11:28:55 -08:00
Huang Huang
bb0e518ed3
Rename all .txt PEP files to .rst (GH-462)
...
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Marti Raudsepp
04a6af2ab1
Fix various typos, spelling and grammar errors
...
Errors detected using Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2016-07-11 18:35:35 +03:00
Georg Brandl
af90430776
Fix lists-in-blockquotes in 0xxx PEPs. Ref: #26914
2016-05-03 10:18:02 +02:00
Berker Peksag
72478f7d5f
Add PEP 486 by Paul Moore.
...
Also, update Paul's email address.
2015-02-12 21:13:56 +02:00
Brett Cannon
143f7cf398
Add a warning to PEP 302 that it should not longer be used as a
...
reference.
2013-05-04 14:04:46 -04:00
Barry Warsaw
ca0189a132
* reST-ified
...
* Remove long dead links
* Update reference numbers
2012-05-03 11:47:57 -04:00
Brett Cannon
b82532746f
Phase 2 of PEP 302 is done.
2012-04-29 20:04:31 -04:00
Brett Cannon
04fc727e6f
Require __loader__ and __package__ to be set by loaders.
2012-04-27 17:41:29 -04:00
Brett Cannon
7e85010d4a
Move over to using the term 'finder' as used in importlib.
2009-03-30 16:49:41 +00:00
Brett Cannon
2025481a4e
Specify what a loader must do if a load fails.
2009-02-15 06:06:09 +00:00
Nick Coghlan
bf253555cd
Since PEP 302 still serves as the de facto documentation of the import loader system, mention the new optional loader extension introduced by PEP 338
2009-02-08 02:41:22 +00:00
Brett Cannon
f4ecc494de
Fix a typo and strip some whitespace.
2009-02-06 02:42:50 +00:00
Georg Brandl
08ea236bbb
Update not-so-old PEP URL.
2009-01-18 09:50:42 +00:00
Brett Cannon
830e6def3b
Fix a spelling error.
2007-08-17 03:22:33 +00:00
Guido van Rossum
dea9d362fc
Mark PEP 302 as final (despite the docs being incomplete).
2007-05-18 18:05:05 +00:00
Guido van Rossum
e31746e7fc
Change the status of a whole lotta PEPs.
...
Some are marked final years after the work was completed and released;
others are rejected after sitting idly for years.
2007-05-18 17:41:31 +00:00
Brett Cannon
e2d0295f0f
Specify that load_module is to raise ImportError if an error has occurred and
...
no exceptino is being propagated or it has been asked to load a module that it
cannot.
Also specify that __name__ must be set on all loaded modules.
2007-04-29 20:19:50 +00:00
Brett Cannon
4c8c08686b
Fix a minor grammar error.
2006-10-20 02:07:00 +00:00
Georg Brandl
790d967970
Add a sentence clarifying that once a path_hooks importer has
...
been found for a sys.path entry, the builtin import machinery will not
handle that entry any longer.
2006-08-11 07:11:14 +00:00
David Goodger
f7ec3048fd
patch from Paul Moore
2006-02-24 22:47:18 +00:00
David Goodger
fe4d196e3f
not complete; I stand corrected ;-)
2004-09-28 12:39:00 +00:00
David Goodger
2cd6800e7b
details and clarifications, should have been checked in long ago
2004-09-28 01:11:15 +00:00
Phillip J. Eby
ec6e1005bd
It's PyImport_AddModule, not PyImport_ModuleAdd. Fix Python code sample
...
to do the right thing for reload() to work. Revise explanation so it's
clear what to do to fulfill reload()'s requirements in both C and Python.
2004-09-23 13:54:53 +00:00
Phillip J. Eby
9822ad205e
Fix specification error that makes it impossible for 'reload()' to work
...
correctly with PEP 302 module loaders. See also SF#1029475, and:
http://mail.python.org/pipermail/python-dev/2004-September/048970.html
2004-09-23 04:06:40 +00:00
Just van Rossum
1d35ead05d
- added two items from Paul Moore to "Open Issues"
...
- removed section that still mentioned importers-on-sys.path
2003-01-02 18:47:04 +00:00
Just van Rossum
b24983fdf7
2.3a1 integration note
2003-01-01 20:22:03 +00:00
Just van Rossum
59bf4255f7
removed get_package_path(), is_package() is back
2002-12-30 22:39:07 +00:00
Just van Rossum
7af5202bac
- renamed __import__ to __loader__
...
- changed the get_data() definition
2002-12-30 21:23:57 +00:00
Just van Rossum
bab98b7f32
- removed the importer-on-sys.path feature (an update patch will be posted
...
later)
- renamed imp.find_module2() to imp.get_loader() as suggested by Guido.
2002-12-28 10:16:07 +00:00
Just van Rossum
66feff0738
one more subtlety
2002-12-26 19:03:22 +00:00
Just van Rossum
a83a6e2b05
fixed a typo
2002-12-26 18:06:11 +00:00
Just van Rossum
d208dc5175
Fixed naive description of how relative imports work (spotted by Guido).
2002-12-26 18:00:40 +00:00
Just van Rossum
6d66240b0c
- some whitespace normalization (two spaces after sentence endings; yuck! ;-)
...
- minor edits
- added short Forward Compatibility section
- added comment about the Quixote/PTL use case to Open Issues
2002-12-24 20:36:32 +00:00
Just van Rossum
e7d8b40694
added note about the need of more introspective features: listing available modules and data files.
2002-12-23 22:46:21 +00:00
Just van Rossum
74737f0d45
- some reflow caused by David Goodger's spell checking
...
- added "Optional Extensions to the Importer Protocol" section
- fixed flaw in the importer protocol: i.find_module() will now receive
the package.__path__ (or None for a plain module) as an additional
argument, if it's installed on sys.meta_path. This is needed to
be able to add a hook that implements the full sys.path/pkg.__path__
semantics. See also footnote [7]. The patch on sf will be updated
shortly to match the new version of the PEP.
2002-12-23 22:13:48 +00:00
David Goodger
fb0080cbcb
Spell checked
2002-12-21 19:51:05 +00:00
Just van Rossum
650c382d0e
New Import Hooks PEP
2002-12-20 13:07:24 +00:00