| Name | Modified | Size | Downloads / 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.splitlinesmethod (Issue [#733]) - Fixed issue with
dict.popnot removingNonevalues (Issue [#827]) - Corrected issue with
dict.popitemso that it now removes from the tail of the dict like CPython instead of the head - Added
dict.copymethod (Issue [#716]) - Added
dict.fromkeysmethod (Issue [#779]) - Added
list.copymethod - Added validations for
list.popmethod (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
defaultarg tonext()function (Issue [#831]) - Updated
enumeratefunction to work properly with generators and is now lazy (Issue [#618]) - Fixed issue with seed for
randommodule 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.