Changes
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/components/python-docs/latest%252Flatestlibraryexceptions/changes/?format=api&page=8
https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/changes/?format=api&page=9", "previous": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/changes/?format=api&page=7", "results": [ { "unit": "https://hosted.weblate.org/api/units/108737695/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638649+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "Most built-in exceptions are implemented in C for efficiency, see: :source:`Objects/exceptions.c`. Some have custom memory layouts which makes it impossible to create a subclass that inherits from multiple exception types. The memory layout of a type is an implementation detail and might change between Python versions, leading to new conflicts in the future. Therefore, it's recommended to avoid subclassing multiple exception types altogether.", "old_state": -1 }, "id": 70974473, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974473/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737691/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638618+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "User code can create subclasses that inherit from an exception type. It's recommended to only subclass one exception type at a time to avoid any possible conflicts between how the bases handle the ``args`` attribute, as well as due to possible memory layout incompatibilities.", "old_state": -1 }, "id": 70974472, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974472/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737687/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638587+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "Inheriting from built-in exceptions", "old_state": -1 }, "id": 70974471, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974471/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737685/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638529+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "In either case, the exception itself is always shown after any chained exceptions so that the final line of the traceback always shows the last exception that was raised.", "old_state": -1 }, "id": 70974470, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974470/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737680/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638499+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "The default traceback display code shows these chained exceptions in addition to the traceback for the exception itself. An explicitly chained exception in :attr:`__cause__` is always shown when present. An implicitly chained exception in :attr:`__context__` is shown only if :attr:`__cause__` is :const:`None` and :attr:`__suppress_context__` is false.", "old_state": -1 }, "id": 70974469, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974469/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737675/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638470+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "The expression following :keyword:`from<raise>` must be an exception or ``None``. It will be set as :attr:`__cause__` on the raised exception. Setting :attr:`__cause__` also implicitly sets the :attr:`__suppress_context__` attribute to ``True``, so that using ``raise new_exc from None`` effectively replaces the old exception with the new one for display purposes (e.g. converting :exc:`KeyError` to :exc:`AttributeError`), while leaving the old exception available in :attr:`__context__` for introspection when debugging.", "old_state": -1 }, "id": 70974468, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974468/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737670/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638439+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "This implicit exception context can be supplemented with an explicit cause by using :keyword:`!from` with :keyword:`raise`::", "old_state": -1 }, "id": 70974467, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974467/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737666/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638409+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "When raising a new exception while another exception is already being handled, the new exception's :attr:`__context__` attribute is automatically set to the handled exception. An exception may be handled when an :keyword:`except` or :keyword:`finally` clause, or a :keyword:`with` statement, is used.", "old_state": -1 }, "id": 70974466, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974466/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737660/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638378+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "Exception context", "old_state": -1 }, "id": 70974465, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974465/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737654/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638348+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "The built-in exception classes can be subclassed to define new exceptions; programmers are encouraged to derive new exceptions from the :exc:`Exception` class or one of its subclasses, and not from :exc:`BaseException`. More information on defining exceptions is available in the Python Tutorial under :ref:`tut-userexceptions`.", "old_state": -1 }, "id": 70974464, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974464/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737648/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638317+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "User code can raise built-in exceptions. This can be used to test an exception handler or to report an error condition \"just like\" the situation in which the interpreter raises the same exception; but beware that there is nothing to prevent user code from raising an inappropriate error.", "old_state": -1 }, "id": 70974463, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974463/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737643/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638286+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "The built-in exceptions listed below can be generated by the interpreter or built-in functions. Except where mentioned, they have an \"associated value\" indicating the detailed cause of the error. This may be a string or a tuple of several items of information (e.g., an error code and a string explaining the code). The associated value is usually passed as arguments to the exception class's constructor.", "old_state": -1 }, "id": 70974462, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974462/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737637/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638253+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "In Python, all exceptions must be instances of a class that derives from :class:`BaseException`. In a :keyword:`try` statement with an :keyword:`except` clause that mentions a particular class, that clause also handles any exception classes derived from that class (but not exception classes from which *it* is derived). Two exception classes that are not related via subclassing are never equivalent, even if they have the same name.", "old_state": -1 }, "id": 70974461, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974461/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108737632/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/pl/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.638209+01:00", "action": 59, "target": "", "old": "", "details": { "state": 0, "source": "Built-in Exceptions", "old_state": -1 }, "id": 70974460, "action_name": "String updated in the repository", "url": "https://hosted.weblate.org/api/changes/70974460/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738598/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.630473+01:00", "action": 13, "target": "errno", "old": "errno", "details": { "state": 100, "source": "errno", "old_state": 100 }, "id": 70974456, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974456/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738595/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.617197+01:00", "action": 13, "target": "module", "old": "module", "details": { "state": 100, "source": "module", "old_state": 100 }, "id": 70974454, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974454/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738591/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.607022+01:00", "action": 13, "target": "assert", "old": "assert", "details": { "state": 100, "source": "assert", "old_state": 100 }, "id": 70974453, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974453/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738586/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.593059+01:00", "action": 13, "target": "raise", "old": "raise", "details": { "state": 100, "source": "raise", "old_state": 100 }, "id": 70974451, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974451/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738581/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.581922+01:00", "action": 13, "target": "except", "old": "except", "details": { "state": 100, "source": "except", "old_state": 100 }, "id": 70974448, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974448/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738576/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.568994+01:00", "action": 13, "target": "try", "old": "try", "details": { "state": 100, "source": "try", "old_state": 100 }, "id": 70974446, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974446/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738570/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.555786+01:00", "action": 13, "target": "statement", "old": "statement", "details": { "state": 100, "source": "statement", "old_state": 100 }, "id": 70974442, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974442/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738566/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.545760+01:00", "action": 13, "target": "The class hierarchy for built-in exceptions is:", "old": "The class hierarchy for built-in exceptions is:", "details": { "state": 100, "source": "The class hierarchy for built-in exceptions is:", "old_state": 100 }, "id": 70974440, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974440/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738560/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.532064+01:00", "action": 13, "target": "Exception hierarchy", "old": "Exception hierarchy", "details": { "state": 100, "source": "Exception hierarchy", "old_state": 100 }, "id": 70974438, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974438/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738557/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.521184+01:00", "action": 13, "target": "Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which is also a subclass of :exc:`Exception` can only wrap instances of :exc:`Exception`.", "old": "Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which is also a subclass of :exc:`Exception` can only wrap instances of :exc:`Exception`.", "details": { "state": 100, "source": "Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which is also a subclass of :exc:`Exception` can only wrap instances of :exc:`Exception`.", "old_state": 100 }, "id": 70974423, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974423/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738552/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.510236+01:00", "action": 13, "target": "Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses that need a different constructor signature need to override that rather than :meth:`__init__`. For example, the following defines an exception group subclass which accepts an exit_code and and constructs the group's message from it. ::", "old": "Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses that need a different constructor signature need to override that rather than :meth:`__init__`. For example, the following defines an exception group subclass which accepts an exit_code and and constructs the group's message from it. ::", "details": { "state": 100, "source": "Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses that need a different constructor signature need to override that rather than :meth:`__init__`. For example, the following defines an exception group subclass which accepts an exit_code and and constructs the group's message from it. ::", "old_state": 100 }, "id": 70974342, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974342/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738543/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.497491+01:00", "action": 13, "target": ":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the original exception group to the one returned by :meth:`derive`, so these fields do not need to be updated by :meth:`derive`. ::", "old": ":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the original exception group to the one returned by :meth:`derive`, so these fields do not need to be updated by :meth:`derive`. ::", "details": { "state": 100, "source": ":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the original exception group to the one returned by :meth:`derive`, so these fields do not need to be updated by :meth:`derive`. ::", "old_state": 100 }, "id": 70974340, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974340/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738533/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.482466+01:00", "action": 13, "target": "This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs to override it in order to make :meth:`subgroup` and :meth:`split` return instances of the subclass rather than :exc:`ExceptionGroup`.", "old": "This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs to override it in order to make :meth:`subgroup` and :meth:`split` return instances of the subclass rather than :exc:`ExceptionGroup`.", "details": { "state": 100, "source": "This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs to override it in order to make :meth:`subgroup` and :meth:`split` return instances of the subclass rather than :exc:`ExceptionGroup`.", "old_state": 100 }, "id": 70974338, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974338/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738522/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.470292+01:00", "action": 13, "target": "Returns an exception group with the same :attr:`message`, but which wraps the exceptions in ``excs``.", "old": "Returns an exception group with the same :attr:`message`, but which wraps the exceptions in ``excs``.", "details": { "state": 100, "source": "Returns an exception group with the same :attr:`message`, but which wraps the exceptions in ``excs``.", "old_state": 100 }, "id": 70974336, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974336/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738509/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.457446+01:00", "action": 13, "target": "Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where ``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-matching part.", "old": "Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where ``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-matching part.", "details": { "state": 100, "source": "Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where ``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-matching part.", "old_state": 100 }, "id": 70974333, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974333/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738499/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.443642+01:00", "action": 13, "target": "The condition is checked for all exceptions in the nested exception group, including the top-level and any nested exception groups. If the condition is true for such an exception group, it is included in the result in full.", "old": "The condition is checked for all exceptions in the nested exception group, including the top-level and any nested exception groups. If the condition is true for such an exception group, it is included in the result in full.", "details": { "state": 100, "source": "The condition is checked for all exceptions in the nested exception group, including the top-level and any nested exception groups. If the condition is true for such an exception group, it is included in the result in full.", "old_state": 100 }, "id": 70974330, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974330/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738486/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.429997+01:00", "action": 13, "target": "The nesting structure of the current exception is preserved in the result, as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:`__notes__` fields. Empty nested groups are omitted from the result.", "old": "The nesting structure of the current exception is preserved in the result, as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:`__notes__` fields. Empty nested groups are omitted from the result.", "details": { "state": 100, "source": "The nesting structure of the current exception is preserved in the result, as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:`__cause__`, :attr:`__context__` and :attr:`__notes__` fields. Empty nested groups are omitted from the result.", "old_state": 100 }, "id": 70974329, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974329/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738477/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.413677+01:00", "action": 13, "target": "The condition can be either a function that accepts an exception and returns true for those that should be in the subgroup, or it can be an exception type or a tuple of exception types, which is used to check for a match using the same check that is used in an ``except`` clause.", "old": "The condition can be either a function that accepts an exception and returns true for those that should be in the subgroup, or it can be an exception type or a tuple of exception types, which is used to check for a match using the same check that is used in an ``except`` clause.", "details": { "state": 100, "source": "The condition can be either a function that accepts an exception and returns true for those that should be in the subgroup, or it can be an exception type or a tuple of exception types, which is used to check for a match using the same check that is used in an ``except`` clause.", "old_state": 100 }, "id": 70974326, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974326/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738468/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.400936+01:00", "action": 13, "target": "Returns an exception group that contains only the exceptions from the current group that match *condition*, or ``None`` if the result is empty.", "old": "Returns an exception group that contains only the exceptions from the current group that match *condition*, or ``None`` if the result is empty.", "details": { "state": 100, "source": "Returns an exception group that contains only the exceptions from the current group that match *condition*, or ``None`` if the result is empty.", "old_state": 100 }, "id": 70974324, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974324/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738459/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.389108+01:00", "action": 13, "target": "A tuple of the exceptions in the ``excs`` sequence given to the constructor. This is a read-only attribute.", "old": "A tuple of the exceptions in the ``excs`` sequence given to the constructor. This is a read-only attribute.", "details": { "state": 100, "source": "A tuple of the exceptions in the ``excs`` sequence given to the constructor. This is a read-only attribute.", "old_state": 100 }, "id": 70974322, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974322/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738449/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.377410+01:00", "action": 13, "target": "The ``msg`` argument to the constructor. This is a read-only attribute.", "old": "The ``msg`` argument to the constructor. This is a read-only attribute.", "details": { "state": 100, "source": "The ``msg`` argument to the constructor. This is a read-only attribute.", "old_state": 100 }, "id": 70974320, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974320/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738441/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.365142+01:00", "action": 13, "target": "The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:`Exception` instances, so it can be used to make the selection automatic. The :exc:`ExceptionGroup` constructor, on the other hand, raises a :exc:`TypeError` if any contained exception is not an :exc:`Exception` subclass.", "old": "The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:`Exception` instances, so it can be used to make the selection automatic. The :exc:`ExceptionGroup` constructor, on the other hand, raises a :exc:`TypeError` if any contained exception is not an :exc:`Exception` subclass.", "details": { "state": 100, "source": "The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:`Exception` instances, so it can be used to make the selection automatic. The :exc:`ExceptionGroup` constructor, on the other hand, raises a :exc:`TypeError` if any contained exception is not an :exc:`Exception` subclass.", "old_state": 100 }, "id": 70974317, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974317/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738432/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.353300+01:00", "action": 13, "target": "Both of these exception types wrap the exceptions in the sequence ``excs``. The ``msg`` parameter must be a string. The difference between the two classes is that :exc:`BaseExceptionGroup` extends :exc:`BaseException` and it can wrap any exception, while :exc:`ExceptionGroup` extends :exc:`Exception` and it can only wrap subclasses of :exc:`Exception`. This design is so that ``except Exception`` catches an :exc:`ExceptionGroup` but not :exc:`BaseExceptionGroup`.", "old": "Both of these exception types wrap the exceptions in the sequence ``excs``. The ``msg`` parameter must be a string. The difference between the two classes is that :exc:`BaseExceptionGroup` extends :exc:`BaseException` and it can wrap any exception, while :exc:`ExceptionGroup` extends :exc:`Exception` and it can only wrap subclasses of :exc:`Exception`. This design is so that ``except Exception`` catches an :exc:`ExceptionGroup` but not :exc:`BaseExceptionGroup`.", "details": { "state": 100, "source": "Both of these exception types wrap the exceptions in the sequence ``excs``. The ``msg`` parameter must be a string. The difference between the two classes is that :exc:`BaseExceptionGroup` extends :exc:`BaseException` and it can wrap any exception, while :exc:`ExceptionGroup` extends :exc:`Exception` and it can only wrap subclasses of :exc:`Exception`. This design is so that ``except Exception`` catches an :exc:`ExceptionGroup` but not :exc:`BaseExceptionGroup`.", "old_state": 100 }, "id": 70974316, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974316/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738422/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.341325+01:00", "action": 13, "target": "The following are used when it is necessary to raise multiple unrelated exceptions. They are part of the exception hierarchy so they can be handled with :keyword:`except` like all other exceptions. In addition, they are recognised by :keyword:`except*<except_star>`, which matches their subgroups based on the types of the contained exceptions.", "old": "The following are used when it is necessary to raise multiple unrelated exceptions. They are part of the exception hierarchy so they can be handled with :keyword:`except` like all other exceptions. In addition, they are recognised by :keyword:`except*<except_star>`, which matches their subgroups based on the types of the contained exceptions.", "details": { "state": 100, "source": "The following are used when it is necessary to raise multiple unrelated exceptions. They are part of the exception hierarchy so they can be handled with :keyword:`except` like all other exceptions. In addition, they are recognised by :keyword:`except*<except_star>`, which matches their subgroups based on the types of the contained exceptions.", "old_state": 100 }, "id": 70974313, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974313/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738412/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.329769+01:00", "action": 13, "target": "Exception groups", "old": "Exception groups", "details": { "state": 100, "source": "Exception groups", "old_state": 100 }, "id": 70974311, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974311/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738403/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.318707+01:00", "action": 13, "target": "Base class for warnings related to resource usage.", "old": "Base class for warnings related to resource usage.", "details": { "state": 100, "source": "Base class for warnings related to resource usage.", "old_state": 100 }, "id": 70974308, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974308/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738396/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.306991+01:00", "action": 13, "target": "Base class for warnings related to :class:`bytes` and :class:`bytearray`.", "old": "Base class for warnings related to :class:`bytes` and :class:`bytearray`.", "details": { "state": 100, "source": "Base class for warnings related to :class:`bytes` and :class:`bytearray`.", "old_state": 100 }, "id": 70974306, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974306/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738392/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.295785+01:00", "action": 13, "target": "See :ref:`io-encoding-warning` for details.", "old": "See :ref:`io-encoding-warning` for details.", "details": { "state": 100, "source": "See :ref:`io-encoding-warning` for details.", "old_state": 100 }, "id": 70974305, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974305/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738387/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.286653+01:00", "action": 13, "target": "Base class for warnings related to encodings.", "old": "Base class for warnings related to encodings.", "details": { "state": 100, "source": "Base class for warnings related to encodings.", "old_state": 100 }, "id": 70974304, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974304/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738382/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.275847+01:00", "action": 13, "target": "Base class for warnings related to Unicode.", "old": "Base class for warnings related to Unicode.", "details": { "state": 100, "source": "Base class for warnings related to Unicode.", "old_state": 100 }, "id": 70974302, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974302/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738378/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.264181+01:00", "action": 13, "target": "Base class for warnings about probable mistakes in module imports.", "old": "Base class for warnings about probable mistakes in module imports.", "details": { "state": 100, "source": "Base class for warnings about probable mistakes in module imports.", "old_state": 100 }, "id": 70974300, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974300/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738372/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.252639+01:00", "action": 13, "target": "Base class for warnings about deprecated features when those warnings are intended for end users of applications that are written in Python.", "old": "Base class for warnings about deprecated features when those warnings are intended for end users of applications that are written in Python.", "details": { "state": 100, "source": "Base class for warnings about deprecated features when those warnings are intended for end users of applications that are written in Python.", "old_state": 100 }, "id": 70974298, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974298/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738368/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.241379+01:00", "action": 13, "target": "Base class for warnings about dubious runtime behavior.", "old": "Base class for warnings about dubious runtime behavior.", "details": { "state": 100, "source": "Base class for warnings about dubious runtime behavior.", "old_state": 100 }, "id": 70974295, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974295/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738365/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.231004+01:00", "action": 13, "target": "Base class for warnings about dubious syntax.", "old": "Base class for warnings about dubious syntax.", "details": { "state": 100, "source": "Base class for warnings about dubious syntax.", "old_state": 100 }, "id": 70974294, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974294/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738362/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.221324+01:00", "action": 13, "target": "Ignored by the default warning filters. Enabling the :ref:`Python Development Mode <devmode>` shows this warning.", "old": "Ignored by the default warning filters. Enabling the :ref:`Python Development Mode <devmode>` shows this warning.", "details": { "state": 100, "source": "Ignored by the default warning filters. Enabling the :ref:`Python Development Mode <devmode>` shows this warning.", "old_state": 100 }, "id": 70974292, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974292/?format=api" }, { "unit": "https://hosted.weblate.org/api/units/108738359/?format=api", "component": "https://hosted.weblate.org/api/components/python-docs/latest%252Flatestlibraryexceptions/?format=api", "translation": "https://hosted.weblate.org/api/translations/python-docs/latest%252Flatestlibraryexceptions/en/?format=api", "user": null, "author": null, "timestamp": "2023-11-08T16:34:24.211433+01:00", "action": 13, "target": "This class is rarely used as emitting a warning about a possible upcoming deprecation is unusual, and :exc:`DeprecationWarning` is preferred for already active deprecations.", "old": "This class is rarely used as emitting a warning about a possible upcoming deprecation is unusual, and :exc:`DeprecationWarning` is preferred for already active deprecations.", "details": { "state": 100, "source": "This class is rarely used as emitting a warning about a possible upcoming deprecation is unusual, and :exc:`DeprecationWarning` is preferred for already active deprecations.", "old_state": 100 }, "id": 70974290, "action_name": "Source string added", "url": "https://hosted.weblate.org/api/changes/70974290/?format=api" } ] }{ "count": 542, "next": "