[Python-bugs-list] [ python-Bugs-547138 ] - open - alias generates error

noreply@sourceforge.net noreply@sourceforge.net
Mon, 22 Apr 2002 08:59:46 -0700


Bugs item #547138, was opened at 2002-04-22 15:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=547138&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: rodney holland (rhhrhh)
Assigned to: Nobody/Anonymous (nobody)
Summary:  - open - alias generates error

Initial Comment:
Using python 2.2.1c on windows 98 the alias -  open  -
  gives the following error.  The function  - file -   
works fine.


>>> f=open("rfile.dat",'w')
Traceback (most recent call last):
  File "<pyshell#42>", line 1, in ?
    f=open("rfile.dat",'w')
TypeError: an integer is required
>>> 

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

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