Skip to content

Conversation

@bozhodimitrov
Copy link
Contributor

@bozhodimitrov bozhodimitrov commented Apr 11, 2020

Hi, Росен!
First of all, thanks for your work on this project! Amazing library.
Upon creation of SteamID object, unhandled TypeError is raised for too large integers or numeric strings instead of creating SteamID object with the invalid flags set.
Example test is provided in the PR.

Cheers and have a nice day! 🍺

int3l added 2 commits April 11, 2020 18:57
Too big integers or numeric strings raise TypeError in make_steam64 instead of returning valid SteamID object with the invalid flag set.
Examples:
SteamID(111111111111111111111111111111111111111)
SteamID('11111111111111111111111111111111111111')
Copy link
Member

@rossengeorgiev rossengeorgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I guess I've missed that obvious test case. Looks like the PR didn't run to CI for some reason, need that to run before merging.

@rossengeorgiev rossengeorgiev merged commit 46e4cdf into ValvePython:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants