Hello,
New API:
* selectrow
* doubleclickrowindex
* comboselectindex
* multiselect
* multiremove
Bug fixes:
* Select child row based on tree item, rather than tree
* Fix callback to be registered just once
* Convert all strings to utf-8
* Change port number to listen from command line
Python
===
PyPy 2.2 - Incrementalism
===
We're pleased to announce PyPy 2.2, which targets version 2.7.3 of the Python
language. This release main highlight is the introduction of the incremental
garbage collector, sponsored by the
Pies is a Python2 3 Compatibility layer with the philosophy that all code
should be Python3 code. Starting from this viewpoint means that when running on
Python3 pies adds virtually no overhead.
Instead of providing a bunch of custom methods (leading to Python code that
looks out of place on
[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Treffen
(With apologies if you have already seen this on another email list or
newsgroup.)
The UK's first-ever Django conference will take place on the 7th-9th
February 2014 in Cardiff, Wales.
http://djangoweekend.org
The programme for the event:
Friday: tutorials and demonstrations (also open
On Thu, 14 Nov 2013 09:26:18 -0800, Rick Johnson wrote:
On Wednesday, November 13, 2013 11:50:40 PM UTC-6, Steven D'Aprano
wrote:
[...]
of course, but that in general *its too damn hard* for human
programmers to write good, reliable, maintainable, correct (i.e.
bug-free) code using
On Thu, 14 Nov 2013 20:56:34 +, Rotwang wrote:
[...]
How about this?
# module A.py
import inspect
def spam():
return inspect.stack()[1][0].f_globals
Bump. Did this do what you wanted, or not?
Sort of. If anything, it convinced me that I don't, in fact, want what I
thought I
(With apologies if you have already seen this on another email list or
newsgroup.)
The UK's first-ever Django conference will take place on the 7th-9th
February 2014 in Cardiff, Wales.
http://djangoweekend.org
The programme for the event:
Friday: tutorials and demonstrations (also open
Hi all,
Please suggest how I can understand someone else's program where
- documentation is sparse
- in function A, there will be calls to function B, C, D and in those
functions will be calls to functions R,S,T and so on so forth... making it
difficult to trace what happens to a
C. Ng ngc...@gmail.com writes:
Please suggest how I can understand someone else's program
Welcome to this forum!
I sympathise with this query. Much of the craft of programming is in
understanding the code written by other programmers, and learning from
that experience how to improve the
I'm trying to understand what's going on with this simple program
if __name__=='__main__':
print(repr=%s % repr(u'\xc1'))
print(%%r=%r % u'\xc1')
On my windows XP box this fails miserably if run directly at a terminal
C:\tmp \Python33\python.exe bang.py
Traceback (most recent
On 14/11/2013 17:36, Gordon Sande wrote:
Indeed! Under NAGWare Fortran it runs to completion with C=all but pulls an
undefined reference when C=undefined is added.
Lots of obsolete features and other warnings but no compiler error
messages.
The obvious lessons are that 1. Fortran has very
On Friday, November 15, 2013 6:28:15 AM UTC-5, Robin Becker wrote:
I'm trying to understand what's going on with this simple program
if __name__=='__main__':
print(repr=%s % repr(u'\xc1'))
print(%%r=%r % u'\xc1')
On my windows XP box this fails miserably if run directly at a
On 15/11/2013 11:38, Ned Batchelder wrote:
..
In Python3, repr() will return a Unicode string, and will preserve existing
Unicode characters in its arguments. This has been controversial. To get the
Python 2 behavior of a pure-ascii representation, there is the new builtin
ascii(),
I have to setup the DNS server. For this I have to edit the configuration
files.
For this I have to search if the lines(block of text) already exist in the file
and if not, I have to add them to the file.
So, I want to know what is the best way to accomplish this.
--
On Sat, Nov 16, 2013 at 12:05 AM, Himanshu Garg hgarg.in...@gmail.com wrote:
I have to setup the DNS server. For this I have to edit the configuration
files.
For this I have to search if the lines(block of text) already exist in the
file and if not, I have to add them to the file.
So, I
On Fri, Nov 15, 2013 at 6:19 AM, Ben Finney ben+pyt...@benfinney.id.au wrote:
C. Ng ngc...@gmail.com writes:
Please suggest how I can understand someone else's program
Welcome to this forum!
I sympathise with this query. Much of the craft of programming is in
understanding the code written
- Original Message -
Hi all,
Please suggest how I can understand someone else's program where
- documentation is sparse
- in function A, there will be calls to function B, C, D and in
those functions will be calls to functions R,S,T and so on so
forth... making it difficult
On Nov 15, 2013, at 6:05 AM, C. Ng ngc...@gmail.com wrote:
Hi all,
Please suggest how I can understand someone else's program where
- documentation is sparse
- in function A, there will be calls to function B, C, D and in those
functions will be calls to functions R,S,T and so on
E.D.G. edgrs...@ix.netcom.com wrote in message
news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com...
The responses regarding that Etgtab program were encouraging. I was
not sure if anyone would even recognize the code as the program was written
quite a while ago.
The main
On Friday, November 15, 2013 7:16:52 AM UTC-5, Robin Becker wrote:
On 15/11/2013 11:38, Ned Batchelder wrote:
..
In Python3, repr() will return a Unicode string, and will preserve existing
Unicode characters in its arguments. This has been controversial. To get
the Python 2
On Sat, Nov 16, 2013 at 12:49 AM, Jean-Michel Pichavant
jeanmic...@sequans.com wrote:
If the documentation is sparse, writing the doc yourself is one way to dive
into someone else's code. To begin with, you can stick to the function
purpose, and for the WTF functions try to document the
On 15/11/2013 06:44, Steven D'Aprano wrote:
On Thu, 14 Nov 2013 17:10:02 +, Mark Lawrence wrote:
On 14/11/2013 03:56, renato.barbosa.pim.pere...@gmail.com wrote:
I apologize again for my bad english and any inconvenience that I have
generated.
I do wish that people would stop
In article b6db8982-feac-4036-8ec4-2dc720d41...@googlegroups.com,
Ned Batchelder n...@nedbatchelder.com wrote:
In Python3, repr() will return a Unicode string, and will preserve existing
Unicode characters in its arguments. This has been controversial. To get
the Python 2 behavior of a
On 15/11/2013 13:54, Ned Batchelder wrote:
.
No, but I've found that significant programs that run on both 2 and 3 need to
have some shims to make the code work anyway. You could do this:
try:
repr = ascii
except NameError:
pass
yes I tried that, but
15.11.13 15:54, Ned Batchelder написав(ла):
No, but I've found that significant programs that run on both 2 and 3 need to
have some shims to make the code work anyway. You could do this:
try:
repr = ascii
except NameError:
pass
and then use repr throughout.
Or
..
I'm still stuck on Python 2, and while I can understand the controversy (It breaks
my Python 2 code!), this seems like the right thing to have done. In Python 2,
unicode is an add-on. One of the big design drivers in Python 3 was to make unicode the
standard.
The idea behind
Some of us have been doing this long enough to remember when just plain
text meant only a single case of the alphabet (and a subset of ascii
punctuation). On an ASR-33, your C program would print like:
MAIN() \(
PRINTF(HELLO, ASCII WORLD);
\)
because ASR-33's didn't have curly
On 15/11/2013 14:40, Serhiy Storchaka wrote:
..
and then use repr throughout.
Or rather
try:
ascii
except NameError:
ascii = repr
and then use ascii throughout.
apparently you can import ascii from future_builtins and the print() function is
available
On 2013-11-14, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 14/11/2013 03:56, renato.barbosa.pim.pere...@gmail.com wrote:
I apologize again for my bad english and any inconvenience that I have
generated.
I do wish that people would stop apologising for poor English, it's an
extremely
...
became popular.
Really? you cried and laughed over 7 vs. 8 bits? That's lovely (?).
;). That eighth bit sure was less confusing than codepoint
translations
no we had 6 bits in 60 bit words as I recall; extracting the nth character
involved division by 6; smart people did
On 2013-11-15, Paul Rudin paul.nos...@rudin.co.uk wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
A few minor errors is one thing, but when you see people whose posts are
full of error after error and an apparent inability to get English syntax
right, you have to wonder
On Fri, Nov 15, 2013 at 10:03 AM, Robin Becker ro...@reportlab.com wrote:
...
became popular.
Really? you cried and laughed over 7 vs. 8 bits? That's lovely (?).
;). That eighth bit sure was less confusing than codepoint
translations
no we had 6 bits in 60 bit words as I
On Friday, November 15, 2013 9:43:17 AM UTC-5, Robin Becker wrote:
Things went wrong when utf8 was not adopted as the standard encoding thus
requiring two string types, it would have been easier to have a len function
to
count bytes as before and a glyphlen to count glyphs. Now as I
On Sat, Nov 16, 2013 at 1:43 AM, Robin Becker ro...@reportlab.com wrote:
..
I'm still stuck on Python 2, and while I can understand the controversy
(It breaks my Python 2 code!), this seems like the right thing to have
done. In Python 2, unicode is an add-on. One of the big design
On Sat, Nov 16, 2013 at 2:02 AM, Grant Edwards invalid@invalid.invalid wrote:
And yes, people can _easily_ tell the difference between errors caused
by being lazy/sloppy and errors caused by writing in a second
language.
Yes, and even among people for whom English is the first language,
idioms
On 15/11/2013 15:07, Joel Goldstick wrote:
Cool, someone here is older than me! I came in with the 8080, and I
remember split octal, but sixes are something I missed out on.
The pdp 10/15 had 18 bit words and could be organized as 3*6 or 2*9, pdp 8s had
12 bits I think, then
On Nov 15, 2013, at 10:18 AM, Robin Becker wrote:
The pdp 10/15 had 18 bit words and could be organized as 3*6 or 2*9
I don't know about the 15, but the 10 had 36 bit words (18-bit halfwords). One
common character packing was 5 7-bit characters per 36 bit word (with the sign
bit left over).
.
Dealing with bytes and Unicode is complicated, and the 2-3 transition is not
easy, but let's please not spread the misunderstanding that somehow the Flexible
String Representation is at fault. However you store Unicode code points, they
are different than bytes, and it is complex
On Sat, Nov 16, 2013 at 2:26 AM, Tim Daneliuk tun...@tundraware.com wrote:
On 11/15/2013 02:19 AM, Steven D'Aprano wrote:
Nobody sets out to*design* a tangled mess. What normally happens is that
a tangled mess is the result of*lack of design*.
This has been an interesting thread - to me
On 11/15/2013 02:19 AM, Steven D'Aprano wrote:
Nobody sets out to*design* a tangled mess. What normally happens is that
a tangled mess is the result of*lack of design*.
This has been an interesting thread - to me anyway - but this bit
above caught my eye. People write programs for lots of
Op 15-11-13 16:39, Robin Becker schreef:
.
Dealing with bytes and Unicode is complicated, and the 2-3 transition
is not easy, but let's please not spread the misunderstanding that
somehow the Flexible String Representation is at fault. However you
store Unicode code points, they are
On Sat, 16 Nov 2013 02:12:16 +1100, Chris Angelico wrote:
On Sat, Nov 16, 2013 at 2:02 AM, Grant Edwards invalid@invalid.invalid
wrote:
And yes, people can _easily_ tell the difference between errors caused
by being lazy/sloppy and errors caused by writing in a second language.
Yes, and
On Sunday, 20 October 2013 10:56:46 UTC-7, Philip Herron wrote:
Hey,
I've been working on GCCPY since roughly november 2009 at least in its
concept. It was announced as a Gsoc 2010 project and also a Gsoc 2011
project. I was mentored by Ian Taylor who has been an extremely big
On Sat, Nov 16, 2013 at 2:39 AM, Robin Becker ro...@reportlab.com wrote:
Dealing with bytes and Unicode is complicated, and the 2-3 transition is
not easy, but let's please not spread the misunderstanding that somehow the
Flexible String Representation is at fault. However you store Unicode
On Nov 15, 2013, at 10:18 AM, Robin Becker ro...@reportlab.com wrote:
On 15/11/2013 15:07, Joel Goldstick wrote:
Cool, someone here is older than me! I came in with the 8080, and I
remember split octal, but sixes are something I missed out on.
The pdp 10/15 had 18 bit
On Friday 15 November 2013 11:28:19 Joel Goldstick did opine:
On Fri, Nov 15, 2013 at 10:03 AM, Robin Becker ro...@reportlab.com
wrote:
...
became popular.
Really? you cried and laughed over 7 vs. 8 bits? That's lovely (?).
;). That eighth bit sure was less confusing
On 2013-11-15, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 14 Nov 2013 20:03:44 +, Alister wrote:
As a native of England I have to agree it is far to arrogant
to expect everyone else to be able to speak good English when
I can barley order a beer in any other
:
On Fri, Nov 15, 2013 at 10:32:54AM -0500, Roy Smith wrote:
Anybody remember RAD-50? It let you represent a 6-character filename
(plus a 3-character extension) in a 16 bit word. RT-11 used it, not
sure if it showed up anywhere else.
Presumably 16 is a typo, but I just had a moderate amount
On Sat, Nov 16, 2013 at 4:06 AM, Zero Piraeus z...@etiol.net wrote:
:
On Fri, Nov 15, 2013 at 10:32:54AM -0500, Roy Smith wrote:
Anybody remember RAD-50? It let you represent a 6-character filename
(plus a 3-character extension) in a 16 bit word. RT-11 used it, not
sure if it showed up
On Fri, 15 Nov 2013 14:43:17 +, Robin Becker wrote:
Things went wrong when utf8 was not adopted as the standard encoding
thus requiring two string types, it would have been easier to have a len
function to count bytes as before and a glyphlen to count glyphs. Now as
I understand it we
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Nov 16, 2013 at 4:10 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
No, UTF-8 is okay for writing to files, but it's not suitable for text
strings.
Correction: It's _great_ for writing to files (and other fundamentally
byte-oriented streams, like network connections).
15.11.13 17:32, Roy Smith написав(ла):
Anybody remember RAD-50? It let you represent a 6-character filename
(plus a 3-character extension) in a 16 bit word. RT-11 used it, not
sure if it showed up anywhere else.
In three 16-bit words.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 15 Nov 2013 03:05:04 -0800, C. Ng wrote:
Hi all,
Please suggest how I can understand someone else's program where -
documentation is sparse - in function A, there will be calls to function
B, C, D and in those functions will be calls to functions R,S,T
and so on so forth...
We don't say len({42: None}) to discover
that the dict requires 136 bytes,
why would you use len(heåvy)
to learn that it uses 23 bytes ?
#!/usr/bin/env python
# -*- coding: utf-8 -*-
illustrate the difference in length of python objects
and the size of their system
On 2013-11-15, Chris Angelico ros...@gmail.com wrote:
Other languages _have_ gone for at least some sort of Unicode
support. Unfortunately quite a few have done a half-way job and
use UTF-16 as their internal representation. That means there's
no difference between U+0012, U+0123, and U+1234,
On 15/11/2013 16:36, Gene Heskett wrote:
On Friday 15 November 2013 11:28:19 Joel Goldstick did opine:
On Fri, Nov 15, 2013 at 10:03 AM, Robin Becker ro...@reportlab.com
wrote:
...
became popular.
Really? you cried and laughed over 7 vs. 8 bits? That's lovely (?).
;). That
Of course, the real solution to this issue is to replace sys.stdout on
windows with an object that can handle Unicode directly with the
WriteConsoleW function - the problem there is that it will break code
that expects to be able to use sys.stdout.buffer for binary I/O. I also
wasn't able to get
On Friday 15 November 2013 13:52:40 Mark Lawrence did opine:
On 15/11/2013 16:36, Gene Heskett wrote:
On Friday 15 November 2013 11:28:19 Joel Goldstick did opine:
On Fri, Nov 15, 2013 at 10:03 AM, Robin Becker ro...@reportlab.com
wrote:
...
became popular.
Really?
On Fri, Nov 15, 2013 at 12:30 AM, Gregory Ewing
greg.ew...@canterbury.ac.nz wrote:
Verde Denim wrote:
The message also listed my
account password, which I found odd.
You mean the message contained your actual password,
in plain text? That's not just odd, it's rather worrying
for at least
On Fri, 15 Nov 2013 16:53:58 +, Neil Cerutti wrote:
On 2013-11-15, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
On Thu, 14 Nov 2013 20:03:44 +, Alister wrote:
As a native of England I have to agree it is far to arrogant to expect
everyone else to be able to speak good
On Fri, 15 Nov 2013 20:12:27 +, Alister wrote:
On Fri, 15 Nov 2013 16:53:58 +, Neil Cerutti wrote:
On 2013-11-15, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
On Thu, 14 Nov 2013 20:03:44 +, Alister wrote:
As a native of England I have to agree it is far to
On Friday 2013 November 15 06:58, Grant Edwards wrote:
There are people (not many in this group) who grew up speaking English
and really ought to apologize for their writing -- but they never do.
Can you supply an example of the form such an apology might take?
--
Yonder nor sorghum stenches
On Thu, 2013-11-14 at 10:36 -0800, Ned Deily wrote:
In article 1384442536.3496.532.camel@pdsdesk,
Paul Smith p...@mad-scientist.net wrote:
[...]
By relocatable I mean runnable from any location; i.e., not fixed. I
have a wrapper around the Python executable that can compute the correct
One thing I always liked about Perl was the way you can create a single
installation directory which can be shared between archictures. Say
what you will about the language: the Porters have an enormous amount of
experience and expertise producing portable and flexible interpreter
installations.
In article 5285223d.50...@timgolden.me.uk,
Tim Golden m...@timgolden.me.uk wrote:
http://docs.python.org/devguide/
Thank you and the other responders. I was expecting to find the
information here http://docs.python.org/2/using/unix.html under
Building Python. The developer's guide is a nice
On 15-11-2013 3:29, JL wrote:
One of my favorite tools in C/C++ language is the preprocessor macros.
One example is switching certain print messages for debugging use only
#ifdef DEBUG_ENABLE
DEBUG_PRINT print
#else
DEBUG_PRINT
Is it possible to implement something similar in
On 11/15/2013 09:42 AM, Chris Angelico wrote:
On Sat, Nov 16, 2013 at 2:26 AM, Tim Daneliuk tun...@tundraware.com wrote:
On 11/15/2013 02:19 AM, Steven D'Aprano wrote:
Nobody sets out to*design* a tangled mess. What normally happens is that
a tangled mess is the result of*lack of design*.
Thanks! This is the answer which I am seeking. However, I am not able to get
the following line to work. I am using python 2.7.5
debug_print = print
Can we assign a function into a variable in this manner?
On Friday, November 15, 2013 11:49:52 AM UTC+8, Chris Angelico wrote:
On Fri, Nov 15,
On 11/15/2013 6:28 AM, Robin Becker wrote:
I'm trying to understand what's going on with this simple program
if __name__=='__main__':
print(repr=%s % repr(u'\xc1'))
print(%%r=%r % u'\xc1')
On my windows XP box this fails miserably if run directly at a terminal
C:\tmp
On 11/15/2013 6:36 PM, JL wrote:
Thanks! This is the answer which I am seeking. However, I am not able to get
the following line to work. I am using python 2.7.5
debug_print = print
Start your file with
from __future__ import print_function
and the above should work.
Oh, and please snip
On 15/11/2013 23:36, JL wrote:
Thanks! This is the answer which I am seeking. However, I am not able to get
the following line to work. I am using python 2.7.5
debug_print = print
Can we assign a function into a variable in this manner?
On Friday, November 15, 2013 11:49:52 AM UTC+8, Chris
On 16-11-2013 0:36, JL wrote:
Thanks! This is the answer which I am seeking. However, I am not able to get
the following line to work. I am using python 2.7.5
debug_print = print
Can we assign a function into a variable in this manner?
Yes, functions are just another object. But 'print'
On Fri, 15 Nov 2013 17:47:01 +, Neil Cerutti wrote:
The unicode support I'm learning in Go is, Everything is utf-8, right?
RIGHT?!? It also has the interesting behavior that indexing strings
retrieves bytes, while iterating over them results in a sequence of
runes.
It comes with
On 2013-11-15 13:43, xDog Walker wrote:
On Friday 2013 November 15 06:58, Grant Edwards wrote:
There are people (not many in this group) who grew up speaking
English and really ought to apologize for their writing -- but
they never do.
Can you supply an example of the form such an
Hi! I hope you can help me.
I'm writting a simple piece of code.
I need to keep asking for a number until it has all this specifications:
- It is a number
- It's lenght is 3
- The hundred's digit differs from the one's digit by at least two
My problem is that I enter a valid number like: 123,
On 16/11/2013 02:15, Arturo B wrote:
Hi! I hope you can help me.
I'm writting a simple piece of code.
I need to keep asking for a number until it has all this specifications:
- It is a number
- It's lenght is 3
- The hundred's digit differs from the one's digit by at least two
My problem is
On 11/15/2013 9:15 PM, Arturo B wrote:
Hi! I hope you can help me.
I'm writting a simple piece of code.
I need to keep asking for a number until it has all this specifications:
- It is a number
- It's lenght is 3
- The hundred's digit differs from the one's digit by at least two
My problem is
MRAB your solution is good thank you I will use it.
Terry Eddy I saw my mistake about for example 2 = 2, I think it's easier to
use break in this case thank you!
--
https://mail.python.org/mailman/listinfo/python-list
Can you recommend an open source project (or two) written in Python;
which covers multi project + sub project issue tracking linked across
github repositories?
Why does it need to be written in Python?
--
https://mail.python.org/mailman/listinfo/python-list
On 11/15/2013 08:15 PM, Arturo B wrote: Hi! I hope you can help me.
I'm writting a simple piece of code.
I need to keep asking for a number until it has all this specifications:
- It is a number
- It's lenght is 3
- The hundred's digit differs from the one's digit by at least two
My
Sorry about my previous post, gmane is being really slow. :(
I wouldn't have posted if I knew the question was already answered.
--
- Christopher Welborn cjwelb...@live.com
http://welbornprod.com
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, November 15, 2013 2:19:01 AM UTC-6, Steven D'Aprano wrote:
But with software, coupling is *easy*. By default, code in
a single process is completely coupled. Think of a chunk
of machine code running in a single piece of memory. We
have to build in our own conventions for decoupling
On Sat, Nov 16, 2013 at 3:01 PM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
Let's see... Tkinter's design today is a single module
containing a staggering:
155,626 chars
3,733 lines
Also: I see nothing wrong with a single module having 3-4K lines in
it. Hilfe, the Pike
On Sat, Nov 16, 2013 at 3:01 PM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
Because when i see code that accesses a variable like this:
var = value
I have no way of knowing whether the mutation is happening
to a local variable, a module level variable, or even a true
global level
On Saturday, November 16, 2013 8:22:25 AM UTC+8, Mark Lawrence wrote:
Yes but please don't top post. Actually print is a statement in Python
2 so your code should work if you use
from __future__ import print_function
at the top of your code.
Would you also be kind enough to read and action
On 11/15/2013 07:02 AM, Grant Edwards wrote:
On 2013-11-15, Paul Rudin paul.nos...@rudin.co.uk wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
A few minor errors is one thing, but when you see people whose posts are
full of error after error and an apparent inability to
New submission from Serhiy Storchaka:
The proposed patch makes the distutils package tests use more specific asserts.
This will provide more useful failure report.
--
components: Distutils
files: test_distutils_asserts.patch
keywords: patch
messages: 202922
nosy: eric.araujo,
New submission from Serhiy Storchaka:
The proposed patch makes the sqlite3 package tests use more specific asserts.
This will provide more useful failure report.
--
components: Tests
files: test_sqlite3_asserts.patch
keywords: patch
messages: 202923
nosy: ghaering, serhiy.storchaka
New submission from Serhiy Storchaka:
The proposed patch makes the tkinter package tests use more specific asserts.
This will provide more useful failure report.
--
components: Tests, Tkinter
files: test_tkinter_asserts.patch
keywords: patch
messages: 202924
nosy: serhiy.storchaka
New submission from Serhiy Storchaka:
The proposed patch makes test_descr use more specific asserts. This will
provide more useful failure report.
This is the largest patch in the series.
--
components: Tests
messages: 202925
nosy: serhiy.storchaka
priority: normal
severity: normal
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: +Use specific asserts in distutils tests, Use specific asserts in
sqlite3 tests, Use specific asserts in test_decr, Use specific asserts in
tkinter tests
___
Python tracker
Zachary Ware added the comment:
Here's a patch. It turned out to be much more extensive than I expected, and
the diff turned into a huge huge ugly monster that I hope Rietveld can help to
make sense of, since the majority of the diff is simply changes in indentation
level.
The most major
Berker Peksag added the comment:
This is fixed in 3.3 and 3.4 by changeset
http://hg.python.org/cpython/rev/5e98c4e9c909#l1.89.
I can still reproduce the NameError in 2.7:
http://hg.python.org/cpython/file/2.7/Lib/distutils/command/upload.py#l180
--
nosy: +berker.peksag, jason.coombs
Berker Peksag added the comment:
Oh, I was wrong. This is not a duplicate of issue 12853 (but they are related).
Also, the patch in issue 19226 is looks better to me.
--
nosy: +jason.coombs, labrat
resolution: duplicate -
stage: committed/rejected - patch review
status: closed - open
New submission from Serhiy Storchaka:
The proposed patch makes the array module tests use more specific asserts. This
will provide more useful failure report.
--
components: Tests
files: test_array_asserts.patch
keywords: patch
messages: 202929
nosy: serhiy.storchaka
priority: normal
New submission from Serhiy Storchaka:
The proposed patch makes the datetime module tests use more specific asserts.
This will provide more useful failure report.
--
components: Tests
files: test_datetime_asserts.patch
keywords: patch
messages: 202930
nosy: belopolsky, serhiy.storchaka
New submission from Serhiy Storchaka:
The proposed patch makes the http.cookiejar module tests use more specific
asserts. This will provide more useful failure report.
--
components: Tests
files: test_http_cookiejar_asserts.patch
keywords: patch
messages: 202931
nosy: serhiy.storchaka
New submission from Serhiy Storchaka:
The proposed patch makes the weakref module tests use more specific asserts.
This will provide more useful failure report.
--
components: Tests
files: test_weakref_asserts.patch
keywords: patch
messages: 202932
nosy: fdrake, pitrou,
1 - 100 of 196 matches
Mail list logo