Senthil orsent...@gmail.com added the comment:
I have fix this issue, in the revision 72155 for py2.7 and revision
72156 for py3k.
Unfortunately, we have no tests for any proxy handling condition for
Windows and Darwin. This is a very specific case in the proxy handling;
thought let the fix be
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5891
___
Martin v. Löwis mar...@v.loewis.de added the comment:
That is not a bug in Python. The import statement merely adds a
reference to the list into your module, so both variables point to the
very same list (my_module.some_list is other_module.some_list).
Therefore, any changes made to the list
New submission from Gregory P. Smith g...@krypto.org:
When writing documentation for a module that is already well documented
in its docstrings, I really wish pydoc could output .rst directly.
It'd mean much less manual editing.
--
components: Demos and Tools
messages: 86866
nosy:
New submission from pander pan...@users.sourceforge.net:
Hi all,
Does a module exist that can look up localised language names for ISO
639 language codes? If not, could one be constructed according to (sort
of) the following specifications?
1) Look up a localised language name for an ISO 639-1
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Can you try this with Python2.6.2? I believe this bug got fixed.
--
nosy: +ocean-city
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5887
Martin v. Löwis mar...@v.loewis.de added the comment:
I think the pycountry module might be helpful:
http://pypi.python.org/pypi/pycountry
As it is at version 0.11, I think it is very far away of being ready for
inclusion in the standard library. If this doesn't quite do what you
want, please
Georg Brandl ge...@python.org added the comment:
The comma isn't required, but it's good practice in Python to end lists
with a comma (so that you don't forget adding it when adding new items),
and this habit probably made it into C code there.
Fixed in r72159.
--
nosy: +georg.brandl
Senthil orsent...@gmail.com added the comment:
Yes, the parsing best be done in urlparse.
As this function claims to do step 6 of RFC2396, I am surprised why it
cannot be done by using existing urlparse functions itself.(Because, the
tests for RFC2396 compliance covers those cases too).
Martin v. Löwis mar...@v.loewis.de added the comment:
Here is a patch that implements this proposed approach. It introduces a
surrogates error handler, useful only for the utf-8 codec.
If this is accepted, the implementation of PEP 383 can be simplified
significantly, essentially removing the
Martin v. Löwis mar...@v.loewis.de added the comment:
rietveld: http://codereview.appspot.com/52081
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3672
___
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
Babel already provides (almost all of) this. It uses the Unicode CLDR
data to present the information you need.
See http://babel.edgewall.org/
--
nosy: +asmodai
___
Python
Matthias Klose d...@debian.org added the comment:
applied on the py3k branch as well
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4587
___
Antoine Pitrou pit...@free.fr added the comment:
The various structures now contain several 'boolean' flags. It would
improve memory usage to use bitfields. Or would this impact performance
?
Those structures usually allocate a 4KB- or 8KB- buffer each, so I don't
think squeezing two or
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch which doesn't fix the '%f' - '%g' switch, but paves the
way for that switch by getting rid of the fixed-size buffers in
formatfloat in unicodeobject.c, and in the fallback version of
PyOS_double_to_string.
--
keywords:
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5859
___
___
Senthil orsent...@gmail.com added the comment:
Georg, shall I take up this one?
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5650
___
Senthil orsent...@gmail.com added the comment:
I had made that change. tested only linux, where it was all pass. Shall
address this one soon.
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
Changes by Senthil orsent...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1591035
___
___
Python-bugs-list mailing
Eric Smith e...@trueblade.com added the comment:
The patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5859
___
___
Mark Dickinson dicki...@gmail.com added the comment:
No new test failures on Linux or OS X, with or without the fallback code.
I've committed this in r72161.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5859
Antoine Pitrou pit...@free.fr added the comment:
The new patch looks good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5883
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Here's the patch that actually removes the %f - %g switch.
--
Added file: http://bugs.python.org/file13829/issue5859_stage2.patch
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Personally I think that the Sphinx autodoc extension does a better job
of this than having pydoc export .rst would. Is there some regard in
which that doesn't solve your problem?
--
nosy: +r.david.murray
priority: normal - low
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: - marketdickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5829
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Fixed in r72165.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5859
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Georg, should this fix also be applied to the py3k branch as I am able
to repro this on 3.1a2?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5889
Changes by Ben Gamari bgam...@gmail.com:
--
nosy: +bgamari
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1555842
___
___
Python-bugs-list mailing
Changes by Ben Gamari bgam...@gmail.com:
--
nosy: +bgamari
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1685453
___
___
Python-bugs-list mailing
Georg Brandl ge...@python.org added the comment:
Yes, in fact it already has been merged.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5889
___
New submission from Naoyuki Tai n...@users.sourceforge.net:
Python can build without _XOPEN_SOURCE_EXTENDED on HPUX ia64 but the
socket module is bust.
This is because APIs like getsockname() do not use socklen_t*. Instead
it is defined using int* for some of arguments.
In socketmodule.c, it
Gregory P. Smith g...@krypto.org added the comment:
oh. sphinx can already do this? nevermind then.
*goes off to look closer at sphinx*
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from how rabbit feels hrfe...@gmail.com:
It should be noted in the documentation that the 'setup' argument may be
a semicolon delimited list of imports:
Example:
t = timeit.Timer('squeezer.testRegular()', 'import squeezer; from
squeezer import myStaticData1, myStaticData2,
New submission from Suraj Barkale suraj+pyt...@barkale.com:
In the windows help file installed with Python 2.6.2, many topics (e.g.
Python Standard Library) are shown are leaf nodes instead of books.
After checking source code, `:numbered:` clause was added to many
index.rst files in revision
Georg Brandl ge...@python.org added the comment:
This is already tracked in #5764.
--
resolution: - duplicate
status: open - closed
superseder: - 2.6.2 Python Manuals CHM file seems broken
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
I'd like to note that what Sphinx can't do -- or better, doesn't do at
the moment, is to output full reStructuredText documents when using
autodoc. It directly integrates the docstrings into the doctree that
will become the output.
So, for the
Georg Brandl ge...@python.org added the comment:
Yes, you've probably a better understanding of what differentiates an
URL and URI than me :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5650
Changes by Martin v. Löwis mar...@v.loewis.de:
Removed file: http://bugs.python.org/file13827/surrogates.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3672
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Fixed indexing error.
--
Added file: http://bugs.python.org/file13830/surrogates.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3672
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch looks fine to me.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1443504
___
Gregory P. Smith g...@krypto.org added the comment:
Committed to trunk (2.7) in r72173. I'll merge it into py3k later this
afternoon.
--
priority: normal - release blocker
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
It would be probably be better to put this check in PyType_Ready() instead.
--
nosy: +pitrou
versions: +Python 2.7, Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
New submission from François Granade franc...@granade.com:
If I remove the proc2.stdin.close() in the script below, the
proc1.wait() will hang. Tested on MacOS, Linux, CygWin on 2.5.2 and
2.6. Is it a bug ?
from subprocess import Popen, PIPE
proc1 = Popen('cat -', shell=True, stdin=PIPE,
Antoine Pitrou pit...@free.fr added the comment:
Is there any chance the test methods in test_ipaddr can be PEP8-ified?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
___
pmoody pyt...@hda3.com added the comment:
I'll submit a change for this to trunk in a second.
On Fri, May 1, 2009 at 1:16 PM, Antoine Pitrou rep...@bugs.python.org wrote:
Antoine Pitrou pit...@free.fr added the comment:
Is there any chance the test methods in test_ipaddr can be PEP8-ified?
Antoine Pitrou pit...@free.fr added the comment:
What is the problem exactly?
An user can run arbitrary Python code from a file in his own account --
well, sure, that's a feature. Unless I'm misunderstanding something.
--
nosy: +pitrou
___
Python
Martin v. Löwis mar...@v.loewis.de added the comment:
But I am curious about your thoughts about the _parse_localename()
method being called from setlocale() raising a ValueError, whereas a
setlocale(LC_CTYPE, ) should not fail at all, which it currently does
if the locale in the environment
Antoine Pitrou pit...@free.fr added the comment:
I wanted to read the patch at
https://bugzilla.redhat.com/attachment.cgi?id=334888 but apparently its
access is restricted...
--
___
Python tracker rep...@bugs.python.org
François Granade franc...@granade.com added the comment:
Note that I use this wait(), otherwise, on CygWin, proc1 does not
properly dies, and leaves opened (undeletable - that's windows !) files
around
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
Applied in r72175.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5883
___
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:
Sorry, I was actually off by a method last night.
It turns out the problem lies in _localemodule.c.
Let me start with the basic question: is our setlocale() supposed to
mirror POSIX' operations/semantics?
--
Antoine Pitrou pit...@free.fr added the comment:
Committed in r72178, r72179. Thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3002
___
Antoine Pitrou pit...@free.fr added the comment:
Raymond, Guido, any opinion on this one?
--
assignee: tim_one -
nosy: +gvanrossum, rhettinger
stage: - patch review
versions: +Python 2.7, Python 3.1 -Python 2.5
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
What is happening here is that when __doc__ is looked up, it is found
first among the attributes of the class type. __doc__ is special, and
types define it to be None if it not set to anything specific. So the
docstring for an instance
Antoine Pitrou pit...@free.fr added the comment:
(s/string/still/, of course...)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5084
___
___
Antoine Pitrou pit...@free.fr added the comment:
Given that it is unlikely to give any speedup in real-world code, I
don't think we should add complexity to the compiler. Recommend closing.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
Please ask questions like this first on python-list or the c.l.p or
gmane mirrors.
--
nosy: +tjreedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5867
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file13831/issue5890.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5890
___
R. David Murray rdmur...@bitdance.com added the comment:
Fixes from review on #python-dev by Benjamin.
It looks like I also need to look at property_copy.
--
Added file: http://bugs.python.org/file13832/issue5890.patch
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file13459/py3k_fix_leak_of_fileio.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
Antoine Pitrou pit...@free.fr added the comment:
Committed, thanks!
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5726
___
Antoine Pitrou pit...@free.fr added the comment:
Jake, are you string working on a test?
--
priority: - normal
stage: - needs patch
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5084
Martin v. Löwis mar...@v.loewis.de added the comment:
Let me start with the basic question: is our setlocale() supposed to
mirror POSIX' operations/semantics?
Yes, it is.
--
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
Removed file:
http://bugs.python.org/file13460/py3k_fix_leak_of_test_socket.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5596
___
Antoine Pitrou pit...@free.fr added the comment:
Current status here:
test_multiprocessing leaked [24, 0] references, sum=24
test_urllib2 leaked [227, 227] references, sum=454
test_urllib2_localnet leaked [3, 3] references, sum=6
--
___
Python
New submission from Antoine Pitrou pit...@free.fr:
This happens when looking for reference leaks:
$ ./python -m test.regrtest -R3:2 test_capi
Could not find '/home/antoine/py3k/debug/Lib/test' in sys.path to remove it
test_capi
beginning 5 repetitions
12345
test test_capi crashed -- class
Benjamin Peterson benja...@python.org added the comment:
Applied in r72185.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5410
___
Benjamin Peterson benja...@python.org added the comment:
http://codereview.appspot.com/52081/diff/1/5
File Doc/library/codecs.rst (right):
http://codereview.appspot.com/52081/diff/1/5#newcode326
Line 326: In addition, the following error handlers are specific to only
selected
In addition, the
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5006
___
___
Python-bugs-list mailing
New submission from Floris Bruynooghe floris.bruynoo...@gmail.com:
The build_ext command does accept a handy --rpath option to encode an
RPATH in the built extension modules. However RPATH is superseded by
RUNPATH since the former can not be overwritten by the LD_LIBRARY_PATH
environment
pmoody pyt...@hda3.com added the comment:
well, sent it for review anyway. is this a showstopper for submission?
On Fri, May 1, 2009 at 1:19 PM, pmoody rep...@bugs.python.org wrote:
pmoody pyt...@hda3.com added the comment:
I'll submit a change for this to trunk in a second.
On Fri, May
Antoine Pitrou pit...@free.fr added the comment:
Not at all, it's just nicer.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
___
___
Glyph Lefkowitz gl...@divmod.com added the comment:
Antoine,
The problem is that apparently every program that embeds Python calls
PySys_SetArgv and does not understand the consequences of doing so. For
example, a user running 'gedit' to edit some files in a potentially
insecure directory may
Gregory P. Smith g...@krypto.org added the comment:
I merged ipaddr into py3k.
I can't lookup the revision number (r72186?) at the moment since
svn.python.org is having problems.
anyways, thanks pmoody other ipaddr developers!
Now that the library is -in- (before the 3.1 beta cutoff :),
Matthew Smart mattsm...@gmail.com added the comment:
Woo!
On May 1, 2009 5:48 PM, Gregory P. Smith rep...@bugs.python.org wrote:
Gregory P. Smith g...@krypto.org added the comment:
I merged ipaddr into py3k.
I can't lookup the revision number (r72186?) at the moment since
svn.python.org is
Changes by Guido van Rossum gu...@python.org:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
___
___
Python-bugs-list mailing list
Jake McGuire j...@youtube.com added the comment:
This fell through the cracks. But the following unit test seems like it
does the right thing (fails with the old module, works with the new ones).
--
Added file: http://bugs.python.org/file13835/pickletester.diff
77 matches
Mail list logo