Releases: TranscryptOrg/Transcrypt
3.9.4 Berlin
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 removingNone
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 tonext()
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
Changelog:
- Added missing
copysign
andisclose
functions to themath
module (Issue #867) - Updated the
map
function to allow for multiple iterators (Issue #862) - Add
key
anddefault
keyword arg support formin
andmax
functions (Issue #305) - Added string support for
min
andmax
functions (Issue #829) - Added the
copy
module withcopy
anddeepcopy
functions (Issue #313) - Fixed the disappearing kwargs issue for
sort
andsorted
functions (Issue #687) - Fixed the issue with
sort
andsorted
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
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
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
Initial release for Python 3.9 compatibility.
3.7.11 London
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
Context managers added.
Builtin pow added.
3.7.3_rc2
3.7.3_rc1
3.7.3_rc3 London
Merge pull request #548 from eddieantonio/feature/gh-547-add-unicoded…