Download Latest Version 3.9.4 Berlin source code.tar.gz (15.0 MB)
Email in envelope

Get an email when there's a new version of Transcrypt

Home / v3.9.4
Name Modified Size InfoDownloads / Week
Parent folder
3.9.4 Berlin source code.tar.gz 2025-05-23 15.0 MB
3.9.4 Berlin source code.zip 2025-05-23 15.4 MB
README.md 2025-05-23 1.7 kB
Totals: 3 Items   30.5 MB 0

Changelog:

  • Fixed list and string slice so that they properly handle negative step values (Issue [#704])
  • Updated slice value assignments to be more consistent with CPython
  • Added str.splitlines method (Issue [#733])
  • Fixed issue with dict.pop not removing None values (Issue [#827])
  • Corrected issue with dict.popitem so that it now removes from the tail of the dict like CPython instead of the head
  • Added dict.copy method (Issue [#716])
  • Added dict.fromkeys method (Issue [#779])
  • Added list.copy method
  • Added validations for list.pop method (Issue [#854])
  • Fixed tzname lookup bug in datetime.astimezone
  • Added index range validation for list and string indices when operator overloading is enabled (Issue [#637])
  • Added optional default arg to next() function (Issue [#831])
  • Updated enumerate function to work properly with generators and is now lazy (Issue [#618])
  • Fixed issue with seed for random module not restarting properly (Issue [#770])
  • Added more autotests

Note: There's more potentially breaking changes in this update. The enumerate function was redone to be lazy. Slicing and slice assignment of lists and strings has been refactored to accommodate a negative step and to handle a number of other edge cases, bringing the feature closer into alignment with CPython. Likewise, dict.popitem was previously removing items from the opposite end of the dict compared to CPython, and invalid indices on lists and strings will now raise an IndexError if operator overloading is enabled. If you were previously relying on a Transcrypted behavior for indexing, slicing or dict methods that were not aligned with CPython, they may not work quite the same way now.

Source: README.md, updated 2025-05-23