Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.32 KB

File metadata and controls

39 lines (31 loc) · 1.32 KB

Ideas

This is a unsorted collection of ideas what could be implemented.

  • Doctypes and language. The language type allows en-us, de-de, and the asterisk to match "all" languages. However, we don't have an expressive value that matches "all languages except English". Maybe allow "-" in front of the language?

    • "-en-us" would match all languages minus English.
    • "-en-us,-de-de" would match all languages minus English and German. Should the second dash be optional?
  • Deliverable support subdeliverables?

  • Implement a "check environment" function. Before we really do anything, this check some prerequisites:

    • Checks if certain commands are available (e.g. git, jing)
    • Check if commands have a minimum version
    • Check if the available space is enough (can be customized in the envconfig)
    • More...?

    This should help that it breaks in the middle of, for example, a build operation.

  • An async anext() function (resembles the original next() function both in terms of interface and behavior):

    NOT_SET = object()
    
    async def anext(async_generator_expression, default=NOT_SET):
        try:
            return await async_generator_expression.__anext__()
        except StopAsyncIteration:
            if default is NOT_SET:
                raise
            return default