Merge branch 'master' into ffi-1
This commit is contained in:
commit
f2ddea9dba
|
@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||
### Fixed
|
||||
- Stop including `Py_TRACE_REFS` config setting automatically if `Py_DEBUG` is set on Python 3.8 and up. [#1334](https://github.com/PyO3/pyo3/pull/1334)
|
||||
- Remove `#[deny(warnings)]` attribute (and instead refuse warnings only in CI). [#1340](https://github.com/PyO3/pyo3/pull/1340)
|
||||
- Fix deprecation warning for missing `__module__` with `#[pyclass]`. [#1343](https://github.com/PyO3/pyo3/pull/1343)
|
||||
|
||||
## [0.13.0] - 2020-12-22
|
||||
### Packaging
|
||||
|
|
|
@ -153,7 +153,7 @@ fn tp_doc<T: PyClass>() -> PyResult<Option<*mut c_void>> {
|
|||
fn get_type_name<T: PyTypeInfo>(module_name: Option<&str>) -> PyResult<*mut c_char> {
|
||||
Ok(match module_name {
|
||||
Some(module_name) => CString::new(format!("{}.{}", module_name, T::NAME))?.into_raw(),
|
||||
None => CString::new(T::NAME)?.into_raw(),
|
||||
None => CString::new(format!("builtins.{}", T::NAME))?.into_raw(),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue