[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-08-31 Thread Bastian Kleineidam
Bastian Kleineidam cal...@users.sourceforge.net added the comment: Update: the python2.5 behaviour is the expected and what I think the correct output. -- versions: -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-08-31 Thread Lehmann
Lehmann andre.lehm...@solutech.ch added the comment: I hope I'm sending this information in the right place. Trying to install psutil 0.1.3, on Python 2.7 (with Win7 as OS), I get the same error that was mentionned in this thread: c:\Users\Andre\Bureau\psutil-0.1.3setup.py install running

[issue9574] allow whitespace around central '+' in complex constructor

2010-08-31 Thread Jervis Whitley
Jervis Whitley jervi...@gmail.com added the comment: Here is a patch to document string argument requirements. -- keywords: +patch Added file: http://bugs.python.org/file18686/complex_doc.diff ___ Python tracker rep...@bugs.python.org

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Krauzi
New submission from Krauzi krauzi_g...@yahoo.de: Hi guys, i recently found out that PyObject_Print is not working with Visual Studio 2010: #include Python.h #include iostream int main( int argc, char** argv ) { Py_Initialize(); PyObject_Print( PyUnicode_FromString(test), stdout,

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Krauzi wrote: New submission from Krauzi krauzi_g...@yahoo.de: Hi guys, i recently found out that PyObject_Print is not working with Visual Studio 2010: #include Python.h #include iostream int main( int argc, char** argv )

[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- resolution: - postponed stage: unit test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3735 ___

[issue4892] Sending Connection-objects over multiprocessing connections fails

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- nosy: +asksol ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4892 ___ ___ Python-bugs-list mailing list

[issue3831] Multiprocessing: Expose underlying pipe in queues

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- nosy: +asksol ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3831 ___ ___ Python-bugs-list mailing list

[issue5501] Update multiprocessing docs re: freeze_support

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- nosy: +asksol ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5501 ___ ___ Python-bugs-list mailing list

[issue8534] multiprocessing not working from egg

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- keywords: +needs review nosy: +asksol ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8534 ___ ___

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Krauzi
Krauzi krauzi_g...@yahoo.de added the comment: i used the one from python.org. I cant build python with VC2010 because it cant convert the project from VC2008 to VC2010. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9722

[issue3093] Namespace pollution from multiprocessing

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- nosy: +asksol stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3093 ___ ___

[issue6407] multiprocessing Pool should allow custom task queue

2010-08-31 Thread Ask Solem
Ask Solem a...@opera.com added the comment: are there really any test/doc changes needed for this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6407 ___

[issue6407] multiprocessing Pool should allow custom task queue

2010-08-31 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- stage: needs patch - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6407 ___ ___

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: You really should use the same version of Visual Studio than the one used to compile python. stdout points to a FILE object created by your version of the compiler (VS2010); it cannot be passed to PyObject_Print(), which uses

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Hi, As reported in this issue and issue 1756343 and issue 1542544, Python does not produce a shared python library on AIX even with the --enable-shared flag. I had provided a patch to correct that, but it was breaking static

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18688/python266_AIX61_static_gcc_nopatch.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18689/python266_AIX61_static_gcc_patchshared.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18690/python266_AIX61_static_xlc_nopatch.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18691/python266_AIX61_static_xlc_patchshared.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18692/python266_AIX61_shared_gcc_nopatch.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18693/python266_AIX61_shared_gcc_patchshared.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18694/python266_AIX61_shared_xlc_nopatch.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue941346] AIX shared library fix

2010-08-31 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: Added file: http://bugs.python.org/file18695/python266_AIX61_shared_xlc_patchshared.txt.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue941346

[issue9723] pipes.quote() needs to be documented

2010-08-31 Thread Brandon Craig Rhodes
New submission from Brandon Craig Rhodes bran...@rhodesmill.org: The only way to safely build shell command lines from inside of Python — which is necessary when sending commands across SSH, since that behaves like os.system() rather than like subprocess.call() — is to use the wonderful

[issue1756343] Python 2.5.1 fails to build on AIX

2010-08-31 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I proposed a patch in issue 941346 to correct this same problem with Python 2.6.6. regards -- nosy: +sable ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1756343

[issue1542544] Improve dynamic linking support on AIX

2010-08-31 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I proposed a patch in issue 941346 that is different from this one but which should result in a shared python library on AIX as well. regards -- nosy: +sable ___ Python tracker

[issue9724] help('nonlocal') missing

2010-08-31 Thread Cherniavsky Beni
New submission from Cherniavsky Beni c...@users.sf.net: help('nonlocal') no Python documentation found for 'nonlocal' As a language keyword, it clearly should have documentation. -- assignee: d...@python components: Documentation messages: 115266 nosy: cben, d...@python priority:

[issue9724] help('nonlocal') missing

2010-08-31 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: r84376. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9724 ___

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-08-31 Thread Michał Powaga
Michał Powaga michalpowag...@gmail.com added the comment: The problem was be here: path = path[:-1] # This is not needed and cuts last character return urlunparse((scheme, netloc, path, params, query, fragment)) I sent a patch. PS. Sorry if I`m doing something wrong but it

[issue9725] urllib.request.FancyURLopener won't connect to pages requiring username and password

2010-08-31 Thread Petr Machek
New submission from Petr Machek petr...@seznam.cz: Code: import urllib.request class MyOpener(urllib.request.FancyURLopener): prompt_user_passwd = lambda x, y, z: (username, password) opener = MyOpener() page = opener.open(http://riddle.p4x.ch/music;) print(page.readlines())

[issue9723] pipes.quote() needs to be documented

2010-08-31 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I think you mean pipe.quote in your message, not pipe.call. The subject looks correct. I'm not sure pipes is the best place for this, but I agree it should probably be documented in older versions. It seems to me we've had this discussion

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-08-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9721 ___ ___ Python-bugs-list

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch shouldn't remove the tests for tostring()/fromstring() (they might be deprecated, but they are still supported). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8990

[issue9726] logging.handlers.RotatingFileHandler: implement preserve log file name extension feature

2010-08-31 Thread Desmond Cox
New submission from Desmond Cox desmon...@gmail.com: See https://issues.apache.org/jira/browse/LOG4NET-64 - [PATCH] to RollingFileAppender.cs to add the ability to preserve the log file name extension when rolling the log file. Currently, rollover appends a numeric extension to the base file

[issue9693] asynchat push_callable() patch

2010-08-31 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Thanks for the comments. I don't understand what _Callable is used for; why not just a tuple? _Callable is just a container to store function, args and kwargs objects. I thought it made more sense than using a tuple because it's

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-31 Thread Thomas Jollans
Thomas Jollans tho...@jollans.com added the comment: That sounds reasonable. I've updated the patch to keep the old test_tofromstring testcase. I'll also attach another patch in a moment that removes what I'm reasonably sure is all the uses of array.tostring and .fromstring in the standard

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-31 Thread Thomas Jollans
Changes by Thomas Jollans tho...@jollans.com: Added file: http://bugs.python.org/file18698/tostring_usage.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8990 ___

[issue8990] array constructor and array.fromstring should accept bytearray.

2010-08-31 Thread Thomas Jollans
Changes by Thomas Jollans tho...@jollans.com: Removed file: http://bugs.python.org/file18607/tofrombytes.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8990 ___

[issue5553] Py_LOCAL_INLINE(type) doesn't actually inline except using MSC

2010-08-31 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Committed in r84379 -- keywords: -needs review resolution: - accepted stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1397474] timeit execution enviroment

2010-08-31 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I agree that the Timer doc is deficient in not saying that timing is done within a function defined within the timeit module. It is also deficient in not mentioning the secret of how to successfully pass user-defined functions until the very

[issue808164] socket.close() doesn't play well with __del__

2010-08-31 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Fixed in r84380 and r84382. -- keywords: -needs review resolution: - accepted stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue7141] 2to3 should add from __future__ import print_statement

