Issue Details (XML | Word | Printable)

Key: PYFB-52
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Pavel Cisar
Reporter: Cagatay Tengiz
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird driver for Python

isc_info* types which are _DATABASE_INFO_CODES_WITH_COUNT_RESULTS raises TypeError: 'float' object cannot be interpreted as an integer

Created: 26/Jun/15 07:10 AM   Updated: 30/Jun/15 07:16 PM
Component/s: None
Affects Version/s: 1.4.8
Fix Version/s: 1.4.9

Environment: Python 3.4

 Description  « Hide
in line 1257:

pairCount = len(buf) / pairSize

in line 1260

for i in range(pairCount):

but pairCount is not integer.

I think this is because of :

So converting pairCount to integer implicitly solves problem..

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.