Commit Graph

18 Commits

Author SHA1 Message Date
Vincent Castellano
af9f7b6cfa Use a simple version of repr for Python < 2.7.9
This is due to a bug http://bugs.python.org/issue22023
This addresses https://github.com/vysheng/tg/issues/587
2015-06-04 21:25:49 -07:00
Vincent Castellano
ff704275c3 Implement msg.load_* 2015-06-02 01:30:21 -07:00
Vincent Castellano
49951819c5 Add msg action type enum 2015-06-02 01:24:17 -07:00
Vincent Castellano
f6b14f633c Py_RETURN_NOTIMPLEMENTED macro not available in 2.7 2015-05-31 23:24:21 -07:00
Vincent Castellano
05c52fd498 Add global link preview method tgl.set_link_preview(bool) 2015-05-31 22:20:24 -07:00
Vincent Castellano
cbe442b7c6 Add __hash__ to tgl.Peer. 2015-05-31 22:20:24 -07:00
Vincent Castellano
c2bb5346df Adding tgl.Peer comparisons, only eq/ne 2015-05-31 22:20:24 -07:00
Vincent Castellano
1b01314689 Added reply= and preview= to tgl.Peer.send_msg() 2015-05-28 01:04:07 -07:00
Vincent Castellano
ce34da49f4 Comeplete tgl.Peer methods. 2015-05-23 17:09:08 -07:00
Vincent Castellano
ce4d9aff00 Add additional peer functions 2015-05-21 23:27:28 -07:00
Vincent Castellano
03bd7fbc50 Added error handling to failed calls to get peer. 2015-05-20 15:16:16 -07:00
Vincent Castellano
5576d7a094 Python build fixes 2015-05-20 10:55:06 -07:00
Vincent Castellano
354aa64ae1 Implement reprs and fix dates 2015-05-20 01:15:26 -07:00
Vincent Castellano
b547ca7158 Add custom exceptions 2015-05-20 01:15:26 -07:00
Vincent Castellano
7f2fc476eb Migrate API to completely use new python objects. 2015-05-20 01:15:26 -07:00
Vincent Castellano
fe030a69e2 Initial python class implementation complete. 2015-05-20 01:15:26 -07:00
Vincent Castellano
7c9129b0b4 Add tgl_Msg class 2015-05-20 01:15:26 -07:00
Vincent Castellano
25ed20429c Split Python Types into their own c module like they should be. 2015-05-20 01:15:00 -07:00