1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-19 23:17:05 +03:00

3 Commits

Author SHA1 Message Date
Martin Pool
c56f478ded pytdbpack_calc_reqd_len: Make exception be thrown correctly when a
non-string is used with a string format code.  (It was being generated
but not thrown.)

Also call checked versions of some functions rather than FAST_*
versions.
(This used to be commit 1b681bd524764deaef657ef41c39d037ac7dcc7b)
2002-11-04 20:22:03 +00:00
Martin Pool
3b8d11fe50 Give better error messages for TypeError, which will arise if e.g. you
try to pack an Int using a string tdbpack format.
(This used to be commit 6139ab3cbca3fc2969d1e578b38394b1f6aeb9c3)
2002-10-21 07:41:08 +00:00
Martin Pool
63f411a3f9 Import my code to do reasonably fast tdbpack/unpack from Python
(This used to be commit 1f7ed8bb863fdacd0b9f3bc2e1e5d72ec7051feb)
2002-09-09 06:30:48 +00:00