Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 724423 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]
patch v2
remove_python_version_from_pickle.patch (text/plain), 591 bytes, created by
Andrew Aladjev
on 2021-07-17 00:31:34 UTC
(
hide
)
Description:
patch v2
Filename:
MIME Type:
Creator:
Andrew Aladjev
Created:
2021-07-17 00:31:34 UTC
Size:
591 bytes
patch
obsolete
># dev-lang/python: cross compiled python installs wrong version of lib2to3/Grammar pickle. ># https://bugs.gentoo.org/704816 > >diff --git a/Lib/lib2to3/pgen2/driver.py b/Lib/lib2to3/pgen2/driver.py >index 6471635a31..168fbab7f1 100644 >--- a/Lib/lib2to3/pgen2/driver.py >+++ b/Lib/lib2to3/pgen2/driver.py >@@ -107,7 +107,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