Bug 623602 - file needs to support python 2.7 byte-compiled files
Summary: file needs to support python 2.7 byte-compiled files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: 14
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Python27 623233
TreeView+ depends on / blocked
 
Reported: 2010-08-12 09:50 UTC by Nils Philippsen
Modified: 2010-08-24 01:58 UTC (History)
2 users (show)

Fixed In Version: file-5.04-14.fc14
Clone Of:
Environment:
Last Closed: 2010-08-24 01:58:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch which lets file recognize Python 2.7 byte-compiled files (999 bytes, patch)
2010-08-12 09:50 UTC, Nils Philippsen
no flags Details | Diff

Description Nils Philippsen 2010-08-12 09:50:30 UTC
Created attachment 438386 [details]
Patch which lets file recognize Python 2.7 byte-compiled files

Description of problem:
The file command doesn't recognize .pyc/.pyo files generated by Python 2.7.

Version-Release number of selected component (if applicable):
file-5.04-13.fc14.x86_64

How reproducible:
Reproducible

Steps to Reproduce:
1. "file /usr/lib64/python2.7/os.pyc"
  
Actual results:
/usr/lib64/python2.7/os.pyc: DBase 3 data file (1280876698 records)

Expected results:
/usr/lib64/python2.7/os.pyc: python 2.7 byte-compiled

Comment 1 Fedora Update System 2010-08-12 13:30:03 UTC
file-5.04-14.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/file-5.04-14.fc14

Comment 2 Jan Kaluža 2010-08-12 14:07:34 UTC
Thanks for the patch, I've just sent it to upstream and updated File package.

Comment 3 Fedora Update System 2010-08-12 19:57:11 UTC
file-5.04-14.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update file'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/file-5.04-14.fc14

Comment 4 Fedora Update System 2010-08-24 01:58:44 UTC
file-5.04-14.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.