Skip to content
Snippets Groups Projects
Commit d2373b1f authored by Karl Fogel's avatar Karl Fogel
Browse files

More on issue #4: Work toward Python 2 & 3 compatibility.

This doesn't get all the way to full bidirectional compatibility, but
it's progress toward that goal.  Run 'make check' to see what's next.

* onetime: Add 2 vs 3 conditional block at top.
  (btos): New utility function, defined in above block.
  (Pad.convert, Pad._make_fuzz): Handle string vs int manually.
  (main): Use binary_stdout.  Encode headers and footer before writing
    them.  Use new btos() helper where necessary.
parent ef472be2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment