One function

j2h in jdongian/python-jamo

The author described this change as Fixed bug where j2h wasn't the same as jamo_to_hangul.. It counts as a record because the check below fails on the code as it stood at bd3aede20 and passes on 3632c4b85, with nothing else changed between the two runs.

Fix saved2015-01-11
Sharing licenceApache-2.0 · LICENSE
Change size+1 1

What the code was meant to do, written into the code itself as a docstring

Arguments may be integers corresponding to the U+11xx codepoints, the actual U+11xx jamo characters, or HCJ. Outputs a one-character Hangul string. This function is defined solely for naming conisistency with jamo_to_hangul.

The change

88 jamo_to_hangul.
99 """
1010
11- return jamo_to_hangul(lead, vowel, tail=0)
11+ return jamo_to_hangul(lead, vowel, tail)

The check that tells the two apart

failpass·tests/test_jamo.py::TestJamo::test_j2h

Check file tests/test_jamo.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before itbd3aede20f643e952934d927f99964c43e30f0a2
Broken version dated2015-01-11
Modulejamo.jamo
Units changedj2h
Fingerprint1f57ba770cff07db
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.