Skip to content

Releases: TranscryptOrg/Transcrypt

3.9.4 Berlin

23 May 20:52
766f7d9
Compare
Choose a tag to compare

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.

3.9.3 Berlin

28 Jul 04:04
ead403a
Compare
Choose a tag to compare

Changelog:

  • Added missing copysign and isclose functions to the math module (Issue #867)
  • Updated the map function to allow for multiple iterators (Issue #862)
  • Add key and default keyword arg support for min and max functions (Issue #305)
  • Added string support for min and max functions (Issue #829)
  • Added the copy module with copy and deepcopy functions (Issue #313)
  • Fixed the disappearing kwargs issue for sort and sorted functions (Issue #687)
  • Fixed the issue with sort and sorted functions that caused a string sort with number values (Issues #605 and #679)
  • Fixed the issue with the sorted function that caused the original value to be modified (Issue #866)
  • Added a bunch more autotests

Note: The map, min, max, copy, deepcopy, sort, and sorted functions in the Transcrypt runtime have all been refactored. While their behavior is now more closely aligned with CPython, they may deviate from the behavior in prior versions of Transcrypt in use cases that were not previously covered. IOW, if you were previously relying on a Transcrypted behavior for these functions that was not aligned with CPython, they may not work quite the same way now.

3.9.2 Berlin

23 Jun 21:52
Compare
Choose a tag to compare

Changelog:

  • Add start argument to enumerate function
  • Added missing bin, oct, and hex functions to built-ins
  • Fixed the maxreplace argument of the string replace function
  • Added start and end arguments to String startswith and endswith methods
  • Added time.monotonic()
  • Fixed typos in docs
  • Cleaned up some repo cruft

3.9.1 Berlin

23 Apr 05:34
Compare
Choose a tag to compare

Updated README to reflect move of Transcrypt repo to TranscryptOrg
There are no new functional changes beyond 3.9.0 in this release.

3.9.0 Berlin

13 Nov 04:45
Compare
Choose a tag to compare

Initial release for Python 3.9 compatibility.

3.7.11 London

04 Nov 19:05
Compare
Choose a tag to compare

Many small and not so small fixes

  • Reporting of compilation errors fixed / improved

  • Dashes and underscores allowed in filenames by means of aliases
    (see manual_tests/import_export_aliases)

3.7.4 London

01 Sep 15:28
Compare
Choose a tag to compare

Context managers added.
Builtin pow added.

3.7.3_rc2

01 Sep 15:14
7efbc7d
Compare
Choose a tag to compare
Merge pull request #548 from eddieantonio/feature/gh-547-add-unicoded…

3.7.3_rc1

01 Sep 15:13
7efbc7d
Compare
Choose a tag to compare
Merge pull request #548 from eddieantonio/feature/gh-547-add-unicoded…

3.7.3_rc3 London

01 Sep 15:21
7efbc7d
Compare
Choose a tag to compare
3.7.3_rc3 London Pre-release
Pre-release
Merge pull request #548 from eddieantonio/feature/gh-547-add-unicoded…