Skip to content

Conversation

@incaseoftrouble
Copy link
Contributor

Hi,

I'm using problemtools as library in a larger script to automate deployment of lectures. In that process I found some things I thought needed fixing. I tried to keep changes small and can also make them a bit more consistent. Depending on your wishes, I might address some more things in the future :-)

Mainly, I introduced a bit more consistent logging and added the possibility of having build/run in the include_dir. I used this for some java validators where a common build script lies in an included dir.

Closes #201

Copy link
Contributor

@pehrsoderman pehrsoderman left a comment

Choose a reason for hiding this comment

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

There seems to be some debugging related changes left in this pr...

_JUNK_CASES = [
('an empty file', b''),
('a binary file with byte values 0 up to 256', bytearray(x for x in range(256))),
# ('a binary file with byte values 0 up to 256', bytearray(x for x in range(256))),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this case removed?

if sys.stdout.isatty():
sys.stdout.write('%s' % '\b \b' * (len(msg)))
# if sys.stdout.isatty():
# sys.stdout.write('%s' % '\b \b' * (len(msg)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this commented out?

@incaseoftrouble
Copy link
Contributor Author

incaseoftrouble commented Nov 25, 2023

Hey, sorry, I switched institutions two times this year and somehow completely forgot that this is open. Should I update this to the current release?

@pehrsoderman
Copy link
Contributor

@incaseoftrouble Please do a rebase

@incaseoftrouble
Copy link
Contributor Author

Just as a remark on that: My schedule is absolutely full, I put this into my calendar for February. (But I put it in!)

@incaseoftrouble
Copy link
Contributor Author

Moved to #253

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.

UnicodeDecodeError problems due to non-parseable _JUNK_CASES

2 participants