| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -125,8 +125,8 @@ typedef struct _ts PyThreadState; | |||
| 125 | 125 | #else | |
| 126 | 126 | ||
| 127 | 127 | typedef struct _err_stackitem { | |
| 128 | - /* This struct represents an entry on the exception stack, which is a | ||
| 129 | - * per-coroutine state. (Coroutine in the computer science sense, | ||
| 128 | + /* This struct represents an entry on the exception stack, which is a | ||
| 129 | + * per-coroutine state. (Coroutine in the computer science sense, | ||
| 130 | 130 | * including the thread and generators). | |
| 131 | 131 | * This ensures that the exception state is not impacted by "yields" | |
| 132 | 132 | * from an except handler. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,14 +30,14 @@ typedef enum { | |||
| 30 | 30 | /* Round to nearest with ties going to nearest even integer. | |
| 31 | 31 | For example, used to round from a Python float. */ | |
| 32 | 32 | _PyTime_ROUND_HALF_EVEN=2, | |
| 33 | - /* Round away from zero | ||
| 33 | + /* Round away from zero | ||
| 34 | 34 | For example, used for timeout. _PyTime_ROUND_CEILING rounds | |
| 35 | 35 | -1e-9 to 0 milliseconds which causes bpo-31786 issue. | |
| 36 | 36 | _PyTime_ROUND_UP rounds -1e-9 to -1 millisecond which keeps | |
| 37 | 37 | the timeout sign as expected. select.poll(timeout) must block | |
| 38 | 38 | for negative values." */ | |
| 39 | 39 | _PyTime_ROUND_UP=3, | |
| 40 | - /* _PyTime_ROUND_TIMEOUT (an alias for _PyTime_ROUND_UP) should be | ||
| 40 | + /* _PyTime_ROUND_TIMEOUT (an alias for _PyTime_ROUND_UP) should be | ||
| 41 | 41 | used for timeouts. */ | |
| 42 | 42 | _PyTime_ROUND_TIMEOUT = _PyTime_ROUND_UP | |
| 43 | 43 | } _PyTime_round_t; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -804,7 +804,7 @@ do_WSARecv(OverlappedObject *self, HANDLE handle, | |||
| 804 | 804 | WSABUF wsabuf; | |
| 805 | 805 | int ret; | |
| 806 | 806 | DWORD err; | |
| 807 | - | ||
| 807 | + | ||
| 808 | 808 | wsabuf.buf = bufstart; | |
| 809 | 809 | wsabuf.len = buflen; | |
| 810 | 810 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -450,7 +450,7 @@ PyThreadState_Clear(PyThreadState *tstate) | |||
| 450 | 450 | Py_CLEAR(tstate->exc_state.exc_type); | |
| 451 | 451 | Py_CLEAR(tstate->exc_state.exc_value); | |
| 452 | 452 | Py_CLEAR(tstate->exc_state.exc_traceback); | |
| 453 | - | ||
| 453 | + | ||
| 454 | 454 | /* The stack of exception states should contain just this thread. */ | |
| 455 | 455 | assert(tstate->exc_info->previous_item == NULL); | |
| 456 | 456 | if (Py_VerboseFlag && tstate->exc_info != &tstate->exc_state) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments