Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pex_config
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
Config.loadFromStream is documented as accepting a file-like object, but it actually requires a string, bytes, or code object, because the result is passed directly to exec. It is apparently only called by Config.load, which does pass it a code object.
Fred Moolekamp, sending you this just to help you catch up on Yusra's ticket-review leaderboard. It's a pretty straightforward fix of a pretty straightforward bug.
PR is https://github.com/lsst/pex_config/pull/63