Python Feature Request: (?) Group all file-directory-related stdlib functions in one place

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • samjnaa@gmail.com

    #1

    Python Feature Request: (?) Group all file-directory-related stdlib functions in one place

    Please check for sanity and approve for posting at python-dev.

    Currently file-directory-related functionality in the Python standard
    library is scattered among various modules such as shutil, os,
    dircache etc. So I request that the functions be gathered and
    consolidated at one place. Some may need renaming to avoid conflicts
    or for clarification.

  • bearophileHUGS@lycos.com

    #2
    Re: Python Feature Request: (?) Group all file-directory-related stdlib functions in one place

    Currently file-directory-related functionality in the Python standard
    library is scattered among various modules such as shutil, os,
    dircache etc. So I request that the functions be gathered and
    consolidated at one place. Some may need renaming to avoid conflicts
    or for clarification.
    I think similar consolidations of the STD lib are positive, they are
    scheduled for Python V.3.0-3.1:
    This PEP describes a procedure for reviewing and improving standard library modules, especially those written in Python, making them ready for Python 3000. There can be different steps of refurbishing, each of which is described in a section below. Of...

    Just like the language itself, Python’s standard library (stdlib) has grown over the years to be very rich. But over time some modules have lost their need to be included with Python. There has also been an introduction of a naming convention for modu...

    If you submit this to python-dev I suggest you to work as much as
    possible: finding a good organization, writing justifications all for
    all the changes etc. You can also remember that lot of people are
    using some nonstandard modules, like the path one, that may be fit for
    the STD library, once cleaned up a bit, so you have to take into
    accout that too.

    Bye,
    bearophile

    Comment

    • =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

      #3
      Re: Python Feature Request: (?) Group all file-directory-relatedstdlib functions in one place

      Currently file-directory-related functionality in the Python standard
      library is scattered among various modules such as shutil, os,
      dircache etc. So I request that the functions be gathered and
      consolidated at one place. Some may need renaming to avoid conflicts
      or for clarification.
      >
      Please see PEP 355.

      Regards,
      Martin

      Comment

      • faulkner

        #4
        Re: Python Feature Request: (?) Group all file-directory-related stdlib functions in one place

        On Apr 14, 6:30 am, samj...@gmail.c om wrote:
        Please check for sanity and approve for posting at python-dev.
        >
        Currently file-directory-related functionality in the Python standard
        library is scattered among various modules such as shutil, os,
        dircache etc. So I request that the functions be gathered and
        consolidated at one place. Some may need renaming to avoid conflicts
        or for clarification.
        checkout the py3k svn branch and submit a patch [extending or
        conforming to pep355] to python-dev.

        Comment

        • Nikita the Spider

          #5
          Re: Python Feature Request: (?) Group all file-directory-related stdlib functions in one place

          In article <4620b4c9$0$144 10$9b622d9e@new s.freenet.de>,
          "Martin v. Löwis" <martin@v.loewi s.dewrote:
          Currently file-directory-related functionality in the Python standard
          library is scattered among various modules such as shutil, os,
          dircache etc. So I request that the functions be gathered and
          consolidated at one place. Some may need renaming to avoid conflicts
          or for clarification.
          >
          Please see PEP 355.
          Thanks for bringing this to my attention; I was not aware of this PEP.
          The organization of the stdlib's file- and path-related functions gives
          me headaches so I'd like to see it change. But note that GvR has
          pronounced that PEP 355 is dead:



          --
          Philip

          Whole-site HTML validation, link checking and more

          Comment

          Working...