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

noreply@sourceforge.net noreply@sourceforge.net
Mon, 16 Apr 2001 09:01:40 -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: Open
Priority: 5
Submitted By: David M. Beazley (beazley)
Assigned to: Nobody/Anonymous (nobody)
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
 

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

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