Python Feature Request: Explicit variable declarations

2007-04-14 Thread samjnaa
Hello. Please tell me whether this feature request is sane (and not done before) for python so it can be posted to the python-dev mailing list. I should say first that I am not a professional programmer with too much technical knowledge. I would like to have something like the option explicit

Python Feature Request: Allow changing base of member indices to 1

2007-04-14 Thread samjnaa
This is like the previous one. Please check for sanity and approve for posting at python-dev. I would like to have something like option base in Visual Basic. IIRC it used to allow me to choose whether 0 or 1 should be used as the base of member indices of arrays. In Python, the same can be used

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

2007-04-14 Thread samjnaa
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

Python Feature Request: Add the using keyword which works like with in Visual Basic

2007-04-14 Thread samjnaa
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 This is syntactic sugar for: