[docs] [issue34063] binhex REASONABLY_LARGE = 32768 so what is 128000

Jim Jewett report at bugs.python.org
Fri Jul 6 17:42:25 EDT 2018

New submission from Jim Jewett <jimjjewett at gmail.com>:

binhex defines a module-wide constant of 

REASONABLY_LARGE = 32768  # Minimal amount we pass the rle-coder

Later on, in 5 locations it does either ifp.read(128000) or ifp.read_rsrc(128000)

It isn't clear why a different constant is used, let alone why a literal is used instead of something like REASONABLY_LARGE.

assignee: docs at python
components: Documentation, Library (Lib)
messages: 321193
nosy: Jim.Jewett, docs at python
priority: low
severity: normal
stage: needs patch
status: open
title: binhex REASONABLY_LARGE = 32768 so what is 128000
type: enhancement
versions: Python 3.8

Python tracker <report at bugs.python.org>

More information about the docs mailing list