Re: [Django] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2012-07-08 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
-+-
   Reporter:  emulbreh   |Owner:  nobody
   Type: |   Status:  closed
  Component:  Database layer |  Version:  master
  (models, ORM)  |   Resolution:  fixed
   Severity: | Triage Stage:
   Keywords: |  Unreviewed
  Has patch:  1  |  Needs documentation:  0
Needs tests:  0  |  Patch needs improvement:  1
-+-

Comment (by Claude Paroz ):

 In [146aff3bac974e56ec8cb597c2720d1cd4f77b26]:
 {{{
 #!CommitTicketReference repository=""
 revision="146aff3bac974e56ec8cb597c2720d1cd4f77b26"
 Fixed #18590 - Reverted Python 2.4 workaround for Model pickling

 Revert of 08d521efa0. Refs #10547, #12121.
 Thanks Michal Petrucha for the report.
 }}}

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-12-10 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  fixed |  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by anonymous):

 * cc: im...@signaturegenomics.com (added)

-- 
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-upda...@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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-12-06 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  fixed |  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by russellm):

 @rfugger - are you reporting that this is *still* a problem? This should
 have been fixed by r11691; if it still exists for Python 2.4.3, then we
 have more work to do; a test case that triggers the infinite recursion
 would be most helpful.

-- 
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-upda...@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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-12-06 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  fixed |  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by rfugger):

 I can confirm this bug on Red Hat under python 2.4.3.  Where I see it is
 attempting to pickle an object for caching (using locmem cache) --
 infinite recursion on Model.__reduce__.

 Using python 2.5 works fine.

-- 
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-upda...@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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-11-01 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  fixed |  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by anonymous):

 Replying to [comment:13 emulbreh]:
 > Replying to [comment:10 russellm]:
 > > @emulbreh: I've just attached a patch which passes for me - however, I
 don't have a copy of Python 2.4 (or a broken version of Python 2.5)
 available. Can you validate that this patch works for you?
 >
 > It works, thanks.

 Which means: with my broken Python 2.5, too.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-11-01 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  fixed |  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by emulbreh):

 Replying to [comment:10 russellm]:
 > @emulbreh: I've just attached a patch which passes for me - however, I
 don't have a copy of Python 2.4 (or a broken version of Python 2.5)
 available. Can you validate that this patch works for you?

 It works, thanks.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by kmtracey):

 Replying to [comment:10 russellm]:
 I've got Python2.4 on both Ubuntu and Windows.  Was able to see the
 infinite recursion failure once the early level of Python was identified
 as the cause, just confirmed the queries test passes with the patch.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by russellm):

 @emulbreh: I've just attached a patch which passes for me - however, I
 don't have a copy of Python 2.4 (or a broken version of Python 2.5)
 available. Can you validate that this patch works for you?

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by emulbreh):

 Note: The patch is bad. `Model.__reduce__()` cannot be removed. It's
 required for dynamically created models.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by emulbreh):

  * needs_better_patch:  0 => 1
  * has_patch:  0 => 1

