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 547484 - wrap gio.DataInputStream.read_line and ...read_until
wrap gio.DataInputStream.read_line and ...read_until
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gio
Git master
Other All
: Normal enhancement
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-12 19:54 UTC by Paul Pogonyshev
Modified: 2008-08-12 20:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the methods + test cases (3.50 KB, patch)
2008-08-12 19:55 UTC, Paul Pogonyshev
committed Details | Review

Description Paul Pogonyshev 2008-08-12 19:54:15 UTC
Patch follows.
Comment 1 Paul Pogonyshev 2008-08-12 19:55:35 UTC
Created attachment 116451 [details] [review]
the methods + test cases

Note that one test is currently disabled because there appears to be bug in GIO itself (bug 547481).
Comment 2 Johan (not receiving bugmail) Dahlin 2008-08-12 19:59:10 UTC
Comment on attachment 116451 [details] [review]
the methods + test cases

Just missing documentation...
Comment 3 Paul Pogonyshev 2008-08-12 20:07:25 UTC
Noticed your comment too late.  Committed in two batches:

Sending        ChangeLog
Sending        gio/ginputstream.override
Sending        tests/test_gio.py
Transmitting file data ...
Committed revision 946.

Sending        ChangeLog
Sending        gio/gio.defs
Transmitting file data ..
Committed revision 947.

2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until

	* tests/test_gio.py (TestDataInputStream): New test case.

	* gio/gio.defs (read_line, read_until): Document.

	* gio/ginputstream.override (_wrap_g_data_input_stream_read_line)
	(_wrap_g_data_input_stream_read_until): New functions.