Skip to content

Commit

Permalink
Adapt Java char to a unicode object (jython#293)
Browse files Browse the repository at this point in the history
This intends to fix jython#204 and jython#223 by making the conversion in the classic adapter (under Py.java2py) return unicode for char comparable to its behaviour with String.

In the process we rationalise the creation of unicode objects via the Py class, particularly for single-character strings, and also fix a bug latent in pickle.py whereby the wrong object is memoized in save_unicode().
  • Loading branch information
jeff5 authored Dec 27, 2023
1 parent 723189e commit 948d69a
Show file tree
Hide file tree
Showing 6 changed files with 1,523 additions and 42 deletions.
Loading

0 comments on commit 948d69a

Please sign in to comment.