[issue13268] assert statement violates the documentation

2011-10-26 Thread Alexander Myodov
Changes by Alexander Myodov : -- title: assert -> assert statement violates the documentation ___ Python tracker <http://bugs.python.org/issue13268> ___ ___ Py

[issue13268] assert

2011-10-26 Thread Alexander Myodov
New submission from Alexander Myodov : The extended version of assert statement has a strange violation of documented behaviour. According to the http://docs.python.org/reference/simple_stmts.html#the-assert-statement, "assert expression1, expression2" should be equivalent to &qu

[issue13260] distutils and cross-compiling the extensions

2011-10-24 Thread Alexander Myodov
New submission from Alexander Myodov : I was recently trying to cross-compile several extensions (host: Linux, target: Win32) using mingw-gcc, and noticed that there is quite a little amount of changes needed to distutils code to at least make proper win32-compabible modules. Some of them

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2011-06-06 Thread Alexander Myodov
Alexander Myodov added the comment: Sorry for being a little bit slow to respond... No I was not able to come up with a testcase that could generate this problem in a reproducible way on any Windows box I had. This problem sometimes occured on various OS versions, being probably a Windows oof

[issue9122] Problems with multiprocessing, Python embedding and Windows

2010-06-29 Thread Alexander Myodov
New submission from Alexander Myodov : Hello, I am using Python 2.6.5 and Cython (to embed the Python interpreter) to create a simple launcher.exe launcher which then imports and uses the remaining logic from the other modules, conveniently stored in a single modules.zip file (i.e. importing

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2010-06-28 Thread Alexander Myodov
Alexander Myodov added the comment: Sorry for formatting above, a copypaste issue. The lines 202-204: win32.SetNamedPipeHandleState( h2, win32.PIPE_READMODE_MESSAGE, None, None ) The change that fixes the problem (at least for me): try

[issue9099] multiprocessing/win32:

2010-06-28 Thread Alexander Myodov
New submission from Alexander Myodov : I am using Python 2.6.5/win32, and working with multiprocessing module, doing that with Python interpreter embedded using Cython (if that may be related to the problem). While creating a subprocess and a Pipe to communicate with it, I've go

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Alexander Myodov
Alexander Myodov added the comment: In this case, I'd suggest to rephrase it to "See :func:`itertools.ifilterfalse` for the complementary function that returns the iterator over the elements of *iterable* for which *function* returns false.", or even remove this line a

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Alexander Myodov
Changes by Alexander Myodov : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue8472> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8472] itertools.filterfalse() function missing

2010-04-20 Thread Alexander Myodov
New submission from Alexander Myodov : The documentation (eg at http://docs.python.org/release/2.6.5/library/functions.html#filter) tells that there should be an itertools.filterfalse() function complementary to builtin filter() function, that returns the list of elements (instead of the

[issue6696] Profile objects should be documented

2009-08-13 Thread Alexander Myodov
New submission from Alexander Myodov : Seems like a minor documentation issue in 2.x became more significant one in 3.x. In Python 2.6 (and lower), the documentation on Profile objects discussed them as a part of hotshot module, while omitting the fact that any profiler module, either of

[issue6601] Fractions do not support other Fractions as numerators or denominators

2009-07-30 Thread Alexander Myodov
New submission from Alexander Myodov : Occurs in 2.6, doesn't occur in 3.1. Example: Python 2.6.2+ (release26-maint, Jun 23 2009, 07:08:39) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> fr