Comment:

 Just replacing `super(Model, self).__reduce__()` broke the `cache` tests.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by emulbreh):

 Here's the requested traceback:
 {{{
 >>> Q(ct=ct) | Q(foo=True)
 Traceback (most recent call last):
   File "", line 1, in 
   File
 "/Users/emulbreh/Projekte/django/trunk/django/db/models/query_utils.py",
 line 159, in __or__
 return self._combine(other, self.OR)
   File
 "/Users/emulbreh/Projekte/django/trunk/django/db/models/query_utils.py",
 line 154, in _combine
 obj = deepcopy(self)
   File
 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/copy.py",
 line 173, in deepcopy
 y = copier(memo)
   File "/Users/emulbreh/Projekte/django/trunk/django/utils/tree.py", line
 61, in __deepcopy__
 obj.children = deepcopy(self.children, memodict)
   File
 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/copy.py",
 line 162, in deepcopy
 y = copier(x, memo)
   File
 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/copy.py",
 line 227, in _deepcopy_list
 y.append(deepcopy(a, memo))
   File
 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/copy.py",
 line 162, in deepcopy
 y = copier(x, memo)
   File
 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/copy.py",
 line 234, in _deepcopy_tuple
 y.append(deepcopy(a, memo))
   File
 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/copy.py",
 line 181, in deepcopy
 rv = reductor(2)
   File "/Users/emulbreh/Projekte/django/trunk/django/db/models/base.py",
 line 356, in __reduce__
 return super(Model, self).__reduce__()
 ...
   File "/Users/emulbreh/Projekte/django/trunk/django/db/models/base.py",
 line 356, in __reduce__
 return super(Model, self).__reduce__()
 RuntimeError: maximum recursion depth exceeded
 }}}

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by emulbreh):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 Searching for a python bug, I stumbled over a blog post from Malcolm:
 http://www.pointy-stick.com/blog/2009/03/23/yak-shaving-advanced-players/.
 Let me quote:

 ''"Next morning, somebody reports an infinite recursion problem. That was
 very odd, since the code I wrote looked pretty correct in that area. The
 key seemed to be that they were using Python 2.4. Even creating a diff
 between the pickle module for Python 2.4 and the one for 2.5 was
 unenlightening, so the problem was deeper than that.''

 ''I'm not 100% sure if this is a bug in Python versions prior to 2.5, or
 just an undocumented side-effect. The end result is that if you write a
 `__reduce__()` method, you can't do the natural thing and dispatch to the
 same method on the superclass if you don't need to do anything special. At
 least, not in Python 2.3 or 2.4. Django supports those versions, so I had
 to work around.''

 ''Not a big problem, once I diagnosed it (turns out the existing test
 suite caught the problem when I ran it under Python 2.4), and fixed easily
 enough."''

 The ticket was #10547, the commit r10099. Apparently, my Apple "python
 2.5" has some 2.4 bugs in 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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  worksforme|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by kmtracey):

 Perhaps it might shed some light if you did not trim all of the traceback,
 that might give a clue what is causing the recursion.  FWIW I cannot
 recreate on Ubuntu nor Windows, with a somewhat lower level sqlite3:

 {{{
 k...@lbox:~/django/trunk$ svn up
 At revision 11690.
 k...@lbox:~/django/trunk$ svn diff
 k...@lbox:~/django/trunk$ sqlite3 --version
 3.5.9
 k...@lbox:~/django/trunk$ export PYTHONPATH=`pwd`
 k...@lbox:~/django/trunk$ export DJANGO_SETTINGS_MODULE=settings
 k...@lbox:~/django/trunk$ cat settings.py
 DATABASE_ENGINE = 'sqlite3'
 DATABASE_NAME = 'test.db'

 INSTALLED_APPS = (
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 )

 k...@lbox:~/django/trunk$ python django/bin/django-admin.py syncdb
 --noinput
 k...@lbox:~/django/trunk$ python django/bin/django-admin.py shell
 Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49)
 [GCC 4.3.2] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 (InteractiveConsole)
 >>> from django.contrib.contenttypes.models import ContentType
 >>> ct = ContentType.objects.all()[0]
 >>> ct
 
 >>> from django.db.models import Q
 >>> Q(ct=ct)
 
 >>> Q(ct=ct) | Q(foo=True)
 
 >>> quit()
 k...@lbox:~/django/trunk$ python tests/runtests.py queries
 --
 Ran 6 tests in 1.185s

 OK
 k...@lbox:~/django/trunk$

 }}}

 I don't have any Macs to try.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  worksforme|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by Alex):

 The test passes for me under sqlite3, python2.5.  My SQLite is version {{{
 3.6.16 }}} however.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  worksforme|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by emulbreh):

 {{{
 $ sqlite3 --version
 3.6.5
 $ svn up
 At revision 11690.
 $ export PYTHONPATH=`pwd`
 $ export DJANGO_SETTINGS_MODULE=settings
 $ cat settings.py
 DEBUG = True
 DATABASE_ENGINE = 'sqlite3'
 DATABASE_NAME = 'test.db'

 INSTALLED_APPS = (
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 )
 $ python django/bin/django-admin.py syncdb --noinput
 $ python django/bin/django-admin.py shell
 Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
 [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 (InteractiveConsole)
 >>> from django.contrib.contenttypes.models import ContentType
 >>> ct = ContentType.objects.all()[0]
 >>> ct
 
 >>> from django.db.models import Q
 >>> Q(ct=ct)
 
 >>> Q(ct=ct) | Q(foo=True)
 Traceback (most recent call last):
 ...
 RuntimeError: maximum recursion depth exceeded
 >>>
 $ python tests/runtests.py queries
 ==
 FAIL: Doctest: regressiontests.queries.models.__test__.API_TESTS
 ...
 $
 }}}

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  worksforme|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by russellm):

 To clarify - I don't see this behaviour under MacOS, using Python 2.5,
 under SQLite, Postgres and MySQL. I'm willing to accept that you're seeing
 this problem, but we're going to need a lot more detail that you have
 provided so far.

-- 
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] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
---+
  Reporter:  emulbreh  | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  SVN   
Resolution:  worksforme|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by russellm):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => worksforme
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I ran the full test suite before I committed, and I just re-ran the
 queries test specifically - I don't see this failure.

-- 
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
-~--~~~~--~~--~--~---



[Django] #12121: deepcopy(model_instance) causes infinite recursion since r11681

2009-10-31 Thread Django
#12121: deepcopy(model_instance) causes infinite recursion since r11681
--+-
 Reporter:  emulbreh  |   Owner:  nobody
   Status:  new   |   Milestone:
Component:  Database layer (models, ORM)  | Version:  SVN   
 Keywords:|   Stage:  Unreviewed
Has_patch:  0 |  
--+-
 `deepcopy(mode_instance)` causes infinite recursion in
 `Model.__reduce__()` since r11681.

 {{{
 $ python tests/runtests.py queries
   ...
 RuntimeError: maximum recursion depth exceeded
   ...
 }}}

-- 
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
-~--~~~~--~~--~--~---