SDist raises TypeError when initializing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkginfo |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
When I try to initialize a sdist distribution a TypeError is raised:
>>> p = SDist('
-------
TypeError Traceback (most recent call last)
/home/miki/<ipython console> in <module>()
/usr/local/
10 self.filename = filename
11 self.metadata_
---> 12 self.extractMet
13
14 def read(self):
/usr/local/
108 def extractMetadata
109 data = self.read()
--> 110 self.parse(data)
111
112 def read(self):
/usr/local/
117
118 def parse(self, data):
--> 119 fp = StringIO(data)
120 msg = parse(fp)
121
TypeError: initial_value must be unicode or None, not str
Related branches
visibility: | private → public |
Changed in pkginfo: | |
status: | In Progress → Fix Released |
Thanks for the bug report. It looks like Python 2.7's io backport broke us
here..