Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 602481 Details for
Bug 845972
rpmlint uses wrong magic number for Python 3.3 bytecode
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Update the magic number for Python 3.3 bytecode (and the comment)
rpmlint-python33.patch (text/plain), 676 bytes, created by
Dave Malcolm
on 2012-08-06 10:49:58 UTC
(
hide
)
Description:
Update the magic number for Python 3.3 bytecode (and the comment)
Filename:
MIME Type:
Creator:
Dave Malcolm
Created:
2012-08-06 10:49:58 UTC
Size:
676 bytes
patch
obsolete
>--- /usr/share/rpmlint/FilesCheck.py.py33 2012-08-06 06:39:27.305719000 -0400 >+++ /usr/share/rpmlint/FilesCheck.py 2012-08-06 06:41:29.668718885 -0400 >@@ -286,7 +286,8 @@ def peek(filename, pkg, length=1024): > return (chunk, istext) > > # See Python/import.c (in the trunk and py3k branches) for a full list of >-# the values here. >+# the values here >+# (from Python 3.3 onwards this list has moved to Lib/importlib/_bootstrap.py) > _python_magic_values = { > '2.2': 60717, > '2.3': 62011, >@@ -297,7 +298,7 @@ _python_magic_values = { > '3.0': 3130, > '3.1': 3150, > '3.2': 3180, >- '3.3': 3190, >+ '3.3': 3230, > } > > def get_expected_pyc_magic(path):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 845972
: 602481