New submission from Daniel Albeseder :
I know that the modulo operation for negative values is not well defined, but I
would at least expect that the result is the same no matter if you use ints,
floats or decimals. However Decimal seem to behave else than the builtin types.
Python 3.1.2
Daniel Albeseder added the comment:
Steven: The last part I guess would belong better in issue 9334. Using a "--"
to end all optionals is just a convention but "--" could also be the argument
to some option as well. We need to limit this in any way, and the way it is
done
Changes by Daniel Albeseder :
Added file: http://bugs.python.org/file19732/issue9182.patch
___
Python tracker
<http://bugs.python.org/issue9182>
___
___
Python-bugs-list m
Changes by Daniel Albeseder :
Removed file: http://bugs.python.org/file19731/issue9182.patch
___
Python tracker
<http://bugs.python.org/issue9182>
___
___
Python-bug
Daniel Albeseder added the comment:
Added more unit tests for testing the help text as well as the functionality of
the "--" separator.
--
keywords: +patch
Added file: http://bugs.python.org/file19731/issue9182.patch
___
Python trac
Daniel Albeseder added the comment:
Steven: From msg121850 I think the last two examples do not need the "--".
Since there are no positional arguments, the "--" is not needed. However the
following additional cases exist:
-x X [X ...] -y Y -- A B # since optionals might
Changes by Daniel Albeseder :
--
title: test_socket fails -> test_socket fails using Visual Studio 2010
___
Python tracker
<http://bugs.python.org/issu
Daniel Albeseder added the comment:
Ok I did switched the preference for all "new" defines inside VC++ errno.h to
use the WSA* alternatives if available.
Now test_socket passes for me, and the test_asyncore which did block before,
now passes without a problem.
--
Added
Daniel Albeseder added the comment:
Only in the "system_error" file.
(http://msdn.microsoft.com/en-us/library/ee372194.aspx) Seem to be a C++0X
standard header file.
http://msdn.microsoft.com/en-us/library/5814770t.aspx
talks about the Posix codes only for compatibili
Daniel Albeseder added the comment:
c:\Program Files\Microsoft Visual Studio 10.0\VC\include\errno.h
The content of my errno.h:
...
#define EILSEQ 42
#define STRUNCATE 80
#endif
#endif
/* Support EDEADLOCK for compatibility with older MS-C versions */
#define EDEADLOCK
Daniel Albeseder added the comment:
#define EWOULDBLOCK 140
#define WSAEWOULDBLOCK 10035L
The editor suggests that EWOULDBLOCK is already defined, therefore its code is
used, i.e. 140.
#define ECONNREFUSED107
#define WSAECONNREFUSED 10061L
The E
Daniel Albeseder added the comment:
I did the patch for adding the "--" in the generated usage text inside issue
9338.
--
nosy: +Kotan
___
Python tracker
<http://bugs.python.
Daniel Albeseder added the comment:
My attached patch adds the "--" between the optionals and the arguments, if
there are optionals which have variable length and at least some positional
argument can be provided.
Patch is for python 3.2 svn revision 86553.
--
nosy: +K
Daniel Albeseder added the comment:
As this was requested on IRC, I put the Visual C++ 2010 Express solution and
project files here as well. The patch "pcbuild_vs2010.patch" should be applied
to the PCbuild directory.
--
keywords: +patch
Added file: http://bugs.python.org
Daniel Albeseder added the comment:
I wanted to test, that no unwanted output is given before the usage. I just
added the test before I started to try to fix this bug, as I recognized Michele
already was already fixing the bug. This was just my test-driven approach,
where the unit test
Daniel Albeseder added the comment:
I did a very simple addition to the CommandLineTest, to check that "-h" really
returns the "usage:". I am not sure, if this is useful since, it rather tests
argparse now with the proposed patch...
--
nosy: +Kotan
Added file: ht
Daniel Albeseder added the comment:
current revision = svn revision 86553
--
___
Python tracker
<http://bugs.python.org/issue10469>
___
___
Python-bugs-list m
New submission from Daniel Albeseder :
Using WinXP I compiled python 3.2 from the current sources using Visual C++
2010 Express.
Running
rt -v test_socket
resulted in the attached output.
The tests testSmallReadNonBlocking and testWriteNonBlocking have errors, and an
assertion fails for
18 matches
Mail list logo