[ python-Bugs-711830 ] SEEK_{SET,CUR,END} missing in 2.2.2

SourceForge.net noreply at sourceforge.net
Sun Jan 16 09:41:36 CET 2005


Bugs item #711830, was opened at 2003-03-29 16:54
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=711830&group_id=5470

Category: Python Library
Group: Python 2.2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mihai Ibanescu (misa)
Assigned to: Nobody/Anonymous (nobody)
Summary: SEEK_{SET,CUR,END} missing in 2.2.2

Initial Comment:
Python 1.5.2 used to define SEEK_{SET,CUR,END} both in
FCNTL.py and in posixfile.py

Python 2.2.2 obsoletes both of them (and the symbols
are no longer in FCNTL anyway).

A quick grep on the 2.2.2 tree shows me posixfile is
the only place that still defines the SEEK_* constants.
It seems to me it's wrong to drop the constants
(because a deprecated module will eventually be dropped).

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2005-01-16 09:41

Message:
Logged In: YES 
user_id=21627

This is now fixed in

os.py 1.84
libos.tex 1.149
NEWS 1.1226


----------------------------------------------------------------------

Comment By: Mihai Ibanescu (misa)
Date: 2005-01-16 04:39

Message:
Logged In: YES 
user_id=205865

Did a quick grep in python 2.3.4 - still only defined in
posixfile which is deprecated.

I didn't notice Martin's question - yes, the os module seems
to be the best place to put them.

----------------------------------------------------------------------

Comment By: Facundo Batista (facundobatista)
Date: 2005-01-15 18:43

Message:
Logged In: YES 
user_id=752496

Please, could you verify if this problem persists in Python 2.3.4
or 2.4?

If yes, in which version? Can you provide a test case?

If the problem is solved, from which version?

Note that if you fail to answer in one month, I'll close this bug
as "Won't fix".

Thank you! 

.    Facundo

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-03-29 18:36

Message:
Logged In: YES 
user_id=21627

Would you agree that these constants are best located in the
os module?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=711830&group_id=5470


More information about the Python-bugs-list mailing list