forked from WhyNotHugo/python-barcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: patchwright/python-barcode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: WhyNotHugo/python-barcode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 12 commits
- 13 files changed
- 5 contributors
Commits on Jun 25, 2026
-
fix: ISSN checksum returns 11 instead of 0 when weighted sum is divis…
…ible by 11 The `_calculate_checksum` method in `InternationalStandardSerialNumber` was missing a final `% 11`, causing it to return 11 (an invalid two-digit value) instead of 0 when the weighted digit sum happened to be exactly divisible by 11. Fixes WhyNotHugo#238.
Configuration menu - View commit details
-
Copy full SHA for bc97480 - Browse repository at this point
Copy the full SHA bc97480View commit details
Commits on Jul 6, 2026
-
Stop dropping a leading "99" pair from Code128 barcodes
In charset C the digit pair "99" encodes to the code number 99, which is also the TO_C charset-switch marker. Code128._try_to_optimize folded away a leading switch code, so a barcode whose data began with "99" had that pair silently dropped: Code128("9912345678").encoded produced [105, 12, 34, 56, 78], decoding to "12345678". Restrict the START-code folding to a genuine START_C followed by a switch to charset A or B, so the data value 99 is preserved while the legitimate optimization (e.g. "Wikipedia" starting in charset B) still applies. Fixes WhyNotHugo#251.Configuration menu - View commit details
-
Copy full SHA for 7545301 - Browse repository at this point
Copy the full SHA 7545301View commit details
Commits on Jul 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for e221957 - Browse repository at this point
Copy the full SHA e221957View commit details -
fix: stop ISBN-10/ISSN digits from truncating EAN-13 payload
Subclass digits overrode EuropeanArticleNumber13.digits, so get_fullcode() returned a truncated barcode while str() still showed the correct ISBN/ISSN.
Configuration menu - View commit details
-
Copy full SHA for 60a9958 - Browse repository at this point
Copy the full SHA 60a9958View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63741fc - Browse repository at this point
Copy the full SHA 63741fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71e0139 - Browse repository at this point
Copy the full SHA 71e0139View commit details -
Configuration menu - View commit details
-
Copy full SHA for 908f338 - Browse repository at this point
Copy the full SHA 908f338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e10aac - Browse repository at this point
Copy the full SHA 9e10aacView commit details -
Fix Code128 build() producing different output on repeated calls
Code128._build mutated self._charset and self._digit_buffer (both set only in __init__) but never reset them. After a build that switched to charset A/B or left a digit buffered, a subsequent build()/encoded call started from stale state and emitted a different, incorrect bit string. Reset both to their initial values at the start of _build() so repeated calls on the same instance are deterministic. Fixes WhyNotHugo#143
Configuration menu - View commit details
-
Copy full SHA for 73316bf - Browse repository at this point
Copy the full SHA 73316bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12e9a5f - Browse repository at this point
Copy the full SHA 12e9a5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f25ae8 - Browse repository at this point
Copy the full SHA 8f25ae8View commit details -
Co-Authored-By: Hugo Osvaldo Barrera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef61ffe - Browse repository at this point
Copy the full SHA ef61ffeView commit details
Loading
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