python3 compatibility: AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paste (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Issue exists on xenial in python3-paste 1.7.5.1-6ubuntu3 which throws exception:
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.handle()
File "/usr/lib/
BaseHTTPRe
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
Exception in thread worker 5:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
sys.
AttributeError: module 'sys' has no attribute 'exc_clear'
due to changes in python3 (3.5.2-
- exc_clear() call is no longer required (ref https:/
- getheaders was renamed to get (ref https:/