Re: [Django] #9146: handlers/base.py relies on cpython-specific behavior

2009-04-28 Thread Django
#9146: handlers/base.py relies on cpython-specific behavior
-+--
  Reporter:  fijal   | Owner:  jacobkm 
Status:  closed  | Milestone:  1.1 
 Component:  Core framework  |   Version:  1.0 
Resolution:  invalid |  Keywords:  pypy obscure
 Stage:  Accepted| Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Changes (by dc):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 > I think it should print NameError? inside print.

 No, it shouldn't. This is officially documented in the Python Language
 Reference: http://docs.python.org/reference/compound_stmts.html#try:
 "The exception information is not available to the program during
 execution of the finally clause."

 > The same logic is in handlers/base.py

 Could not find similar logic in that file. Please reopen if you can
 provide more information

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9146: handlers/base.py relies on cpython-specific behavior

2009-04-11 Thread Django
#9146: handlers/base.py relies on cpython-specific behavior
-+--
  Reporter:  fijal   | Owner:  jacobkm 
Status:  new | Milestone:  1.1 
 Component:  Core framework  |   Version:  1.0 
Resolution:  |  Keywords:  pypy obscure
 Stage:  Accepted| Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Comment (by mtredinnick):

 I had a rummage through all the "finally" handlers in the request
 processing code last week and I couldn't find anything that called
 `exc_info()`. Thought I'd noted that here, but apparently I was distracted
 by a seagull before I got around to it. In any case, I'm in the same
 position as Jacob: need more info.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9146: handlers/base.py relies on cpython-specific behavior

2009-04-10 Thread Django
#9146: handlers/base.py relies on cpython-specific behavior
-+--
  Reporter:  fijal   | Owner:  jacobkm 
Status:  new | Milestone:  1.1 
 Component:  Core framework  |   Version:  1.0 
Resolution:  |  Keywords:  pypy obscure
 Stage:  Accepted| Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Comment (by jacob):

 There really isn't enough information here for me to figure out what to
 change. There's some pretty deeply nested exception handling there in the
 base handler, and I don't know which one's wrong, or what the wrong
 behavior looks like, or how to trigger it. Without more info -- and
 preferably a patch -- I don't know that I can intuit enough about this
 problem to fix it.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9146: handlers/base.py relies on cpython-specific behavior

2009-04-01 Thread Django
#9146: handlers/base.py relies on cpython-specific behavior
-+--
  Reporter:  fijal   | Owner:  jacobkm 
Status:  new | Milestone:  1.1 
 Component:  Core framework  |   Version:  1.0 
Resolution:  |  Keywords:  pypy obscure
 Stage:  Accepted| Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Changes (by Alex):

  * component:  Uncategorized => Core framework

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9146: handlers/base.py relies on cpython-specific behavior

2009-02-25 Thread Django
#9146: handlers/base.py relies on cpython-specific behavior
+---
  Reporter:  fijal  | Owner:  jacobkm 
Status:  new| Milestone:  1.1 
 Component:  Uncategorized  |   Version:  1.0 
Resolution: |  Keywords:  pypy obscure
 Stage:  Accepted   | Has_patch:  0   
Needs_docs:  0  |   Needs_tests:  0   
Needs_better_patch:  0  |  
+---
Changes (by jacob):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * summary:  relying on cpython's bug => handlers/base.py relies on
  cpython-specific behavior
  * milestone:  => 1.1
  * needs_docs:  => 0
  * stage:  Unreviewed => Accepted

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---