[Python-bugs-list] [ python-Bugs-416462 ] .pyo files missing in mimetypes.py?

noreply@sourceforge.net noreply@sourceforge.net
Mon, 04 Jun 2001 22:17:46 -0700


Bugs item #416462, was updated on 2001-04-16 09:01
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416462&group_id=5470

Category: Python Library
Group: Feature Request
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: David M. Beazley (beazley)
Assigned to: Barry Warsaw (bwarsaw)
Summary: .pyo files missing in mimetypes.py?

Initial Comment:
This is a very minor nit caught by Paul Dubois in
reviewing 
Python Essential Reference 2nd Ed.   

The .py and .pyc files are both recognized in the
mimetypes module as :

    '.py': 'text/x-python',
    '.pyc': 'application/x-python-code',

However, no entry appears for '.pyo' files.    Should
they also appear?
    
    '.pyo' : 'application/x-python-code',

Admittedly it's pretty minor---I don't think I would
have noticed this had it not been pointed out.

-- Dave
 

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

>Comment By: Martin v. Löwis (loewis)
Date: 2001-06-04 22:17

Message:
Logged In: YES 
user_id=21627

Fixed with 1.14 of mimetypes.py.


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

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