2000-09-15 14:35:35 -04:00
|
|
|
|
PEP: 42
|
|
|
|
|
Title: Small Feature Requests
|
|
|
|
|
Version: $Revision$
|
|
|
|
|
Author: Jeremy Hylton <jeremy@beopen.com>
|
|
|
|
|
Status: Active
|
|
|
|
|
Type: Informational
|
|
|
|
|
Created: 12-Sep-2000
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
|
|
|
|
|
|
This PEP contains a list of small feature requests that may be
|
|
|
|
|
considered for future versions of Python. Large feature requests
|
|
|
|
|
are not included here, but are described in separate PEPs. See
|
|
|
|
|
pep-0000.txt for details.
|
|
|
|
|
|
|
|
|
|
|
2000-09-15 15:27:09 -04:00
|
|
|
|
Core Language / Builtins
|
2000-09-15 14:35:35 -04:00
|
|
|
|
|
2000-09-15 14:56:47 -04:00
|
|
|
|
- A builtin function that returns the number of bytes an object
|
|
|
|
|
uses internally. Apparently mxTools has a sizeof function that
|
|
|
|
|
returns the size of the object struct itself.
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=110835&group_id=5470
|
2000-09-15 14:35:35 -04:00
|
|
|
|
|
2000-09-15 15:22:22 -04:00
|
|
|
|
- Add C API functions to help Windows users who are building
|
|
|
|
|
embedded applications where the FILE * structure does not match
|
|
|
|
|
the FILE * the interpreter was compiled with.
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=110821&group_id=5470
|
|
|
|
|
|
|
|
|
|
See this bug report for a specific suggestion that will allow a
|
|
|
|
|
Borland C++ builder application to interact with a python.dll
|
|
|
|
|
build with MSVC.
|
|
|
|
|
|
2000-09-15 15:27:09 -04:00
|
|
|
|
|
|
|
|
|
Standard Library
|
|
|
|
|
|
|
|
|
|
- The urllib module should support proxies which require
|
|
|
|
|
authenication. See SourceForge bug #110619 for information:
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=110619&group_id=5470
|
|
|
|
|
|
|
|
|
|
- Support passive FTP via urllib
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=110848&group_id=5470
|
|
|
|
|
|
2000-09-15 16:04:01 -04:00
|
|
|
|
- Use objects with attributes in place of tuples of values for
|
|
|
|
|
return values in several places in the library. Two specific
|
|
|
|
|
APIs which could use this treatment include os.stat() and
|
|
|
|
|
os.statvfs(); see SourceForge bug #111481:
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=111481&group_id=5470
|
|
|
|
|
|
|
|
|
|
which shows very specifically why this approach is better than
|
|
|
|
|
the tuple approach: additional attributes can be added as needed
|
|
|
|
|
without having as detrimental an affect on existing code.
|
|
|
|
|
|
|
|
|
|
- os.rename() should be modified to handle EXDEV errors on
|
|
|
|
|
platforms that don't allow rename() to operate across filesystem
|
|
|
|
|
boundaries by copying the file over and removing the original.
|
|
|
|
|
Linux is one system that requires this treatment.
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=112317&group_id=5470
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tools
|
|
|
|
|
|
|
|
|
|
- IDLE should reload & recompile modules changed externally. To
|
|
|
|
|
be done properly, scripts will have to be run in a separate
|
|
|
|
|
process.
|
|
|
|
|
|
|
|
|
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=110841&group_id=5470
|
|
|
|
|
|
2000-09-15 14:35:35 -04:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: indented-text
|
|
|
|
|
indent-tabs-mode: nil
|
|
|
|
|
End:
|