Mypy 1.10.0+dev Documentationcomments Future annotations import (PEP 563) typing.TYPE_CHECKING Class name forward references Import cycles Using classes that are generic in stubs but not at runtime Using types defined in stubs but not at They cannot be used to leave cross-module references unresolved. (For dealing with import cycles, see Import cycles.) Future annotations import (PEP 563) Many of the issues described here are caused by mypy something without the code being evaluated at runtime. This is most useful for resolving import cycles. Class name forward references Python does not allow references to a class object before the class0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.8.0 Documentationcomments Future annotations import (PEP 563) typing.TYPE_CHECKING Class name forward references Import cycles Using classes that are generic in stubs but not at runtime Using types defined in stubs but not at They cannot be used to leave cross-module references unresolved. (For dealing with import cycles, see Import cycles.) Future annotations import (PEP 563) Many of the issues described here are caused by mypy something without the code being evaluated at runtime. This is most useful for resolving import cycles. Class name forward references Python does not allow references to a class object before the class0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.8.0 DocumentationThey cannot be used to leave cross-module references unresolved. (For dealing with import cycles, see Import cycles.) 1.8. Annotation issues at runtime 41 Mypy Documentation, Release 1.8.0 1.8.2 Future mypy something without the code being evaluated at runtime. This is most useful for resolving import cycles. 1.8.4 Class name forward references Python does not allow references to a class object before after the class definition. This is not always desirable or even possible, though. 1.8.5 Import cycles An import cycle occurs where module A imports module B and module B imports module A (perhaps indirectly0 码力 | 234 页 | 902.89 KB | 1 年前3
Mypy 1.10.0+dev DocumentationThey cannot be used to leave cross-module references unresolved. (For dealing with import cycles, see Import cycles.) 1.8.2 Future annotations import (PEP 563) Many of the issues described here are caused mypy something without the code being evaluated at runtime. This is most useful for resolving import cycles. 1.8. Annotation issues at runtime 41 Mypy Documentation, Release 1.10.0+dev.790e8a73d8671a41c after the class definition. This is not always desirable or even possible, though. 1.8.5 Import cycles An import cycle occurs where module A imports module B and module B imports module A (perhaps indirectly0 码力 | 234 页 | 913.89 KB | 1 年前3
Tornado 6.0 Documentation
Arguments passed to self.stop are returned from self.wait. It is possible to have multiple wait/stop cycles in the same test. Example: # This test uses coroutine style. class MyTestCase(AsyncTestCase): longer allowed to send a body with 1xx or 204 responses. Exception handling now breaks up reference cycles that could delay garbage collection. RedirectHandler now copies any query arguments from the request keep-alive connection. What’s new in Tornado 3.1 Jun 15, 2013 Multiple modules Many reference cycles have been broken up throughout the package, allowing for more efficient garbage collection on CPython0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
Arguments passed to self.stop are returned from self.wait. It is possible to have multiple wait/stop cycles in the same test. Example: # This test uses coroutine style. class MyTestCase(AsyncTestCase): longer allowed to send a body with 1xx or 204 responses. Exception handling now breaks up reference cycles that could delay garbage collection. RedirectHandler now copies any query arguments from the request keep-alive connection. What’s new in Tornado 3.1 Jun 15, 2013 Multiple modules Many reference cycles have been broken up throughout the package, allowing for more efficient garbage collection on CPython0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.4 Documentation
Arguments passed to self.stop are returned from self.wait. It is possible to have multiple wait/stop cycles in the same test. Example: # This test uses coroutine style. class MyTestCase(AsyncTestCase): Chapter 6. Documentation Tornado Documentation, Release 6.4 tornado.concurrent • Fixed reference cycles that could lead to increased memory usage. tornado.escape • Several methods in this module now been updated to match the updated signature of asyncio.loop.run_in_executor. • Fixed reference cycles that could lead to increased memory usage. tornado.locale • format_timestamp now supports “aware”0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Arguments passed to self.stop are returned from self.wait. It is possible to have multiple wait/stop cycles in the same test. Example: # This test uses coroutine style. class MyTestCase(AsyncTestCase): Chapter 6. Documentation Tornado Documentation, Release 6.4 tornado.concurrent • Fixed reference cycles that could lead to increased memory usage. tornado.escape • Several methods in this module now been updated to match the updated signature of asyncio.loop.run_in_executor. • Fixed reference cycles that could lead to increased memory usage. tornado.locale • format_timestamp now supports “aware”0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Arguments passed to self.stop are returned from self.wait. It is possible to have multiple wait/stop cycles in the same test. Example: # This test uses coroutine style. class MyTestCase(AsyncTestCase): Chapter 6. Documentation Tornado Documentation, Release 6.4 tornado.concurrent • Fixed reference cycles that could lead to increased memory usage. tornado.escape • Several methods in this module now been updated to match the updated signature of asyncio.loop.run_in_executor. • Fixed reference cycles that could lead to increased memory usage. tornado.locale • format_timestamp now supports “aware”0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.5 DocumentationArguments passed to self.stop are returned from self.wait. It is possible to have multiple wait/stop cycles in the same test. Example: # This test uses coroutine style. class MyTestCase(AsyncTestCase): program on any failure but stops after the first successful run. tornado.concurrent • Fixed reference cycles that could lead to increased memory usage. tornado.escape • Several methods in this module now been updated to match the updated signature of asyncio.loop.run_in_executor. • Fixed reference cycles that could lead to increased memory usage. 6.9. Release notes 169Tornado Documentation, Release0 码力 | 272 页 | 1.12 MB | 3 月前3
共 200 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20













