Skip to content

Testdir.makefile: support for ext=None#246

Closed
blueyed wants to merge 2 commits intomy-masterfrom
makefile-ext-none
Closed

Testdir.makefile: support for ext=None#246
blueyed wants to merge 2 commits intomy-masterfrom
makefile-ext-none

Conversation

@blueyed
Copy link
Owner

@blueyed blueyed commented Feb 23, 2020

Raises ValueError for no items, instead of having an optional None
return value, which is not useful by itself, and only complicates type
checking.

Adding support for ext=None is backward compatible, in the sense of
that it would have crashed before when trying to use .new(ext=None).

blueyed added 2 commits March 13, 2020 09:45
Raises `ValueError` for no items, instead of having an optional `None`
return value, which is not useful by itself, and only complicates type
checking.

Adding support for `ext=None` is backward compatible, in the sense of
that it would have crashed before when trying to use `.new(ext=None)`.
@blueyed blueyed force-pushed the makefile-ext-none branch from 23227d9 to 04ab747 Compare March 13, 2020 08:57
@blueyed
Copy link
Owner Author

blueyed commented Mar 17, 2020

Closing in favor of #174 - better to have a new function for this.

@blueyed blueyed closed this Mar 17, 2020
@blueyed blueyed deleted the makefile-ext-none branch March 17, 2020 20:46
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.

1 participant