fancidev

Results 29 issues of fancidev

macOS may raise `OSError` of `EPROTOTYPE` when writing to a socket that is in the middle of closing down. See also http://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ This PR updates the test case `test_sendfile_fallback_close_peer_in_the_middle_of_receiving` to...

tests
awaiting review

## Problem The documentation on [asyncio.Task.cancel](https://docs.python.org/3/library/asyncio-task.html#asyncio.Task.cancel) says > This arranges for a CancelledError exception to be thrown into the wrapped coroutine on the next cycle of the event loop. >...

docs
expert-asyncio

* Issue: gh-98275

docs
awaiting review
skip news
needs backport to 3.10
needs backport to 3.11

The test_sendfile_fallback_close_peer_in_the_middle_of_receiving test in test.test_asyncio.test_sendfile.SelectEventLoopTests fails with error “OSError: [Errno 41] Protocol wrong type for socket” intermittently on macOS. I have seen this error multiple times across Python 3.8-3.11rc1 CI...

type-bug
expert-asyncio

#### Reference issue This is a follow-up commit for gh-18190. #### What does this implement/fix? The MLE of the vonmises distribution solves $r_0(\kappa):=I_1(\kappa)/I_0(\kappa)=r$ for $\kappa$ given $0 < r <...

scipy.stats
enhancement

### Is your feature request related to a problem? Please describe. I come across this when browsing through general methods for fitting the location parameter of a distribution. SciPy already...

scipy.stats
enhancement

#### Reference issue Closes gh-20036. #### What does this implement/fix? Use analytical formula in `scipy.stats.powerlaw._munp`. The formula is derived by simple integration, and elaborated in gh-20036. #### Additional information A...

scipy.stats
enhancement

#### Reference issue Closes gh-18166. #### What does this implement/fix? Most of the existing formulas work readily for $\kappa = 0$. The C function `von_mises_cdf_series` is updated to avoid division-by-zero...

scipy.stats
enhancement
Cython

[Python-3.11-PyQt6-macos-latest](https://github.com/fancidev/qtinter/actions/runs/3812533668/jobs/6485793333#step:9:169) ``` Run coverage run -m unittest discover -s tests -v coverage run -m unittest discover -s tests -v shell: /bin/bash -e {0} env: pythonLocation: /Users/runner/hostedtoolcache/Python/3.11.1/x64 PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.11.1/x64/lib/pkgconfig Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.1/x64...

#### Reference issue Toward gh-20240. #### What does this implement/fix? Improves the accuracy and/or clarity of the doc of the `circmean`, `circvar`, and `circstd` functions.

scipy.stats
Documentation