Jan Lieskovsky ian...@seznam.cz added the comment:
Hello guys,
what's the current state of this issue? The proposed patch hasn't
still been projected into upstream Python code, so wondering:
1, when and if it will be?
2, if you have found another solution / patch?
Thanks Regards, Jan.
--
Antoine Pitrou pit...@free.fr added the comment:
Hello,
what's the current state of this issue? The proposed patch hasn't
still been projected into upstream Python code, so wondering:
1, when and if it will be?
I was hoping for more feedback before committing it. While it has been
labeled
Changes by Yinon Ehrlich yino...@users.sourceforge.net:
--
components: Library (Lib)
files: subprocess.patch
keywords: patch
nosy: Yinon
severity: normal
status: open
title: PATCH: typo (English) in subprocess module
versions: Python 2.7
Added file:
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
OTOH, the test code runs fine with python 2.4.4, so what is the purpose
of this patch?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Closing as requested.
--
nosy: +amaury.forgeotdarc
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5191
New submission from Jordan Bettis jord...@hafdconsulting.com:
Hi. I just spent a while fighting with imp.find_module because I was
trying to pass the path as a string, rather than a string embedded in a
list:
result = find_module('mod', '/path')
rather than
result = find_module('mod',
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: georg.brandl - rhettinger
nosy: +rhettinger
versions: +Python 3.2 -Python 2.5, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6414
Nicolas Dumazet nicd...@gmail.com added the comment:
It seems that the fix is still not perfect.
At the moment ( r73906 ), if you try to build trunk using Python 2.6,
you get:
python setup.py build
running build
running build_ext
Traceback (most recent call last):
File setup.py, line 1901,
R. David Murray rdmur...@bitdance.com added the comment:
This constant was introduced in r73818 by Gregory, so I'm assigning this
ticket to him. Note that the trunk Windows buildbot is also failing to
compile because of this bug.
--
assignee: - gregory.p.smith
components: +Library
Tomas Hoger tho...@redhat.com added the comment:
Have you considered something like this? (patch against 3.1)
--- Python/sysmodule.c.orig
+++ Python/sysmodule.c
@@ -1643,6 +1643,7 @@ PySys_SetArgv(int argc, wchar_t **argv)
#endif /* Unix */
}
#endif /* All others */
+
R. David Murray rdmur...@bitdance.com added the comment:
I found this article that might be of interest with regards to PIPE_BUF
(or rather lack thereof) on Windows:
http://cygwin.com/ml/cygwin-patches/2004-q3/msg00084.html
It doesn't look like doing the right thing in Windows where in Posix
David Schnur david.sch...@dartware.com added the comment:
I came across this ticket while looking for alternatives to Python's
gettext, since I need msgctx support. It seems a patch was supplied for
this a while back. I have never contributed to Python, and am not
familiar with your release
Martin v. Löwis mar...@v.loewis.de added the comment:
Only my lack of time prevents inclusion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2504
___
New submission from Ezio Melotti ezio.melo...@gmail.com:
Reading python.org/dev/ I noticed a few things that could be
improved/updated:
1) in http://www.python.org/dev/implementations/ Unladen Swallow is missing;
2) in http://www.python.org/dev/contributing/ there's an any and any
that should
New submission from Erik Sandberg sandb...@virtutech.com:
On Linux, I get the following:
import os
os.path.normpath(u'/')
'/'
I would expect unicode to be mapped to unicode. os.path.abspath() has
the same problem, see also issue 3426.
This causes problems in my project, where a function
Brett Cannon br...@python.org added the comment:
Technically pydot...@python.org is the proper place to report this stuff,
but it's not a big deal as I unofficially in charge of /dev so I will take
care of it.
--
assignee: georg.brandl - brett.cannon
nosy: +brett.cannon
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Unicode
nosy: +ezio.melotti
priority: - normal
stage: - test needed
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6450
Martin v. Löwis mar...@v.loewis.de added the comment:
Do the standard Python library functions that
operate on strings guarantee anything in general with respect to
conserving unicode? Can I make any assumption as to which codec was used
to encode the str returned from normpath?
The bug
holger krekel holger.kre...@gmail.com added the comment:
To recap the use case: stdout is redirected during a test function run
which might trigger arbitrary usage of logging-functionality. Not
closing the temporary file would mean that there could be as many open
files as there are test
Sridhar Ratnakumar sridh...@activestate.com added the comment:
On Thu, 09 Jul 2009 06:48:28 -0700, Vinay Sajip rep...@bugs.python.org
wrote:
It should be understood that if a stream is passed to a StreamHandler,
the ownership of that stream is passed as well, so closing the handler
rather
Sridhar Ratnakumar sridh...@activestate.com added the comment:
See my comments about your ConsoleHandler recipe(s) on issue6345
Correction: issue6435
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6333
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
But the cache needs to be invalidated when `exc_info` is changed -
as in set to None when it was a traceback object.
When does the exc_info change for a record? AFAIK it's
Andrew Ziem ahz...@gmail.com added the comment:
Attached screenshot shows regedit handles \x00\x00 by showing all the
invalid values (each \x00 becomes a line break). More importantly,
Windows apparently reads all the invalid value when processing
FileRenameOperations, so my Python program must
New submission from Vasiliy bazo...@megabox.ru:
from __future__ import print_function
print('Foo','Bar')
print('FooBar')
2to3 translates it to
print(('Foo','Bar'))
print('FooBar')
is it right?
--
components: 2to3 (2.x to 3.0 conversion tool)
files: test.py
messages:
Changes by Vasiliy bazo...@megabox.ru:
--
title: Additional brackets to print - 2to3 adds additional brackets to print
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6451
___
Changes by Vasiliy bazo...@megabox.ru:
--
title: 2to3 adds additional brackets to print - 2to3 adds spare brackets to
print
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6451
___
R. David Murray rdmur...@bitdance.com added the comment:
This is a duplicate of Issue6429.
--
nosy: +r.david.murray
priority: - normal
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - 2to3: fix_future conflicts with fix_print
New submission from Jamal Fanaian jfana...@gmail.com:
While testing this bug report in Gwibber
https://bugs.launchpad.net/gwibber/+bug/397297 I found that using
urllib2.Request() with a long authorization would cause it to error and
not authenticate. I'm not sure if it is because the header
R. David Murray rdmur...@bitdance.com added the comment:
See also issue 2412, which might or might not have a relevant patch.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6429
R. David Murray rdmur...@bitdance.com added the comment:
NB: I fixed the test_posix failure on trunk/2.6/py3k/3.1 in r73908,
r73914, r73913, and r73915.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
nestor nestornis...@gmail.com added the comment:
Maybe make test will help troubleshoot this (BTW how do I enable verbose
mode?):
test test_ascii_formatd failed -- errors occurred; run in verbose mode
for details
test_cmath
test test_cmath failed -- Traceback (most recent call last):
File
New submission from Terry J. Reedy tjre...@udel.edu:
cc=c()
bool(cc)
Traceback (most recent call last):
File pyshell#5, line 1, in module
bool(cc)
TypeError: __bool__ should return bool or int, returned int
This is slightly jarring.
Adding ' 0 or 1' after 'or int' would be nice (and
R. David Murray rdmur...@bitdance.com added the comment:
The error message is in error. Int is not allowed in 3.x, only bool.
This is thus superseded by issue 6428, which has already been fixed.
--
nosy: +r.david.murray
priority: - normal
resolution: - duplicate
stage: -
Vladislav kurto...@list.ru added the comment:
lambda: pass
SyntaxError: invalid syntax (pyshell#0, line 1)
lambda: pas
function lambda at 0x00F5C858
func_1=lambda: pas
func_1()
Traceback (most recent call last):
File pyshell#3, line 1, in module
func_1()
File pyshell#2, line 1, in
Casey McGinty casey.mcgi...@gmail.com added the comment:
I would like to open this ticket back up.
Python 2.6.2 docs still reference unimplemented 'from_address' method.
http://docs.python.org/library/multiprocessing.html#multiprocessing.managers.BaseManager.from_address
Andreas Kloeckner inf...@tiker.net added the comment:
Vladislav: The behavior you find funny is actually correct. pass is a
statement and as such not allowed in a lambda. (only expressions are)
Your posting is unrelated to this bug report. If you're still confused,
please ask on
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Yes, but did you try to press OK? Regedit displays a warning that empty
lines are not allowed, and *removes* them.
--
___
Python tracker rep...@bugs.python.org
Changes by Casey McGinty casey.mcgi...@gmail.com:
--
nosy: +cmcginty
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5862
___
___
Python-bugs-list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
PIPE_BUF was introduced for the subprocess module to use it... on posix
platforms only.
r73916 (trunk) and r73917 (py3k) add the suggested #ifdef, and also fix
test_subprocess.
--
nosy: +amaury.forgeotdarc
resolution: - fixed
Changes by Jesse Noller jnol...@gmail.com:
--
resolution: fixed - accepted
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3518
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6333
___
___
Python-bugs-list mailing list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Fixed in r73918 (py3k) and r73920 (release31-maint). Thanks for the
report!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
However, sys.stdout|err can be assigned to some thing else
(eg: py.test assigning it to an open file object) .. in which case it
is legitimate to handle (close) such objects (handles) by who
created it (py.test).
@Sridhar: I disagree.
New submission from Daniel Waylonis d...@nekotech.com:
It's useful to see and example or two detailing how a program should be
invoked and the expected results.
I'd like to add the example keyword which will be printed below the
options: when the usage is displayed. It would not be formatted
Daniel Waylonis d...@nekotech.com added the comment:
Looking at the source, there's the undocumented epilog keyword, but it,
unfortunately is automatically pushed through the formatter, which would
not be desirable for the output.
--
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6423
___
___
Python-bugs-list
New submission from Lucas Prado Melo lucaspradom...@gmail.com:
I am pretty sure this patch is alright.
--
nosy: +lucaspmelo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6447
___
Andrew Ziem ahz...@gmail.com added the comment:
Yes, regedit does remove the blanks, but this bug report is about
QueryValueEx---not about SetValueEx :). There must be a way to read all
the values compatible with Windows
--
___
Python tracker
Rene Dudfield ill...@users.sourceforge.net added the comment:
Hi,
note -m on packages still works with python3.0 and python3.1. It works
by allowing a __main__.py file that gets called by -m.
This is a really annoying regression for python2.6. It's a fairly wide
spread feature too.
I can't
Nick Coghlan ncogh...@gmail.com added the comment:
It doesn't work in 2.6 or 3.0 because, as stated above, it was only due
to a bug that it even appeared to work at all in 2.5 (it was always
meant to be disallowed because it puts dodgy data in the import
machinery's internal records if you do
Ned Deily n...@acm.org added the comment:
Looks good and the patched patch also works in a py3k installer build.
BTW, Mark, I was curious as to why you were unable to reproduce the
problem with your own build. I should have mentioned that my testing
was with complete installer (framework)
Terry J. Reedy tjre...@udel.edu added the comment:
Phooey. I searched for 'bool TypeError' but it failed to return 6428.
I will ask on py-dev why not.
--
priority: normal -
resolution: duplicate -
stage: committed/rejected -
status: closed - open
Andrew Ziem ahz...@gmail.com added the comment:
Well, I no longer need QueryValueEx because I found out
win32file.MoveFileEx() does more easily what I need, but MoveFileEx (see
attachment for working example) shows that the Microsoft Window API
itself creates these invalid values
--
Changes by Alexey Shamrin sham...@gmail.com:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2931
___
___
Python-bugs-list
Rene Dudfield ill...@users.sourceforge.net added the comment:
hello,
thanks for the explanation of why it's that way.
Any ideas of a work around?
python2.5 has been out for ages now. Even if it was an accident, it's
the behavior people expect, and it's still a regression.
Also, why should
201 - 255 of 255 matches
Mail list logo