#25657: gevent-monkeypatching with GIS PointField causes intermittent traceback
on
shutdown
--------------------------+--------------------------------------
Reporter: jaddison | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.9b1
Severity: Normal | Resolution:
Keywords: gevent | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------+--------------------------------------
Changes (by claudep):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
All of this is related to garbage collection, that's clear. `WKBWriter`/
`WKBReader` instances have a `__del__` method, so they are not part of the
normal Python garbage collection cycle (read
https://docs.python.org/3/reference/datamodel.html?highlight=__del__#object.__del__).
Looking at the traceback though, it seems that the error is happening in
`gevent` itself, that's why I doubt we'll able to fix this on Django's
side. Also note that these errors are more annoying than harmful.
#20903 also reported this (but without reproducible code).
--
Ticket URL: <https://code.djangoproject.com/ticket/25657#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.3d19a2dc394a4e76cd463d9672f85271%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.