Comments (3)
Right, so I see what is going on, this looks like a PyO3 upstream bug. The cause is that the datetime
standard library module is replaced by your empty datetime
module, but PyO3 is handling this very badly...
Let's see if we can get this fixed 👍
from pydantic-core.
Thanks, what about the contents of datetime.py
? What are the exact steps I should take to observe this crash?
from pydantic-core.
Thanks, what about the contents of
datetime.py
? What are the exact steps I should take to observe this crash?
That's it...
datetime.py
is empty. Even if it is a folder with a __init__.py
file (which is considered a module) it crash...
You can observe some logs by enable the faulthandler
but that's all you need to crash it.
from pydantic-core.
Related Issues (20)
- [Heads up] test_invalid_regex fails with Python 3.13.0a3 (re.Error renamed to PatternError) HOT 3
- Consider setting a fixed minimum Rust version HOT 18
- unable to build pydantic-core on openbsd HOT 1
- SPSS 29 Statistics cannot import module HOT 2
- Build failure of pydantic-core 2.14.6 with Rust 1.68.2 and Python 3.11 HOT 2
- No Module pydantic_core._pydantic_core (armv7l, built from source) HOT 4
- Outdated emscripten version, incompatible with PyScript HOT 1
- Worst case validation performance scales with the number of pydantic objects in memory HOT 4
- Unable to build Pydantic-Core 2.16.3 on Alpine 3.19 HOT 3
- Datetime underflow causes validation to fail HOT 1
- Different behavior for `extra_behavior` and `config.extra_fields_behavior`
- Add support for simple ser schema with `any` (`lambda x: x` replacement)
- Strict bug :( with config vs runtime flag
- False-positive `SchemaError` for keyword-only args: Non-default argument follows default argument
- Optimistically close string values in from_json if allow_partial is set to true HOT 3
- 2.18.0: pep517 based build fails HOT 12
- `serialization` logic not regognized in `json` and `python` schemas at lower levels
- Make `validate_json` accept `memoryview`. HOT 1
- [BUG] Serializing datetime.time loses timezone data when datetime.datetime is reqired for utc offset because of DST
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydantic-core.