Skip to content

Commit

Permalink
Merge pull request #22132 from bashtage/bit-gen-pickle-rel-note
Browse files Browse the repository at this point in the history
DOC: Add a release note for bit generator reduce changes
  • Loading branch information
mattip committed Aug 15, 2022
2 parents 0b90540 + f14d5c8 commit f20cab0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/release/upcoming_changes/22014.improvement.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Added pickle support for third-party BitGenerators
==================================================

The pickle format for bit generators was extended to allow each bit generator
to supply its own constructor when during pickling. Previous versions of NumPy
only supported unpickling ``Generator`` instances created with one of the core set
of bit generators supplied with NumPy. Attempting to unpickle a ``Generator``
that used a third-party bit generators would fail since the constructor used during
the unpickling was only aware of the bit generators included in NumPy.

0 comments on commit f20cab0

Please sign in to comment.