On 15/10/2013 02:50, Roy Smith wrote:
In article mailman.1087.1381800936.18130.python-l...@python.org,
Terry Reedy tjre...@udel.edu wrote:
The first versions of Python and unicode were developed and released
about the same time. No one knew that either would be as successful as
they have
Op 15-10-13 01:11, Chris Angelico schreef:
On Tue, Oct 15, 2013 at 6:18 AM, John Nagle na...@animats.com wrote:
Operator + as concatenation for built-in arrays but addition
for NumPy arrays.
... NumPy definitely isn't part of the language. It's not even part of
the standard library, it's
Andriy Kornatskyy wrote:
Managing version control repositories can be a challenge in multi-user
environment especially when simplification of user collaboration is your
goal. There are usually two primary concerns while considering enterprise
deployment for version control repositories:
On Tue, 15 Oct 2013 10:11:53 +1100, Chris Angelico wrote:
On Tue, Oct 15, 2013 at 6:18 AM, John Nagle na...@animats.com wrote:
Old-style classes vs. new-style classes.
By the time I started using Python, new-style classes existed and were
the recommended way to do things, so I never got
On Tue, Oct 15, 2013 at 6:48 PM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
Op 15-10-13 01:11, Chris Angelico schreef:
On Tue, Oct 15, 2013 at 6:18 AM, John Nagle na...@animats.com wrote:
Operator + as concatenation for built-in arrays but addition
for NumPy arrays.
... NumPy
The acute accent (´) is a special apostrophe if the user has no
experience or can't type in the apostrophe (or the grave accent: `).
You don't use Python but you aren't subscribed to this list (so
non-subscribers can post).
Example of special quotes: `xxx´
An example of a post on the python-list
Op 15-10-13 10:57, Chris Angelico schreef:
On Tue, Oct 15, 2013 at 6:48 PM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
Op 15-10-13 01:11, Chris Angelico schreef:
On Tue, Oct 15, 2013 at 6:18 AM, John Nagle na...@animats.com wrote:
Operator + as concatenation for built-in arrays but
On Tue, 15 Oct 2013 19:57:50 +1100, Chris Angelico wrote:
On Tue, Oct 15, 2013 at 6:48 PM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
That doesn't matter. Adding and concating are different operations and
their are types in which both occur rather naturally. So as a designer
of such
On Tuesday, October 15, 2013 2:20:10 PM UTC+5:30, Steven D'Aprano wrote:
If you read the whole python-history blog on blogspot, you'll see that
Python's had it's share of mistakes, design failures and other oops!
moments. I think that it is a testament to GvR's over-all design that the
end
Hello,
I have a 3rd party perl script:
head -n 1 /usr/sbin/ftpasswd
#!/usr/bin/perl
I want to write data to stdin and read from stdout:
proc = Popen( [/usr/bin/perl, /usr/sbin/ftpasswd --hash, --stdin],
stdout=PIPE, stdin=PIPE)
output, input = proc.communicate(pwd)
return output.strip()
/usr/sbin/ftpasswd --hash
You're missing a comma, and python automatically concatenates adjacent
strings.
On Tue, Oct 15, 2013 at 1:13 PM, Florian Lindner mailingli...@xgm.dewrote:
Hello,
I have a 3rd party perl script:
head -n 1 /usr/sbin/ftpasswd
#!/usr/bin/perl
I want to write
Am Dienstag, 15. Oktober 2013, 13:18:17 schrieb Michael Speer:
/usr/sbin/ftpasswd --hash
You're missing a comma, and python automatically concatenates adjacent
strings.
Damn!
Thanks!
On Tue, Oct 15, 2013 at 1:13 PM, Florian Lindner mailingli...@xgm.dewrote:
Hello,
I have a 3rd
On Wed, Oct 16, 2013 at 2:01 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 15 Oct 2013 19:57:50 +1100, Chris Angelico wrote:
Python doesn't happen to implement str-str or str/str, but some
languages do:
Which languages are you talking about?
For the record, if PHP
Le lundi 14 octobre 2013 21:18:59 UTC+2, John Nagle a écrit :
[...]
No, Python went through the usual design screwups. Look at how
painful the slow transition to Unicode was, from just str to
Unicode strings, ASCII strings, byte strings, byte arrays,
16 and 31 bit character
Objects in programming languages (or 'values' if one is more functional
programming oriented) correspond to things in the world.
One of the things you're saying there is that values correspond to
things in the world. But you will not get agreement in computer
science on that anymore than
On 15/10/2013 21:11, wxjmfa...@gmail.com wrote:
Le lundi 14 octobre 2013 21:18:59 UTC+2, John Nagle a écrit :
[...]
No, Python went through the usual design screwups. Look at how
painful the slow transition to Unicode was, from just str to
Unicode strings, ASCII strings, byte
On 2013-10-16 06:09, Chris Angelico wrote:
xyz - abc;
(1) Result: xyz
cba - abc;
(2) Result: cba
abcdabc - abc;
(3) Result: d
Every instance of the subtracted-out string is removed. It's
something like x.remove(y) in many other languages.
Or as one might write x.remove(y) in
On 2013-10-15, Mark Janssen dreamingforw...@gmail.com wrote:
Yeah, well 40 years ago they didn't have parsers.
That seems an odd thing to say. People were assembling and compiling
computer programs long before 1973.
How did they do that without parsers?
--
Grant Edwards
On Tue, 15 Oct 2013 21:26:27 +0100, Mark Janssen
dreamingforw...@gmail.com wrote:
= Rusi, attribution missing from original.
Objects in programming languages (or 'values' if one is more functional
programming oriented) correspond to things in the world.
One of the things you're saying
On 10/14/2013 2:03 PM, Ben Finney wrote:
Renato Barbosa Pim Pereira renato.barbosa.pim.pere...@gmail.com
writes:
I am looking for some software for PID tuning that would take the
result of a step response, and calculates Td, Ti, Kp, any suggestion
or hint of where to start?, thanks.
Is
On 15/10/2013 21:26, Mark Janssen wrote:
Yeah, well 40 years ago they didn't have parsers.
I'm very pleased to see that (presumably) some Americans do have a sense
of humour.
--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.
Mark Lawrence
--
only I'm focusing on the importance of design rather than deifying
the person who designed it.
I'm cool with deification here. I'll happily get on my knees and bow towards
Holland while chanting Guido ... I'm not worthy 5 times a day, if that's
part of the cult.
Want an odd and ranty
Mark Janssen dreamingforw...@gmail.com writes:
Yeah, well 40 years ago they didn't have parsers. The purpose of
having a field of computer science worthy of the name, is to advance
the science not let this riff-raff dominate the practice.
Hah! 40 years ago I wrote a parser generator
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
Objects in programming languages (or 'values' if one is more functional
programming oriented) correspond to things in the world.
One of the things you're saying there is that values correspond to
things in the world. But
On Wednesday, October 16, 2013 3:31:06 AM UTC+5:30, Rhodri James wrote:
On Tue, 15 Oct 2013 21:26:27 +0100, Mark Janssen
wrote:
= Rusi, attribution missing from original.
Yes. It would help to keep your quotes bound (firstclassly?) to their
respective quoters -- Mark Janssen also and
On 10/10/2013 6:27 PM, Steven D'Aprano wrote:
For what it's worth, there is no three-dimensional extension to complex
numbers, but there is a four-dimensional one, the quaternions or
hypercomplex numbers. They look like 1 + 2i + 3j + 4k, where i, j and k
are all distinct but i**2 == j**2 ==
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - georg.brandl
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19079
___
Serhiy Storchaka added the comment:
3.4 beta 1 will be soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5411
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Giampaolo, Raymond? What are your opinions?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13451
___
___
Serhiy Storchaka added the comment:
OK, now I have a place in the non-test email code where using this would lead
to easier-to-read code.
Now you have not this place. ;)
--
___
Python tracker rep...@bugs.python.org
Vajrasky Kok added the comment:
Stopped the leaking after running the test by adding self.addCleanup.
--
Added file: http://bugs.python.org/file32130/add_x_mode_to_lzma_v3.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Found the cause of the ssl test failure -- the location of the ssl
test key and cert are different. Here's a new patch with a quick
fix (#4), but I think the correct solution is to either have the
certificates inline in the source and write them to a temp
STINNER Victor added the comment:
Tim
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366750(v=vs.85).aspx
Yes, this one.
Tim BTW, everything I've read (including the MSDN page I linked to)
says that the LFH is enabled _by default_ starting in Windows Vista
(which I happen to be
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19262
___
___
Python-bugs-list
Antoine Pitrou added the comment:
It should be enabled explicitly.
Victor, please read your own link before posting:
The information in this topic applies to Windows Server 2003 and
Windows XP. Starting with Windows Vista, the system uses the
low-fragmentation heap (LFH) as needed to service
STINNER Victor added the comment:
Victor, please read your own link before posting:
Oh. I missed this part, that's why I didn't understand Tim's remark.
So the issue comes the Windows heap allocator. I don't see any obvious
improvment that Python can do to improve the memory usage. I close
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: freeing then reallocating lots of memory fails under Windows - high
fragmentation of the memory heap on Windows
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: fixed - rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19246
___
___
Vajrasky Kok added the comment:
Here is the patch to add the validation in simplefilter with the test.
--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file32131/add_assert_in_simplefilter.patch
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17221
___
___
Roundup Robot added the comment:
New changeset 484ce82b7873 by Serhiy Storchaka in branch 'default':
Issue #17221: Merge 3.4.0 Alpha 1 entries before and after 3.3.1 release
candidate 1.
http://hg.python.org/cpython/rev/484ce82b7873
--
___
Python
Antoine Pitrou added the comment:
Serhiy's patch needs a versionchanged or versionadded tag in the Docs.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5411
___
Antoine Pitrou added the comment:
Serhiy, perhaps it would be useful to see if such optimizations can apply to
Tulip's (or asyncio's) event loop, since it will probably be the new standard
in 3.4.
--
nosy: +pitrou
___
Python tracker
Tyler B added the comment:
I wanted to make an edit so here's my revised comment:
Looked at the code and found differences between 3.4 and 2.7. 2.7 has 4
exceptions that can be raised while 3.4 has 3 exceptions.
I propose removing the list of parameters from the documenation to keep
things
Antoine Pitrou added the comment:
I think the better solution would be to fix the test inheritance hierarchy:
only concrete test classes should inherit from unittest.TestCase.
Then the code can be simplified by simply calling unittest.main(__name__).
--
nosy: +pitrou
stage: - patch
Antoine Pitrou added the comment:
This looks like a good idea.
Of course, since we now have the python-gdb pluging which provides much more
powerful diagnostics on modern gdbs, the usefulness of gdbinit is a bit reduced.
--
nosy: +pitrou
___
Python
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19219
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19256
___
___
Python-bugs-list mailing list
Tyler B added the comment:
One last edit:
Looked at the code and found differences between 3.4 and 2.7. 2.7 has 4
exceptions that can be raised while 3.4 has 3 exceptions.
I propose including the full list of parameters but describing the exceptions
in a way that's less specific about the
New submission from Colin Williams:
This just increases test coverage for the datetime module by one line.
--
components: Library (Lib)
files: datetimepickling.patch
keywords: patch
messages: 13
nosy: Colin.Williams
priority: normal
severity: normal
status: open
title: Increased
Georg Brandl added the comment:
Tyler, thanks for the suggestion. However it doesn't really solve the issue:
the parameter order is the opposite of the current doc text (and your suggested
text).
--
nosy: +georg.brandl
___
Python tracker
New submission from Nick Coghlan:
Issue 15806 added contextlib.ignored to the standard library (later renamed to
contextlib.ignore), as a simple helper that allows code like:
try:
os.remove(fname)
except FileNotFoundError:
pass
to instead be written as:
with
Nick Coghlan added the comment:
The specific docs quotes that persuaded me suppress was a better name than
ignore for this feature (by contrast, ignore in this sense only appears in
its own docs):
From http://docs.python.org/dev/library/stdtypes.html#contextmanager.__exit__:
Exit the runtime
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19266
___
___
Python-bugs-list mailing
Zero Piraeus added the comment:
This is my first submitted patch; if there's anything wrong with it, please let
me know (but the testsuite passes, and make patchcheck only warns about
Misc/NEWS and Misc/ACKS, which I assume is handled by committer).
--
keywords: +patch
nosy:
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Tests
nosy: +belopolsky
stage: - patch review
versions: +Python 3.4 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19265
Nick Coghlan added the comment:
Zero's patch looks good to me, but it may be a couple of days before I can get
to applying it. If anyone else can handle it before then, please feel free :)
Also, Zero, if you could review and sign the contributor agreement, that would
be great:
Zero Piraeus added the comment:
Zero, if you could review and sign the contributor agreement, that
would be great: http://www.python.org/psf/contrib/contrib-form/
Done :-)
--
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
I'm seeing the same error as Stefan.
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19079
___
New submission from Paweł Wroniszewski:
The following code reproduces the error:
import logging
logging.root.addHandler(logging.FileHandler(filename='test.log',encoding='UTF16'))
logging.error( u'b\u0142\u0105d')
I think the problem is in the line
logging/__init__.py:860: ufs =
STINNER Victor added the comment:
The example works fine on Python3:
localhost$ python3
Python 3.3.2 (default, Aug 23 2013, 19:00:04)
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux
Type help, copyright, credits or license for more information.
import logging
STINNER Victor added the comment:
I don't understand the purpose of fs.decode(stream.encoding): why not directly
using ufs=u'%s\n?
@Pawel: Can you please try to replace ufs=fs.decode(stream.encoding) with
ufs=u'%s\n'?
--
___
Python tracker
New submission from Ivan Pozdeev:
It appears that the interpreter assigns an identifier to local or global scope
at compilation time rather than searching locals, then globals (i.e. vars()) at
the time of execution.
An example:
def test():
... vars()['a']=1
... print(a)
...
test()
R. David Murray added the comment:
Not really. But locals() is not reliably modifiable, and the vars
documentation also notes this.
--
nosy: +r.david.murray
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python
Guido van Rossum added the comment:
Turns out there were other uses of the sample key/cert pair. The easiest
solution is to just have the code try both locations if necessary. Here's a new
patch to review.
--
Added file: http://bugs.python.org/file32134/asyncio5.patch
Raymond Hettinger added the comment:
This patch looks fine. I'll apply it shortly.
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19266
___
Serhiy Storchaka added the comment:
Updated patch addresses Antoine's comments.
--
Added file: http://bugs.python.org/file32135/audioop_24bit_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12866
Roundup Robot added the comment:
New changeset 2e8c424dc638 by Serhiy Storchaka in branch 'default':
Issue #18725: The textwrap module now supports truncating multiline text.
http://hg.python.org/cpython/rev/2e8c424dc638
--
___
Python tracker
Georg Brandl added the comment:
Ah yes, I somehow missed running perf.py itself with Python 3.
Should be fixed now; adapting the #19108 patch should be easy enough.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19079
Changes by Georg Brandl ge...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19079
___
Serhiy Storchaka added the comment:
Antoine has approved this on IRC.
Thank you Ezio and Antoine for your reviews.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Yes, I will see.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13451
___
___
Python-bugs-list mailing list
Paweł Wroniszewski added the comment:
Hi Victor. Your fix works, but actually using simply ufs='%s\n' also seem to
work, as
type( '%s' % u'foo')
and
type( u'%s' % u'foo')
returns the same - unicode.
So I would suggest dropping ufs completely, and changing the two occurences to
fs. It works
Paweł Wroniszewski added the comment:
Btw I also don't see the purspose of fs.decode(stream.encoding), as it should
rather be encoded and not decoded...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19267
Giampaolo Rodola' added the comment:
I don't have time to look into Serhiy's changes right now but here's a brief
summary:
- there's a (I think) *minor* downside in terms of backward compatibility
because scheduler._queue won't be updated after cancel() (basically this is the
reason why this
Giampaolo Rodola' added the comment:
Sorry, I failed to notice there's a scheduler.queue property which exposes the
underlying _queue attribute so the patch should take that into account and
return the updated list.
--
___
Python tracker
Giampaolo Rodola' added the comment:
Patch in attachment applies cleanly with the current 3.4 code (last one wasn't)
and returns an updated list on scheduler.queue.
I rebased my work starting from my original patch (cancel.patch) not
Serhiy's because it wasn't clear to me *where* exactly
Ned Deily added the comment:
With Aqua Cocoa Tcl/Tk 8.5.14 or 8.6.0 (using ActiveState's 8.5.14 or 8.6.0) on
OS X 10.8.5, running test_ttk_guionly:
==
ERROR: test_class (tkinter.test.test_ttk.test_widgets.ScrollbarTest)
Natal Ngétal added the comment:
Hi,
here the patch to fix this bug on Python 2.7 with a test suite.
--
nosy: +hobbestigrou
Added file: http://bugs.python.org/file32137/patch_utf16
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Fixed, thanks for reporting!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14407
Roundup Robot added the comment:
New changeset 38243a0a1f44 by Antoine Pitrou in branch '3.3':
Issue #14407: Fix unittest test discovery in test_concurrent_futures.
http://hg.python.org/cpython/rev/38243a0a1f44
New changeset 9cc40bc5f02b by Antoine Pitrou in branch 'default':
Issue #14407: Fix
STINNER Victor added the comment:
patch_utf16 looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19267
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +Unicode
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19267
___
Serhiy Storchaka added the comment:
it wasn't clear to me *where* exactly the enter() speedup was introduced
Constructing Event object. You introduced __init__().
Here is a patch which is based on my patch and new Giampaolo's patch. In
additional it fixes a performance for the queue property
Serhiy Storchaka added the comment:
Thank you Ned.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset e94e29dab32c by Victor Stinner in branch '2.7':
Close #19267: Fix support of multibyte encoding (ex: UTF-16) in the logging
http://hg.python.org/cpython/rev/e94e29dab32c
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
STINNER Victor added the comment:
This bug is specific to Python 2. I should now be fixed, thanks Paweł for the
report and Natal for the patch.
@Natal: Could you please sign the Contributor Agreement for next contributions?
http://www.python.org/psf/contrib/contrib-form/
--
Paweł Wroniszewski added the comment:
Cool - looks good to me as well. Thanks guys.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19267
___
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
resolution: invalid -
stage: committed/rejected -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19268
Guido van Rossum added the comment:
Here's a partial patch for Windows. (Mostly for myself; I need to integrate
this into the main patch.)
--
Added file: http://bugs.python.org/file32139/winasyncio.diff
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
Here's a full new patch, with Windows project/solution changes included, and
updated from the latest Tulip asyncio branch.
--
Added file: http://bugs.python.org/file32140/asyncio6.patch
___
Python tracker
Changes by Guido van Rossum gu...@python.org:
Removed file: http://bugs.python.org/file32139/winasyncio.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19262
___
Guido van Rossum added the comment:
PS. There's some garbage at the start of pcbuild.sln (perhaps a BOM mark?). I'm
not going to re-upload the patch for now, but please note this.
--
___
Python tracker rep...@bugs.python.org
Tyler B added the comment:
Here's a revised suggestion that has the order changed. I have additional
concerns but please provide comment on this revision. Thanks
# 2.7
Raises an exception. argc indicates the number of parameters to the raise
statement, ranging from 0 to 3. The parameters can
Zachary Ware added the comment:
I had missed this issue before; issue16968 tracks the same thing.
There are a couple of issues that the committed patch doesn't address. Namely,
the file still uses test_main, and there is no thread or process reaping when
running the file via discovery.
R. David Murray added the comment:
Ethan, why did you reopen the issue? Do you have a different opinion, or was
it just an issue-update error?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19268
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19267
___
___
Python-bugs-list mailing list
Ethan Furman added the comment:
Oops! Issue update error, I was just adding myself to nosy as it looked like
it was still open.
Re-closing.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker
New submission from Pete:
Python makes errors on simple subtraction with 'pennies'.
2000.0 - 1880.98
119.019998
See attached file for more examples...
--
components: Windows
files: py_subtraction_bug
messages: 200035
nosy: radiokinetics.pete
priority: normal
severity: normal
Tim Peters added the comment:
Please read this:
http://docs.python.org/2/tutorial/floatingpoint.html
A web search will lead you to thousands of discussions of alternatives.
Probably best to use the `decimal` module if you're working heavily with
decimal values.
--
nosy: +tim.peters
100 matches
Mail list logo