Bug 623602

Summary: file needs to support python 2.7 byte-compiled files
Product: [Fedora] Fedora Reporter: Nils Philippsen <nphilipp>
Component: fileAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dmalcolm, jkaluza
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: file-5.04-14.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-24 01:58:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 620817, 623233    
Attachments:
Description Flags
Patch which lets file recognize Python 2.7 byte-compiled files none

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.