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
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
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
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,
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 )
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
___
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
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
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
Changes by Ask Solem a...@opera.com:
--
keywords: +needs review
nosy: +asksol
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8534
___
___
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
Changes by Ask Solem a...@opera.com:
--
nosy: +asksol
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3093
___
___
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
___
Changes by Ask Solem a...@opera.com:
--
stage: needs patch - unit test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6407
___
___
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
___
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
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())
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9721
___
___
Python-bugs-list
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
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
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
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
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
___
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
___
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
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
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
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.
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
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,
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
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
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
___
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
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
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::
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)
Changes by Andrew Bennetts s...@users.sourceforge.net:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9729
___
___
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,
54 matches
Mail list logo