[issue24462] bytearray.find Buffer Over-read

2015-06-18 Thread DmitryJ
DmitryJ added the comment: From the author's page at http://effbot.org/zone/stringlib.htm Note that the above Python code may access s[n], which would result in an IndexError exception. For the CPython implementation, this is not really a problem, since CPython adds trailing NULL entries to

Re: JSON Object to CSV Question

2015-06-18 Thread Peter Otten
Saran Ahluwalia wrote: Good Evening Everyone: I would like to have this JSON object written out to a CSV file so that the keys are header fields (for each of the columns) and the values are values that are associated with each header field. Is there a best practice for working with this?

[issue24339] iso6937 encoding missing

2015-06-18 Thread John Helour
Changes by John Helour helo...@gmail.com: Removed file: http://bugs.python.org/file39575/iso6937.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24339 ___

ctypes and byte order

2015-06-18 Thread Jean-Michel Pichavant
Hi list, I'm currently writing python code that writes a small binary file to be used by another device which code is written in C. The python code runs on a little endian CPU, and unfortunately, the other device is using a big endian MIPS. My problem is the following: I cannot make an array

Re: Classic OOP in Python

2015-06-18 Thread Marco Buttu
On 17/06/2015 23:33, sohcahto...@gmail.com wrote: I had a Java class where we had to learn TDD, and that's the way TDD was taught to us, and I hated it. We watched a video of this guy explaining TDD with a hat that was red on the front and green on the back. It involved writing a simple

Re: Get off the list

2015-06-18 Thread Marc Lucke
there is no way. You are trapped forever. Resistance is futile. On 17/06/2015 5:09 PM, Deogratius Musiige wrote: Hi, How can i get off this mailing list? Best regards / Med venlig hilsen Deogratius Musiige Software Development Engineer *Sennheiser Communications A/S*

Re: Get off the list

2015-06-18 Thread Ian Kelly
On Thu, Jun 18, 2015 at 1:05 AM, Cecil Westerhof ce...@decebal.nl wrote: On Wednesday 17 Jun 2015 09:09 CEST, Deogratius Musiige wrote: How can i get off this mailing list? Looking at the headers: List-Unsubscribe: https://mail.python.org/mailman/options/python-list,

[issue24421] Race condition compiling Modules/_math.c

2015-06-18 Thread Tal Einat
Tal Einat added the comment: Adding Thomas Wouters to the nosy list, since he's listed on the Experts Index under autoconf/makefiles as an interest area. Hopefully he can help move this forward. -- nosy: +twouters ___ Python tracker

Re: ctypes and byte order

2015-06-18 Thread Peter Otten
Jean-Michel Pichavant wrote: I'm currently writing python code that writes a small binary file to be used by another device which code is written in C. The python code runs on a little endian CPU, and unfortunately, the other device is using a big endian MIPS. My problem is the following:

[issue23020] New matmul operator crashes modules compiled with CPython3.4

2015-06-18 Thread Tal Einat
Changes by Tal Einat talei...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23020 ___

Re: Classic OOP in Python

2015-06-18 Thread Mark Lawrence
On 17/06/2015 23:33, Laura Creighton wrote: In a message of Wed, 17 Jun 2015 14:14:34 -0700, Ned Batchelder writes: TDD is supposed to make you brave, not cowards, and it's Ned's most excellent tool http://nedbatchelder.com/code/coverage/ that I recommend to TDD dogmatic cowards. Even if you

[issue24463] Python 3.4 bugs

2015-06-18 Thread vasya yugov
New submission from vasya yugov: This code: w = [[0] * 2] * 2 w[1][1] = 1 print(w) prints [[0, 1], [0, 1]] Is it a bug? -- components: Macintosh messages: 245460 nosy: ned.deily, ronaldoussoren, vasya yugov priority: normal severity: normal status: open title: Python 3.4 bugs type:

<    1   2