Added three requests based on SourceForge bug reports.
This commit is contained in:
parent
fcebbf42b9
commit
6dc955c7c4
27
pep-0042.txt
27
pep-0042.txt
|
@ -44,6 +44,33 @@ Standard Library
|
||||||
|
|
||||||
http://sourceforge.net/bugs/?func=detailbug&bug_id=110848&group_id=5470
|
http://sourceforge.net/bugs/?func=detailbug&bug_id=110848&group_id=5470
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
|
||||||
Local Variables:
|
Local Variables:
|
||||||
mode: indented-text
|
mode: indented-text
|
||||||
|
|
Loading…
Reference in New Issue