Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 602624 Details for
Bug 704816
dev-lang/python - Cross-compiled python installs wrong version of lib2to3/Grammar pickle
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove_python_version_from_pickle patch
remove_python_version_from_pickle.patch (text/plain), 468 bytes, created by
Andrew Aladjev
on 2020-01-05 19:20:56 UTC
(
hide
)
Description:
remove_python_version_from_pickle patch
Filename:
MIME Type:
Creator:
Andrew Aladjev
Created:
2020-01-05 19:20:56 UTC
Size:
468 bytes
patch
obsolete
>diff --git a/Lib/lib2to3/pgen2/driver.py b/Lib/lib2to3/pgen2/driver.py >index cbc58e759d..42a3f7448d 100644 >--- a/Lib/lib2to3/pgen2/driver.py >+++ b/Lib/lib2to3/pgen2/driver.py >@@ -108,7 +108,7 @@ def _generate_pickle_name(gt): > head, tail = os.path.splitext(gt) > if tail == ".txt": > tail = "" >- return head + tail + ".".join(map(str, sys.version_info)) + ".pickle" >+ return head + tail + ".pickle" > > > def load_grammar(gt="Grammar.txt", gp=None,
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 704816
: 602624 |
724423