[Python-Dev] bug submitting procedure
I've just received a private email from Christian Jacobsen (we were discussing some ctypes bugs/deficiencies that do not matter in this context). He wrote: > [...] The bug > reporting procedures for documentation is a big inconsistent: > http://wiki.python.org/moin/SubmittingBugs, says: "If you find errors > in the documentation, please use either the Add a comment or the > Suggest a change features of the relevant page in the most recent > online documentation at http://docs.python.org/.";, but the most > recent online documentation points to the SF bugtracker or > [EMAIL PROTECTED] The SF bugtracker in points back to bugs.python.org > :) I feel with him. Further, there is no 'Add a comment' or 'Suggest a change' link in the 2.5 documentation shown at http://docs.python.org. Thomas ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] bug submitting procedure
Thomas Heller schrieb: > I've just received a private email from Christian Jacobsen (we were discussing > some ctypes bugs/deficiencies that do not matter in this context). He wrote: > >> [...] The bug >> reporting procedures for documentation is a big inconsistent: >> http://wiki.python.org/moin/SubmittingBugs, says: "If you find errors >> in the documentation, please use either the Add a comment or the >> Suggest a change features of the relevant page in the most recent >> online documentation at http://docs.python.org/.";, but the most >> recent online documentation points to the SF bugtracker or >> [EMAIL PROTECTED] The SF bugtracker in points back to bugs.python.org >> :) > > I feel with him. Further, there is no 'Add a comment' or 'Suggest a change' > link > in the 2.5 documentation shown at http://docs.python.org. Yes, that's unfortunate -- seems that somebody copied the information from the development docs, but the feature is not present there yet. At the moment, all bugs should be submitted to bugs.python.org. The 2.5 docs still point to SF because they have not been rebuilt since the move -- Fred said he'd do a rebuild some time ago. Georg ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] bug submitting procedure
2007/10/24, Thomas Heller <[EMAIL PROTECTED]>: > I've just received a private email from Christian Jacobsen (we were discussing > some ctypes bugs/deficiencies that do not matter in this context). He wrote: > > ... > > I feel with him. Further, there is no 'Add a comment' or 'Suggest a change' > link > in the 2.5 documentation shown at http://docs.python.org. +1 to change it and forward the reader to bugs.python.org for both documentation issues and other kind of problems. I can change it, but I'd prefer a english-speaker to change it. But feel free to tell me to do it. Regards, -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 2.5.2 is coming
2007/10/12, Neal Norwitz <[EMAIL PROTECTED]>: > The plan is cut the release candidate around Tuesday/Wednesday next > week (Oct 16/17). If all goes well, 2.5.2 final will follow a week > later. Hi Neal! Do you have any update of this schedule? Thank you! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python tickets summary
Facundo Batista wrote: > 2007/9/19, Ron Adam <[EMAIL PROTECTED]>: > >> I noticed that there is a background of light blue between marks. That is >> hard to see on my computer because it is so close to the grey tone. > > Made it a little darker, now it's easier to look. > > >> Also shouldn't the light blue background bar extend all the way to the end >> for all open items? > > No, because this "light blue bar" is the span of time from opened to > last comment. > > Note that these items are *all* open. I think the page title should reflect this. Possible changing it from "Python tickets" to "Python Open Tickets" Ron ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Special file "nul" in Windows and os.stat
Hi, people!
I'm following the issue 1311: http://bugs.python.org/issue1311
There (and always talking in windows), the OP says the in Py2.4
os.path.exists("nul") returned True and now in 2.5 returns False. Note
that "nul" is an special file, something like /dev/null.
We made some tests, and we have inconsisten behaviour in previous
Python versions. For example, in Py2.3.5 in my machine I get a False,
as in Py2.5. But other person in the bug, gets True in 2.3.3 and
False in 2.5.
Even the OP has differents result for the same Python 2.4 in different machines.
Right now (but don't know exactly since when), Python relies in
kernel32.dll functions to make the stat on the file (if stat raises an
error, os.path.exists says that the file does not exist). Of course,
if I call to this function separately, I have the same behaviour.
So, the question is what we should do?:
1. Rely on the kernel32 function and behaves like it says?
2. Return a fixed response for this special file "nul"?
Personally, I prefer the first one, but it changed the semantic of
os.path.exists("nul") (but this semantic is not clear, as we get
different behaviour in different Python versions and windows
versions).
Thank you very much!
Regards,
--
.Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Special file "nul" in Windows and os.stat
On Oct 24, 2007, at 4:23 PM, Facundo Batista wrote:
> There (and always talking in windows), the OP says the in Py2.4
> os.path.exists("nul") returned True and now in 2.5 returns False. Note
> that "nul" is an special file, something like /dev/null.
It's special, but in a different way. /dev/null really exists in the
Unix filesystem; "nul" is more magical than that.
What's more, it has peers: "prn", "com1" and others like that.
I don't know what the right way to handle these is (I'm no Windows
guru, or even regular user), but it's important to realize that the
pain of the specialness isn't limited. :-)
-Fred
--
Fred Drake
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python developers are in demand
On 10/12/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I keep getting regular requests from people looking for Python coders > (and this is in addition to Google asking me to hand over my contacts > :-). This is good news because it suggests Python is on the uptake > (always good to know). At the same time it is disturbing because > apparently there aren't enough Python programmers out there. (At least > none of them looking for work.) What's up with that? At least from my perspective, all the jobs are in web applications, and all the Python developers I know are traditional applications programmers, not web developers. -- Nick ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Special file "nul" in Windows and os.stat
> So, the question is what we should do?:
>
> 1. Rely on the kernel32 function and behaves like it says?
>
> 2. Return a fixed response for this special file "nul"?
>
> Personally, I prefer the first one, but it changed the semantic of
> os.path.exists("nul") (but this semantic is not clear, as we get
> different behaviour in different Python versions and windows
> versions).
Note that the same issue would exist for 'aux', 'con' and 'prn' too -
'comXX' 'lptXX' 'clock$' also seem to get special treatment. I agree it is
unfortunate that the behaviour has changed, but these special names are
broken enough on Windows that (1) seems the sanest thing to do.
Mark
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Special file "nul" in Windows and os.stat
Fred Drake wrote:
> On Oct 24, 2007, at 4:23 PM, Facundo Batista wrote:
>> There (and always talking in windows), the OP says the in Py2.4
>> os.path.exists("nul") returned True and now in 2.5 returns False. Note
>> that "nul" is an special file, something like /dev/null.
>
> It's special, but in a different way. /dev/null really exists in the
> Unix filesystem; "nul" is more magical than that.
>
> What's more, it has peers: "prn", "com1" and others like that.
It's even worse than that, because file extensions are ignored in this
magical-ness:
C:\Documents and Settings\User>type nul
C:\Documents and Settings\User>type nul.lst
C:\Documents and Settings\User>type foo.lst
The system cannot find the file specified.
> I don't know what the right way to handle these is (I'm no Windows
> guru, or even regular user), but it's important to realize that the
> pain of the specialness isn't limited. :-)
http://www.microsoft.com/technet/prodtechnol/Windows2000Pro/reskit/part3/proch17.mspx?mfr=true
gives the list as CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3,
PRN, NUL; but I can't imagine testing against that list would be the
best idea. For example,
http://www.microsoft.com/technet/solutionaccelerators/cits/interopmigration/unix/unixbld/unixbld4.mspx
adds CLOCK$, among others (although I don't find CLOCK$ to be special,
it's rumored to be an NT only thing, and I'm running XP). So I think
implementing Facundo's option 2 (test for "nul") will not work in the
general case for finding "special files" (don't forget to throw in mixed
case names). I hate to think of trying to match Windows' behavior if
there are multiple dots in the name.
I think I'd leave the current behavior of calling the kernel function,
even though it varies based on Windows version (if I'm reading the issue
correctly).
Eric.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Special file "nul" in Windows and os.stat
Fred Drake wrote:
> It's special, but in a different way. /dev/null really exists in the
> Unix filesystem; "nul" is more magical than that.
>
> What's more, it has peers: "prn", "com1" and others like that.
>
For the record, the fixed names 'aux', 'con', 'nul', and 'prn' along
with the set of 'com[0-9]' and 'lpt[0-9]' names that are reserved. And
for that matter, any of those with an extension is reserved as well.
These files always exist as far as I am concerned (where existence is
defined by your ability to open() them).
def is_special_on_win32(name):
import os.path, re
name = os.path.basename(name)
return (re.match('(nul|prn|aux|con|com[0-9]|lpt[0-9])(\..*)?$',
name) is not None)
--
Scott Dial
[EMAIL PROTECTED]
[EMAIL PROTECTED]
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python developers are in demand
2007/10/24, Nicholas Bastin <[EMAIL PROTECTED]>: > On 10/12/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > I keep getting regular requests from people looking for Python coders > > (and this is in addition to Google asking me to hand over my contacts > > :-). This is good news because it suggests Python is on the uptake > > (always good to know). At the same time it is disturbing because > > apparently there aren't enough Python programmers out there. (At least > > none of them looking for work.) What's up with that? > > At least from my perspective, all the jobs are in web applications, > and all the Python developers I know are traditional applications > programmers, not web developers. Get a new set of friends. :-) You can find them on [EMAIL PROTECTED] -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python developers are in demand
On 10/12/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > The problem may be related to the fact that Python is rarely teached at > > school or university. I know no school or university in Germany that is > > teaching Python. > > I teach Python to the first semester, at the Hasso-Plattner-Institut > in Potsdam, for the third year now. My wife (and fellow PSF member;-) Anna, a major in Symbolic Systems at Stanford, has noticed the interesting coincidence that TWO of her courses this quarter suggest Python as the preferred language to do the course assignments (although both courses accept other languages as well, focusing on the results and not the language used to achieve them, the teachers think that Python is the best language to "get out of your way" and let you focus on the courses' specific subjects rather than on programming problems). The two courses are Computational Linguistics and Computer-Human Interactions. The CHI course also offers a short optional Python seminar for students that want help learning it (I believe the exercises specifically use Nokia phones, so I assume the seminar will also cover the specifics of the Nokia Python development environment); Anna volunteered to do a similar short seminar for the CL course (I helped out -- took us a Saturday). All students taking CHI and/or CL have already taken programming courses (typically more than one), mostly using C++ and Java (and often C), but as far as I know there is no Stanford course (at least not within Symbolic Systems) that focuses specifically and exclusively on Python (there IS one course, Programming Paradigms, that covers Python as well as Lisp, Prolog and some FP language). Of course, Symbolic Systems majors typically don't think of themselves as "developers"; they're more likely to end up, say, as "CHI experts", "computational linguists", and the like... Alex ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python developers are in demand
Nick> At least from my perspective, all the jobs are in web Nick> applications, and all the Python developers I know are traditional Nick> applications programmers, not web developers. I find almost the opposite to be true. Most resumes I see with Python experience are quite web-focused. For the open positions in our group I'd much rather see experience doing scientific or database programming with Python than web apps. Skip ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python developers are in demand
Application programmers... Web programmers... I can't resist chiming in that I'm running a 4000-line Python application on my iPhone that is both a full-blown application, and a Web server, because it uses the phone's browser as its application GUI. (By the way, thanks to whoever pushed through the addition of SQLite to Python 2.5. It's been useful on the phone.) I teach an annual short course on Python at PARC; two hours, one for the basics, the other for tricks. That's about all it takes, for folks who already know how to program. Bill ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Special file "nul" in Windows and os.stat
> So, the question is what we should do?: Before this question can be answered, I think we need to fully understand what precisely is happening in 2.4, and what precisely is happening in 2.5. AFAICT, it is *not* the case that Python 2.4 (indirectly) has hard-coded the names CON, PRN, NUL etc. in the C library. Instead, Python 2.4 *also* relies on kernel32 functions to determine that these files "exist". My question now is what specific kernel32 functions Python 2.4 calls to determine that NUL is a file; before that question is sufficiently answered, I don't think any action should be taken. Regards, Martin ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
