Skip to content

Offering a refactor of write_header() on issue #337 we discussed today.

Bitbucket Importer requested to merge bitbucket/merged-pr-2 into branch/2.1

Created originally on Bitbucket by tuttle (Vlada Macek)

Was already merged in Bitbucket before import, marked as merged by the import user

The second commit is an optimization to remove possible many string comparisons. My CPython appears to optimize for it automatically (by string interning), but generally comparing integers appears to be better practice.

Merge request reports

Loading