Being that python is, to me, a prototyping language, then every possible
outcome should be presented to the end user.
A full variety of explanations should be presented to the programmer.
On Fri, Dec 13, 2013 at 11:56 PM, Vajrasky Kok
wrote:
> Greetings,
>
> When fixing/adding error message fo
Greetings,
When fixing/adding error message for wrong type of argument in C code,
I am always confused, how long the wrong type is the ideal?
The type of error message that I am talking about:
"Blabla() argument 1 must be integer not wrong_type".
We have inconsistency in CPython code, for examp
On Fri, Nov 15, 2013 at 9:10 PM, Tim Peters wrote:
> > _DI4Y = _days_before_year(5)
> > # A 4-year cycle has an extra leap day over what we'd get from pasting
> > # together 4 single years.
> > assert _DI4Y == 4 * 365 + 1
> >
> > To me, the constant should be directly set to its known value.
>
Am 13.12.2013 18:04, schrieb Brett Cannon:
> http://bugs.python.org/issue12837 deals with the single compiler warning
> left on OS X: a tautalogical compare in socketmodule.c that is valid
> under POSIX. I have a solution that uses pragmas to turn off
> tautological compare warnings for the single
Brett Cannon wrote:
> So is there any reason to not use pragmas sparsely in the code?
I'm +1 on using pragmas for suppressing selected warnings.
> Tying into this and using compiler-specific things in C code, what about
> __attribute__? http://bugs.python.org/issue19298 proposes an idea that Da
ACTIVITY SUMMARY (2013-12-06 - 2013-12-13)
Python tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.
Issues counts and deltas:
open4322 ( -1)
closed 27428 (+69)
total 31750 (+68)
Open issues wit
http://bugs.python.org/issue12837 deals with the single compiler warning
left on OS X: a tautalogical compare in socketmodule.c that is valid under
POSIX. I have a solution that uses pragmas to turn off tautological compare
warnings for the single 'if' statement that triggers it. But there are very
من جهاز الـ iPad الخاص بي___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
من جهاز الـ iPad الخاص بي___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
من جهاز الـ iPad الخاص بي___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
10 matches
Mail list logo