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. 4 1417
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: http://www.python.org/dev/peps/pep-3001/ http://www.python.org/dev/peps/pep-3108/
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
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
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.
In article <46************ ***********@new s.freenet.de>,
"Martin v. Löwis" <ma****@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: http://mail.python.org/pipermail/pyt...er/069087.html
--
Philip http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mike420 |
last post by:
I think everyone who used Python will agree that its syntax is
the best thing going for it. It is very readable and easy
for everyone to learn. But, Python does not a have very good
macro capabilities, unfortunately. I'd like to know if it may
be possible to add a powerful macro system to Python, while
keeping its amazing syntax, and if it could be possible to
add Pythonistic syntax to Lisp or Scheme, while keeping all
of the...
|
by: Erik Johnson |
last post by:
This is somewhat a NEWBIE question...
My company maintains a small RDBS driven website. We currently generate
HTML using PHP. I've hacked a bit in Python, and generally think it is a
rather cool language. I've done Perl and like it, there are a few features
of PHP I like but overall am not too excited about it. I have found PHP's
strtotime() function to be quite flexible and handy and we make liberal use
of it.
I have not yet really...
|
by: Lad |
last post by:
Is anyone capable of providing Python advantages over PHP if there are
any?
Cheers,
L.
|
by: Christopher J. Bottaro |
last post by:
This post is just the culmination of my thoughts and discussions with my
coworkers on Python. If you are not interested, please skip over it.
At my work, we are developing a product from scratch. It is completely
modular and the modules communicate via SOAP. Because of that, we can
implement individual modules in any language of our choosing (so long as
they have good SOAP libs). I chose to do all mine in Python because I'm a
huge...
|
by: Giovanni Bajo |
last post by:
Hello,
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the "PSF infrastracture committee", after weeks of evaluation, recommends
using a non open source tracker (called JIRA - never heard before of course)
for Python itself.
Does this smell "Bitkeeper fiasco" to anyone else than me?
--
| |
by: Petr Prikryl |
last post by:
Do you think that the following could became PEP (pre PEP).
Please, read it, comment it, reformulate it,...
Abstract
Introduction of the mechanism for language extensions via
modules written using other languages. Extensions of
Python could be done via special interpreter extensions.
From Python sources, the special modules would look like
other modules, with the Python API (the key feature from
|
by: Mark Tarver |
last post by:
How do you compare Python to Lisp? What specific advantages do you
think that one has over the other?
Note I'm not a Python person and I have no axes to grind here. This is
just a question for my general education.
Mark
|
by: John Nagle |
last post by:
The major complaint I have about Python is that the packages
which connect it to other software components all seem to have
serious problems. As long as you don't need to talk to anything
outside the Python world, you're fine. But once you do, things
go downhill. MySQLdb has version and platform compatibility
problems. So does M2Crypto. The built-in SSL support is weak.
Even basic sockets don't quite work right; the socket module...
|
by: samjnaa |
last post by:
Please check for sanity and approve for posting at python-dev.
In Visual Basic there is the keyword "with" which allows an object-
name to be declared as governing the following statements. For
example:
with quitCommandButton
.enabled = true
.default = true
end with
|
by: Kurt B. Kaiser |
last post by:
Patch / Bug Summary
___________________
Patches : 357 open ( +8) / 3745 closed ( +8) / 4102 total (+16)
Bugs : 958 open (+19) / 6657 closed ( +9) / 7615 total (+28)
RFE : 251 open ( +2) / 280 closed ( +2) / 531 total ( +4)
New / Reopened Patches
______________________
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |