随笔分类 - python
摘要:Interfaces — zope.interface 5.0.2.dev0 documentation https://zopeinterface.readthedocs.io/en/latest/README.html
阅读全文
摘要:django-admin and manage.py | Django documentation | Django https://docs.djangoproject.com/en/3.0/ref/django-admin/#runserver runserver¶ django-admin r
阅读全文
摘要:https://mp.weixin.qq.com/s/hy68s610B9GbL_wgwTn7nA 更优美的python日志管理库Loguru Asynchronous, Thread-safe, Multiprocess-safe All sinks added to the logger are
阅读全文
摘要:django-guardian (1.1.1+) - Object level permissions support. Home - Django REST framework https://www.django-rest-framework.org/#example
阅读全文
摘要:functools.singledispatchmethod(Python 3.8) | 码农网 https://www.codercto.com/a/83245.html
阅读全文
摘要:小结 1、cpy的垃圾回收会对调用__del__多次;pypy仅仅一次; https://www.liaoxuefeng.com/wiki/1016959663602400/1016966024263840 PyPy是另一个Python解释器,它的目标是执行速度。PyPy采用JIT技术,对Pytho
阅读全文
摘要:https://stackoverflow.com/questions/3232943/update-value-of-a-nested-dictionary-of-varying-depth import copy d = {'k': 'kv'} j_sc = {'k1': copy.copy(d
阅读全文
摘要:https://www.python.org/dev/peps/pep-0436/ https://docs.python.org/3.8/howto/clinic.html
阅读全文
摘要:https://docs.python.org/3/tutorial/modules.html?highlight=compile#compiled-python-files
阅读全文
摘要:// https://python3-cookbook.readthedocs.io/zh_CN/latest/c15/p02_write_simple_c_extension_module.html // http://book.pythontips.com/en/latest/python_c_
阅读全文
摘要:cpython/Lib/_threading_local.py at 3.12 · python/cpython · GitHub https://github.com/python/cpython/blob/3.12/Lib/_threading_local.py threading 基于线程的并
阅读全文
摘要:1、Python切片对象可以为任意类型 https://github.com/python/cpython/blob/master/Include/sliceobject.h /* Slice object interface */ /* A slice object containing star
阅读全文
摘要:/* Object and type object interface */ /* Objects are structures allocated on the heap. Special rules apply to the use of objects to ensure they are p
阅读全文
摘要:https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-0 Core and Builtins bpo-38469: Fixed a bug where the scope of named expressions was not
阅读全文
摘要:StringIO和BytesIO Content-Type multipart/form-data
阅读全文
摘要:https://pythonhosted.org/logview/
阅读全文
摘要:https://www.python.org/dev/peps/pep-0442/ PEP 442 -- Safe object finalization Contents Abstract Definitions Impact Benefits Description Reference-coun
阅读全文
摘要:initinit1 Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Python 2.7.5 (default, May 15 2013, 22:44:16) [
阅读全文
摘要:gc.freeze() 冻结由垃圾回收器追踪的所有对象;将它们移至永久世代并在所有未来的回收操作中忽略它们。 如果一个进程将执行 fork() 而不执行 exec(),则在子进程中避免不必要的写入时拷贝将最大化内存共享并减少总体内存使用。 这需要同时在父进程的内存页中避免创建已释放的“空洞”并确保在
阅读全文

浙公网安备 33010602011771号