2010-08-31 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: I don't think I'm familiar enough with 2to3's pattern-matching syntax to write a good patch. Here's a rough outline for how a patch would work. There are two cases: 1) When there is already a from __future__ import.

[issue941346] AIX shared library fix

2010-08-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: In dynamic builds, there seem to be lots of messages such as: ld: 0711-224 WARNING: Duplicate symbol: .PyLong_FromString ld: 0711-224 WARNING: Duplicate symbol: PyLong_FromString Are you sure this is normal? In any case, if you find a way to

[issue9693] asynchat push_callable() patch

2010-08-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: - why override __bool__?? I did that for performance. Considering that initiate_send() method is called many times, and that it is almost always used to send data rather than firing functions I wanted to avoid to call isinstance(first,

[issue9727] Add callbacks to be invoked when locale changes

2010-08-31 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: As part of the PEP 384 discussion, it was noted that one of the problems with mixed C runtimes on Windows is that each C runtime in the process has it's own idea of the current locale setting. This can be addressed to some degree by having

[issue9713] Py_CompileString fails on non decode-able paths.

2010-08-31 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The problem is not specific to Py_CompileString(): all functions based (indirectly) on PyParser_ASTFromString() and PyParser_ASTFromFile() expect filenames encoded in utf-8 with the strict error handler. If we choose to use

[issue9713] Py_CompileString fails on non decode-able paths.

2010-08-31 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- components: +Unicode -None versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9713 ___

[issue1552880] Unicode Imports

2010-08-31 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: utf-8 codec (in strict mode) rejects surrogates in python3, and so you doesn't support undecodable filenames (filenames decoded using surrogateescape error handler which produces surrogate characters). It may be possible if you use

[issue1552880] Unicode Imports

2010-08-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I conffess that I didn't follow the utf-8/surrogate discussion. But the utf-8 encoding can encode all valid unicode characters: UTF-8 may only legally be used to encode valid Unicode scalar values. According to the Unicode

[issue9728] Docs point to FAQ Section 3, but FAQs are not numbered

2010-08-31 Thread Daniel Stutzbach
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com: In Doc/extending/windows.rst, there's the following text: If your module creates a new type, you may have trouble with this line::

[issue9729] Unconnected SSLSocket.{send, recv} raises TypeError: 'member_descriptor' object is not callable

2010-08-31 Thread Andrew Bennetts
New submission from Andrew Bennetts s...@users.sourceforge.net: ython 2.6.6 (r266:84292, Aug 24 2010, 21:47:18) [GCC 4.4.5 20100816 (prerelease)] on linux2 Type help, copyright, credits or license for more information. import socket, ssl s = socket.socket() wrapped = ssl.wrap_socket(s)

[issue9729] Unconnected SSLSocket.{send, recv} raises TypeError: 'member_descriptor' object is not callable

2010-08-31 Thread Andrew Bennetts
Changes by Andrew Bennetts s...@users.sourceforge.net: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9729 ___ ___

[issue9730] base64 encoding takes in bytes rather than string.

2010-08-31 Thread JingCheng LIU
New submission from JingCheng LIU liu...@gmail.com: http://docs.python.org/py3k/library/base64.html?highlight=base64 the examples given doesn't work -- assignee: d...@python components: Documentation messages: 115287 nosy: Dmitry.Jemerov, JingCheng.LIU, d...@python, ezio.melotti,