| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -214,7 +214,7 @@ _PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame); | |||
| 214 | 214 | ||
| 215 | 215 | /* Gets the PyFrameObject for this frame, lazily | |
| 216 | 216 | * creating it if necessary. | |
| 217 | - * Returns a borrowed referennce */ | ||
| 217 | + * Returns a borrowed reference */ | ||
| 218 | 218 | static inline PyFrameObject * | |
| 219 | 219 | _PyFrame_GetFrameObject(_PyInterpreterFrame *frame) | |
| 220 | 220 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -346,7 +346,7 @@ struct _gc_runtime_state { | |||
| 346 | 346 | Py_ssize_t long_lived_pending; | |
| 347 | 347 | ||
| 348 | 348 | /* gh-117783: Deferred reference counting is not fully implemented yet, so | |
| 349 | - as a temporary measure we treat objects using deferred referenence | ||
| 349 | + as a temporary measure we treat objects using deferred reference | ||
| 350 | 350 | counting as immortal. The value may be zero, one, or a negative number: | |
| 351 | 351 | 0: immortalize deferred RC objects once the first thread is created | |
| 352 | 352 | 1: immortalize all deferred RC objects immediately | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | * Implementation of safe memory reclamation scheme using | |
| 3 | 3 | * quiescent states. | |
| 4 | 4 | * | |
| 5 | - * This is dervied from the "GUS" safe memory reclamation technique | ||
| 5 | + * This is derived from the "GUS" safe memory reclamation technique | ||
| 6 | 6 | * in FreeBSD written by Jeffrey Roberson. It is heavily modified. Any bugs | |
| 7 | 7 | * in this code are likely due to the modifications. | |
| 8 | 8 | * | |
@@ -238,7 +238,7 @@ _Py_qsbr_unregister(PyThreadState *tstate) | |||
| 238 | 238 | struct _PyThreadStateImpl *tstate_imp = (_PyThreadStateImpl*) tstate; | |
| 239 | 239 | ||
| 240 | 240 | // gh-119369: GIL must be released (if held) to prevent deadlocks, because | |
| 241 | - // we might not have an active tstate, which means taht blocking on PyMutex | ||
| 241 | + // we might not have an active tstate, which means that blocking on PyMutex | ||
| 242 | 242 | // locks will not implicitly release the GIL. | |
| 243 | 243 | assert(!tstate->_status.holds_gil); | |
| 244 | 244 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1301,7 +1301,7 @@ PyObject *descr, DescriptorClassification kind, bool is_method) | |||
| 1301 | 1301 | } | |
| 1302 | 1302 | /* Cache entries must be unsigned values, so we offset the | |
| 1303 | 1303 | * dictoffset by MANAGED_DICT_OFFSET. | |
| 1304 | - * We do the reverese offset in LOAD_ATTR_METHOD_LAZY_DICT */ | ||
| 1304 | + * We do the reverse offset in LOAD_ATTR_METHOD_LAZY_DICT */ | ||
| 1305 | 1305 | dictoffset -= MANAGED_DICT_OFFSET; | |
| 1306 | 1306 | assert(((uint16_t)dictoffset) == dictoffset); | |
| 1307 | 1307 | cache->dict_offset = (uint16_t)dictoffset; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments