logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

symbol.patch (634B)


  1. SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: PSF-2.0
  3. token is in the standard library which takes precedence over files
  4. in the path. Rename this file so we can actually import it.
  5. --- Python-3.4.10/Lib/symbol.py 2022-12-19 21:52:07.101953334 +1100
  6. +++ Python-3.4.10/Lib/symbol.py 2022-12-19 21:52:14.752082879 +1100
  7. @@ -102,10 +102,10 @@
  8. def main():
  9. import sys
  10. - import token
  11. + import _token
  12. if len(sys.argv) == 1:
  13. sys.argv = sys.argv + ["Include/graminit.h", "Lib/symbol.py"]
  14. - token._main()
  15. + _token._main()
  16. if __name__ == "__main__":
  17. main()