-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: methane/msgpack-python
base: main
head repository: msgpack/msgpack-python
compare: main
- 12 commits
- 17 files changed
- 6 contributors
Commits on Jun 24, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 951995e - Browse repository at this point
Copy the full SHA 951995eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de6273 - Browse repository at this point
Copy the full SHA 2de6273View commit details
Commits on Jul 1, 2026
-
Configuration menu - View commit details
-
Copy full SHA for d5e380f - Browse repository at this point
Copy the full SHA d5e380fView commit details
Commits on Jul 5, 2026
-
Fix Timestamp.from_datetime() precision for far-future datetimes (msg…
…pack#710) `Timestamp.from_datetime()` computes the whole-second part from the float `datetime.timestamp()`. A float64 cannot hold microsecond precision for datetimes far from the epoch, so `timestamp()` rounds the seconds up while the exact `microsecond` is still used for the nanoseconds. The result is a `Timestamp` one second in the future, and near `datetime.max` it raises `OverflowError`: ```python >>> import datetime as dt >>> from msgpack.ext import Timestamp >>> d = dt.datetime(3000, 1, 1, 0, 0, 0, 999999, tzinfo=dt.timezone.utc) >>> Timestamp.from_datetime(d).to_datetime() datetime.datetime(3000, 1, 1, 0, 0, 1, 999999, tzinfo=datetime.timezone.utc) # +1 second >>> Timestamp.from_datetime(dt.datetime(9999, 12, 31, 23, 59, 59, 999999, tzinfo=dt.timezone.utc)) OverflowError: date value out of range ``` The Cython packer already uses integer `timedelta` arithmetic and is correct. This makes the pure-Python `from_datetime()` do the same, so the two paths agree and the round-trip invariant `from_datetime(d).to_datetime() == d` holds for far-future datetimes. Naive datetimes keep their existing local-time interpretation (matching `datetime.timestamp()`). Follow-up to msgpack#662, which fixed the pre-epoch rounding direction in the same method. Existing tests are unchanged; I added a regression test covering the far-future round-trip, the exact seconds/nanoseconds, agreement with packing the datetime directly, and the former `OverflowError` case. Full suite is green on both the C-extension and pure-Python paths.
Configuration menu - View commit details
-
Copy full SHA for 659ee98 - Browse repository at this point
Copy the full SHA 659ee98View commit details
Commits on Jul 10, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c6b4a48 - Browse repository at this point
Copy the full SHA c6b4a48View commit details
Commits on Jul 29, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 3f5d0d7 - Browse repository at this point
Copy the full SHA 3f5d0d7View commit details
Commits on Aug 5, 2026
-
fix: use-after-free in unpackb() ExtraData path for non-contiguous in…
…put (msgpack#722) Fixes msgpack#720. # Problem For non-contiguous input, `get_data_from_buffer()` releases the original view and makes a temporary contiguous copy, so `buf` points into memory owned by `view`.
Configuration menu - View commit details
-
Copy full SHA for 091ae20 - Browse repository at this point
Copy the full SHA 091ae20View commit details
Commits on Aug 6, 2026
-
Bump pypa/gh-action-pypi-publish from 1.14.1 to 1.14.2 in the all-dep…
…endencies group (msgpack#721)
Configuration menu - View commit details
-
Copy full SHA for ea6b84f - Browse repository at this point
Copy the full SHA ea6b84fView commit details
Commits on Aug 11, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 186d4db - Browse repository at this point
Copy the full SHA 186d4dbView commit details
Commits on Aug 12, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 809bfcd - Browse repository at this point
Copy the full SHA 809bfcdView commit details
Commits on Aug 14, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 9f9bdae - Browse repository at this point
Copy the full SHA 9f9bdaeView commit details
Commits on Aug 17, 2026
-
fix: translate RecursionError to StackError in fallback Unpacker.skip…
…() (msgpack#727) Finding msgpack#6 of msgpack#683.
Configuration menu - View commit details
-
Copy full SHA for 2e4be09 - Browse repository at this point
Copy the full SHA 2e4be09View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main