#35187: Django 5.0+ doesn't work with pyc files only
---------------------------------+--------------------------------------
     Reporter:  Marcus Hoffmann  |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Uncategorized    |                  Version:  5.0
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Comment (by Marcus Hoffmann):

 This was very likely be introduced by
 https://github.com/django/django/pull/16831
 I don't exactly understand what this is doing but
 `inspect.getsourcelines(wrapped_func)` will throw in case there's no
 corresponding source file (which we don't in a pyc only distribution). The
 question now is, can this be solved another way?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35187#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d9f0119c3-4e2e3491-90f2-4d48-ad8b-0389fd4697ab-000000%40eu-central-1.amazonses.com.

Reply via email to