segmentation fault while running test suite and possible bug in documentation.

2016-12-01 Thread Vimarsh Chaturvedi
Hey guys, My first time posting here. I downloaded the Django source code and I was going through the instructions given in "Writing your first patch for Django" . I am working with Python 2. So, I

Re: Admin changelist turns QueryDict into dict

2016-12-01 Thread Jonas von Poser
Thanks, I will! Jonas Am Mittwoch, 30. November 2016 22:31:19 UTC+1 schrieb Adam Johnson: > > I suspect it was simply to make it easier to work with. > > I'd suggest you create a ticket at > https://code.djangoproject.com/newticket and then try making the change > and seeing if Django's test s

Re: segmentation fault while running test suite and possible bug in documentation.

2016-12-01 Thread Josh Smeaton
Regarding the segfault it's likely related to this: https://code.djangoproject.com/ticket/24080 A bug in sqlite. On Thursday, 1 December 2016 20:39:26 UTC+11, Vimarsh Chaturvedi wrote: > > Hey guys, > > My first time posting here. > I downloaded the Django source code and I was going through t

Re: segmentation fault while running test suite and possible bug in documentation.

2016-12-01 Thread Aymeric Augustin
Hey Vimarsh, Since Django contains no C code, a segmentation fault usually indicates a bug in Python. Did you search https://code.djangoproject.com/ for similar issues? This error happened on some versions of a popular OS distribution, although it hasn’t been reported in the last few months.

Re: segmentation fault while running test suite and possible bug in documentation.

2016-12-01 Thread Vimarsh Chaturvedi
Hey Josh, Thanks for the response. Hey Aymeric, Apologies. Won't happen again. Didn't realise what I was typing. Where I'm from "guys" just refers to everyone. Regardless. Apologies. Thanks On Thursday, December 1, 2016 at 3:51:16 PM UTC+5:30, Aymeric Augustin wrote: > > Hey Vimarsh, >

two-phase commit / distributed transaction

2016-12-01 Thread Mateusz Mikołajczyk
Hello, fellow devs. I have been googling intensively in order to see whether somebody already raised such issue, but so far I have been unsuccesful. Therefore, trembling on my legs, I decided to write to the devlist as suggested in the docs. I am trying to extend the atomic decorator / context

Re: two-phase commit / distributed transaction

2016-12-01 Thread Aymeric Augustin
Hello, Currently you cannot do this: from django.db import connection connection.xid() # or any other TPC method Adding implementations of TPC methods in BaseDatabaseWrapper() that simply forward to the underlying connection object is the first step for a database agnostic implementation in D

Re: two-phase commit / distributed transaction

2016-12-01 Thread Shai Berger
On Thursday 01 December 2016 13:52:41 Aymeric Augustin wrote: > > I’m proposing a separate context manager because I’m worried about > increasing again the complexity of transaction.atomic. There will be a > significant amount of duplication between the two implementations, though. > I believe th

Re: two-phase commit / distributed transaction

2016-12-01 Thread Aymeric Augustin
> On 1 Dec 2016, at 13:29, Shai Berger wrote: > > On Thursday 01 December 2016 13:52:41 Aymeric Augustin wrote: >> >> I’m proposing a separate context manager because I’m worried about >> increasing again the complexity of transaction.atomic. There will be a >> significant amount of duplication

Re: two-phase commit / distributed transaction

2016-12-01 Thread Florian Apolloner
On Thursday, December 1, 2016 at 2:04:53 PM UTC+1, Aymeric Augustin wrote: > > The person who will write and test that code has all my sympathy :-) > I'll second that, I have no idea how Aymeric managed to keep his sanity while rewriting the transaction code :D -- You received this message

Unable to run tests with git bisect run

2016-12-01 Thread Vimarsh Chaturvedi
Hey folks, This is the first time I'm trying to contribute to Django. I am working on ticket #27554 . In the comments, there was a link posted to "Bisecting the exact commit that introduced the regression

Re: Unable to run tests with git bisect run

2016-12-01 Thread Tim Graham
Hi, Try to get the tests working in a virtual environment as described in https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/ so you don't need the PYTHONPATH stuff. If you need help, join the #django-dev IRC channel. Thanks for contributing. On Thursday, De

Re: Unable to run tests with git bisect run

2016-12-01 Thread Baptiste Mispelon
Hi, You need to put the `PYTHONPATH=...` thing at the beginning of the line, like so: PYTHONPATH=..:$PYTHONPATH git bisect run ./runtests.py flattened-prefetch Baptiste On 12/01/2016 04:46 PM, Vimarsh Chaturvedi wrote: Hey folks, This is the first time I'm trying to contribute to Djang

[ANNOUNCE] Django bugfix releases issued: 1.10.4, 1.9.12, and 1.8.17

2016-12-01 Thread Tim Graham
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2016/dec/01/bugfix-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop