After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627449 - glib.option: missing comma breaks "from glib.option import *"
glib.option: missing comma breaks "from glib.option import *"
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gobject
Git master
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-19 23:59 UTC by Leo Singer
Modified: 2010-09-23 14:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (326 bytes, patch)
2010-08-19 23:59 UTC, Leo Singer
none Details | Review

Description Leo Singer 2010-08-19 23:59:56 UTC
Created attachment 168341 [details] [review]
Proposed patch

A typo in the value of the variable __all__ in glib.option breaks "from glib.option import *".  The typo is fixed in the attached patch.

To reproduce:

$ python -c "from glib.option import *"
Traceback (most recent call last):
  • File "<string>", line 1 in <module>
AttributeError: 'module' object has no attribute 'OptionConflictErrorOption'

Comment 1 johnp 2010-09-23 14:50:51 UTC
in git, slated for the next release.  Thanks.