This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SEEK_{SET,CUR,END} missing in 2.2.2
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: facundobatista, loewis, misa
Priority: normal Keywords:

Created on 2003-03-29 15:54 by misa, last changed 2022-04-10 16:07 by admin. This issue is now closed.

Messages (5)
msg15293 - (view) Author: Mihai Ibanescu (misa) Date: 2003-03-29 15:54
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).
msg15294 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-03-29 17:36
Logged In: YES 
user_id=21627

Would you agree that these constants are best located in the
os module?
msg15295 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2005-01-15 17:43
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
msg15296 - (view) Author: Mihai Ibanescu (misa) Date: 2005-01-16 03:39
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.
msg15297 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-01-16 08:41
Logged In: YES 
user_id=21627

This is now fixed in

os.py 1.84
libos.tex 1.149
NEWS 1.1226
History
Date User Action Args
2022-04-10 16:07:56adminsetgithub: 38231
2003-03-29 15:54:31misacreate