summaryrefslogtreecommitdiffstats
path: root/Doc/library/imp.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-92611: Clarify planned removal version in PEP 594-deprecated modules ↵CAM Gerlach2022-05-201-1/+1
| | | | | | | (GH-92793) As discussed in #92611 and #92564 and as a followup to PR #92612 , this 3.11+ only PR uses the proper `deprecated-removed` role for the modules deprecated by PEP 593 (PEP-594) to clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts. Related to #92792 ; if we decide to backport that PR, the upgrade to using `deprecated-removed` on those functions can be moved to this one.
* bpo-37674: Tweak imp module deprecation note in the docs (GH-20480)Zackery Spytz2020-06-131-1/+1
|
* bpo-35325: Doc: imp.find_module() return value documentation discrepancy ↵Windson yang2019-09-121-6/+5
| | | | | | (GH-11040)
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-191-1/+1
|
* bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)Stéphane Wirtel2018-10-261-1/+1
|
* Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+4
|\
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+4
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #25802: Add an examples section to importlib.Brett Cannon2016-01-081-5/+10
|/ | | | Thanks to Berker Peksag for the patch review.
* Merge: #24081: Remove obsolete caveat from import docs.R David Murray2015-05-021-6/+0
|\
| * #24081: Remove obsolete caveat from import docs.R David Murray2015-05-021-6/+0
| | | | | | | | | | | | | | Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce, but these docs were not updated. Patch by Peter Viktorin.
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-5/+6
|/ | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* Issue #21157: Touch up imp docs to be more explicit about importlibBrett Cannon2014-05-091-4/+8
| | | | alternatives.
* Fix a few scoping issues with versionadded/versionchanged directives.Georg Brandl2014-03-241-15/+15
|
* Issues #20194,20195: Add missing :deprecated: markers to some moduleBrett Cannon2014-01-171-3/+3
| | | | docs.
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
|\
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-2/+2
| |
* | merge from 3.3Brett Cannon2013-10-251-0/+4
|\ \ | |/
| * Issue #19392: Document that imp.reload() now relies on __loader__Brett Cannon2013-10-251-0/+4
| | | | | | | | being defined on top of __name__.
* | Merge from 3.3Andrew Kuchling2013-06-211-1/+1
|\ \ | |/
| * Closes #18272: use 'builtins' for 3.3 instead of __builtin__Andrew Kuchling2013-06-211-1/+1
| |
| * #17135: Add note in imp to use importlib for new programs.R David Murray2013-04-181-2/+6
| |
| * Issue #17176: Document that imp.NullImporter is no longerBrett Cannon2013-03-131-4/+5
| | | | | | | | automatically used by import.
* | Issue #17177: Clarify some deprecationsBrett Cannon2013-06-191-3/+11
| |
* | Issue #17177: The imp module is pending deprecation.Brett Cannon2013-06-161-2/+5
| | | | | | | | | | | | To make sure there is no issue with code that is both Python 2 and 3 compatible, there are no plans to remove the module any sooner than Python 4 (unless the community moves to Python 3 solidly before then).
* | Issue #17907: touch up the code for imp.new_module().Brett Cannon2013-06-151-0/+6
| |
* | Issue #17907: Document types.ModuleType's constructor and attributes,Brett Cannon2013-06-141-0/+3
| | | | | | | | allowing for documenting imp.new_module() as deprecated.
* | Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document theBrett Cannon2013-06-141-0/+3
| | | | | | | | deprecation of imp.get_magic().
* | Issue #18193: Add importlib.reload(), documenting (but notBrett Cannon2013-06-141-0/+3
| | | | | | | | | | | | implementing in code) the deprecation of imp.reload(). Thanks to Berker Peksag for the patch.
* | #17135: mark imp as deprecated as of 3.4.R David Murray2013-04-171-2/+5
| |
* | Issue #17176: Document that imp.NullImporter is no longer insertedBrett Cannon2013-03-131-4/+5
|/ | | | into sys.path_importer_cache.
* Issue #15053: Make sure all functions related to the import lock haveBrett Cannon2012-07-131-5/+16
| | | | | the Python 3.3 change notice on them in case someone directly links to the function(s).
* Issue #15056: imp.cache_from_source() and source_from_cache() raiseBrett Cannon2012-07-091-3/+18
| | | | | | NotimplementedError when sys.implementation.cache_tag is None. Thanks to Pranav Ravichandran for taking an initial stab at the patch.
* Move import lock-related functions to a separate doc section.Antoine Pitrou2012-05-171-42/+43
|
* Issue #9260: A finer-grained import lock.Antoine Pitrou2012-05-171-10/+21
| | | | | Most of the import sequence now uses per-module locks rather than the global import lock, eliminating well-known issues with threads and imports.
* Issue #13959: Document imp.find_module/load_module as deprecated.Brett Cannon2012-05-131-0/+7
| | | | | | | | 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().
* Deprecate the imp constants related to imp.get_suffixes().Brett Cannon2012-05-111-0/+12
|
* Issue #13959: Deprecate imp.get_suffixes() for new attributes onBrett Cannon2012-05-111-0/+3
| | | | | | | | | | | 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.
* minor .rst fixSenthil Kumaran2012-04-101-1/+1
|
* #14355: remove obsolete doc reference to previously removed init_frozen.R David Murray2012-03-191-1/+1
| | | | Patch by Eric Snow.
* Remove mentions of the Demo directory.Georg Brandl2010-12-301-7/+0
|
* Add missing docs and directives related to PEP 3147 and byte-compilationÉric Araujo2010-12-161-2/+2
|
* Remove reference to stuff which is already obsolete in 2.x.Antoine Pitrou2010-12-121-82/+0
|
* Add cross-references to the glossary entry for file objects.Antoine Pitrou2010-09-151-2/+2
|
* add spacesBenjamin Peterson2010-09-131-0/+2
|
* remove less complete of duplicate docsBenjamin Peterson2010-09-131-13/+0
|
* remove duplicate statementBenjamin Peterson2010-09-131-2/+1
|
* Merged revisions 81163 via svnmerge fromVictor Stinner2010-05-141-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP ........
* PEP 3147Barry Warsaw2010-04-171-2/+35
|
* Merged revisions 73930-73932,73937-73939,73945,73951,73954,73962-73963,73970 ↵Alexandre Vassalotti2009-07-171-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73930 | amaury.forgeotdarc | 2009-07-10 12:47:42 -0400 (Fri, 10 Jul 2009) | 2 lines #6447: typo in subprocess docstring ........ r73931 | ezio.melotti | 2009-07-10 16:25:56 -0400 (Fri, 10 Jul 2009) | 1 line more cleanups and if zlib -> skipUnless(zlib) ........ r73932 | kristjan.jonsson | 2009-07-11 04:44:43 -0400 (Sat, 11 Jul 2009) | 3 lines http://bugs.python.org/issue6460 Need to be careful with thread switching when testing the xmlrpc server. The server thread may not have updated stats when the client thread tests them. ........ r73937 | georg.brandl | 2009-07-11 06:12:36 -0400 (Sat, 11 Jul 2009) | 1 line Fix style. ........ r73938 | georg.brandl | 2009-07-11 06:14:54 -0400 (Sat, 11 Jul 2009) | 1 line #6446: fix import_spam() function to use correct error and reference handling. ........ r73939 | georg.brandl | 2009-07-11 06:18:10 -0400 (Sat, 11 Jul 2009) | 1 line #6448: clarify docs for find_module(). ........ r73945 | georg.brandl | 2009-07-11 06:51:31 -0400 (Sat, 11 Jul 2009) | 1 line #6456: clarify the meaning of constants used as arguments to nl_langinfo(). ........ r73951 | georg.brandl | 2009-07-11 10:23:38 -0400 (Sat, 11 Jul 2009) | 2 lines array.array is actually a class. ........ r73954 | tarek.ziade | 2009-07-11 13:21:00 -0400 (Sat, 11 Jul 2009) | 1 line reverted changes for #6459 (doesn't apply on 2.x) ........ r73962 | benjamin.peterson | 2009-07-11 18:15:13 -0400 (Sat, 11 Jul 2009) | 1 line put downloaded test support files in Lib/test/data instead of the cwd ........ r73963 | benjamin.peterson | 2009-07-11 18:25:24 -0400 (Sat, 11 Jul 2009) | 1 line ignore things in Lib/test/data/ ........ r73970 | hirokazu.yamamoto | 2009-07-11 22:04:47 -0400 (Sat, 11 Jul 2009) | 1 line Fixed distutils test. ........
* Convert all "i" docs to new style optional args.Georg Brandl2009-06-011-1/+0
|