bairam bkom...@yahoo.com added the comment:
I have tested this form in Python26 ,It works
import subprocess
p = subprocess.Popen(cmd.exe dir, stdout=subprocess.PIPE)
p.communicate()
('Microsoft Windows XP [Version 5.1.2600]\r\n(C) Copyright 1985-2001 Microsoft
Corp.\r\n\r\nC:\\Python26',
Changes by Georg Brandl ge...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8177
___
Mark Dickinson dicki...@gmail.com added the comment:
Updated patch:
- put hash parameters into pyport.h, to avoid repetition; make them
available to Python code via a private attribute sys._hash_info.
- use a modulus of 2**61-1 on systems where SIZEOF_LONG = 8, and
a modulus of 2**31
Florent Xicluna florent.xicl...@gmail.com added the comment:
other py3k warnings silenced with r79187 r79188 r79189
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
Fixed with r79195 and r79196.
--
resolution: accepted - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Backported in r79197 (2.6).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7820
STINNER Victor victor.stin...@haypocalc.com added the comment:
thread fix commited: r78610 (trunk)
curses panel fix commited: r78635 (trunk)
Backport done in r79198 (2.6).
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited: r78638 (trunk)
Backport done: r79199 (2.6).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7544
STINNER Victor victor.stin...@haypocalc.com added the comment:
Fixed by r78641 (trunk)
Backport done: r79200 (2.6).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7494
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited: r78646 (trunk)
Backport done: r79201 (2.6).
--
resolution: remind - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1054943
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited to trunk: r78826 + r78827
Partial backport to 2.6 as r79204: leave import site error handler unchanged
(print the error and continue). I don't want to change Python behaviour between
minor releases.
--
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8063
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7783
___
___
Python-bugs-list
Fredrik Lundh fred...@effbot.org added the comment:
Hmm. I'm not entirely sure about giving False a meaning when None has
traditionally had a different (and documented) meaning. And sleeping on it
hasn't convinced me in either direction :-(
(well, I'd say no, but the compatibility argument
Fabian Groffen grob...@gentoo.org added the comment:
Is it necessary to file a new bug for the same issue, or can we reopen from
here? With Stuart in the loop it looks to me the raised issues are dealt with?
--
___
Python tracker
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8180
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
New patch: removed the offending codepoint '\ufad1'.
Please try again on OS X, and windows.
--
Added file: http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff
___
Python
Brian Curtin cur...@acm.org added the comment:
I'll reopen this for now, no need for duplicate issues.
http://www.python.org/psf/contrib/ has the relevant contributor agreement that
should be signed.
--
resolution: rejected -
status: closed - open
Michael Foord mich...@voidspace.org.uk added the comment:
Fixed as part of #7832.
--
resolution: accepted - fixed
stage: patch review - committed/rejected
status: pending - closed
___
Python tracker rep...@bugs.python.org
Matthias Klose d...@debian.org added the comment:
this change in its current form needs to be backed out of 2.6
done.
I'll check for uses of execlp and execlpe.
how should the divergency of execlp (raises ValueError), and execlpe (raises
IndexError) be handled?
--
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file:
http://bugs.python.org/file16611/issue8180_pep277_additions_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8180
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
New patch, fixing test_listdir on OS X (hopefully).
--
Added file: http://bugs.python.org/file16612/issue8180_pep277_additions_v3.diff
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Hello
Could you please write the revision number when you speak about a commit? Text
like “fixed in r4253” will become an helpful link.
Thanks
--
nosy: +merwok
___
Python tracker
George Sakkis george.sak...@gmail.com added the comment:
Is there any update on this for 2.7 ?
--
nosy: +gsakkis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745
___
Matthias Klose d...@debian.org added the comment:
reverted in r79190 on the 2.6 branch
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8154
___
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: -gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3783
___
___
New submission from Alexander Belopolsky alexander.belopol...@gmail.com:
Since issue1039 made it illegal to pass empty argument list to execv*, I
suggest to change signature of os.execl* functions and make arg0 a required
positional argument.
This is not a backward compatible change because
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Please see related issue8191.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8154
___
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3783
___
___
Python-bugs-list
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Link to revision: r57731
--
nosy: +Alexander.Belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1039
___
New submission from Christoph Burgmer cburg...@ira.uka.de:
'PRAGMA database.table_info(SOME_TABLE_NAME)' will report table metadata for
the given database. The main database called 'main', can be extended by
attaching further databases via 'ATTACH DATABASE'. The above PRAGMA should
respect
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
This issue was misclassified as an interpreter crash while in fact it was a bug
in the underlying OS utility. Please see discussion in issue8154.
Since the fix changes behavior, it should be documented and a NEWS entry
Matthias Klose d...@debian.org added the comment:
However since issue1039 change has not been released yet
os.execlp('true') does raise ValueError on released 3.x versions. sorry if I do
misunderstand something.
--
nosy: +doko
___
Python tracker
Florent Xicluna florent.xicl...@gmail.com added the comment:
Fixed with r79207 (2.x) and r79209 (3.x).
Thank you Michael for testing it.
--
resolution: accepted - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Mar 21, 2010 at 2:52 PM, Matthias Klose rep...@bugs.python.org wrote:
..
os.execlp('true') does raise ValueError on released 3.x versions. sorry if I
do misunderstand something.
My bad. I thought it was a more
New submission from Arkadiusz Miskiewicz
Arkadiusz Miskiewicz ar...@maven.pl:
Starting with zlib 1.2.4 zlib test suite fails with:
test test_zlib failed -- Traceback (most recent call last):
File /home/users/arekm/rpm/BUILD/Python-2.6.5/Lib/test/test_zlib.py,
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8191
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8193
___
New submission from Defert laurent_def...@yahoo.fr:
In the Transport class of the xmlrpclib module, the parse_response method
expects a File object but handles HTTPResponse's.
The regression was introduced in r73638.
A fix is attached.
--
components: Library (Lib)
files:
Antoine Pitrou pit...@free.fr added the comment:
Fixed in r79218 (trunk), r79220 (2.6), r79221 (py3k), r79222 (3.1). Thanks!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Clearly not enough information, but I have a few observations:
1. Clearly the crash occurs on exit (in Py_Finalize) during a module cleanup.
(Unfortunately it looks like a non-debug build of Python was used so figuring
Antoine Pitrou pit...@free.fr added the comment:
I committed the patch to trunk (r79226), only to discover that it caused
occasional failures in test_ftplib:
$ ./python -m test.regrtest -F test_ftplib
test_ftplib
test_ftplib
Exception in thread Thread-116:
Traceback (most recent call last):
Antoine Pitrou pit...@free.fr added the comment:
(using SSL_MODE_AUTO_RETRY doesn't fix the test_ftplib issue)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3890
___
Sean Reifschneider j...@tummy.com added the comment:
Sorry for the delay in getting to this patch.
I've reviewed this patch and it seems fine to me. The only thing I see
outstanding is the recommendation made by Alexandre about changing the C module
to also implement this.
Aaron: You may
Sean Reifschneider j...@tummy.com added the comment:
Ugh, I forgot to check the output of my test run before submitting the last
reply. With the patch applied, make test fails with:
test_pickle
Fatal Python error: Cannot recover from stack overflow.
Fatal Python error: Cannot recover from
Daniel Serodio dsero...@gmail.com added the comment:
Still doesn't work for me with Python 2.6.5 on Windows 7 64-bit, but apparently
for a different reason.
When I type p.communicate() as in bairam's example, it blocks with no output.
--
___
Python
Benjamin Peterson benja...@python.org added the comment:
Fixed in r79235.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6474
Changes by anatoly techtonik techto...@gmail.com:
--
versions: +Python 2.6, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1059244
___
Antoine Pitrou pit...@free.fr added the comment:
The intuitive explanation seems to be:
- there are some bytes available for reading on the *TCP socket*, therefore
asyncore calls the read handler
- however, there are not enough bytes for OpenSSL to actually decrypt any data,
which is why we
anatoly techtonik techto...@gmail.com added the comment:
I am creating packages for PyPI and they all are created wrong. If the module
is pure Python - 'bdist' should be equal to 'sdist'.
--
nosy: +techtonik
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1059244
___
___
Python-bugs-list mailing
Florent Xicluna florent.xicl...@gmail.com added the comment:
Now paths with spaces are explicitly rejected, after the upgrade to libffi
3.0.9. (Issue #8142)
--
nosy: +doko
resolution: - out of date
stage: patch review - committed/rejected
status: open - closed
STINNER Victor victor.stin...@haypocalc.com added the comment:
I commited unicode_fromformat_U.patch as r78875.
object_pyunicode_asstring-py3k.patch commited as r78876.
Backported as r79240 and r79241 to 3.1.
--
___
Python tracker
Carlos Ribeiro carribe...@gmail.com added the comment:
Thanks for investigating!
I'll keep watching. I'm currently developing a small Django app, and the
crash happened during one of the automatic reloads that the development
server do whenever a source code file changes. The problem is that I
Benjamin Peterson benja...@python.org added the comment:
It's a weird error even it reverse order:
def f(foo, *args):
... pass
...
f(*(1, 2, 3), foo=4)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: f() got multiple values for keyword argument 'foo'
Sean Reifschneider j...@tummy.com added the comment:
pickle_batch_list_exact_py3k.diff applies cleanly on current py3k trunk and
passes tests. cpickle_list.patch applies cleanly against 2.x trunk and passes
make test.
I don't see any objections brought up about this set of patches, so we can
STINNER Victor victor.stin...@haypocalc.com added the comment:
Backported to py3k as r78872
And backported to 3.1 as r79247.
But py3k will require extra work: there are some PyErr_Clear() somewhere,
eating the errors.
Leave this issue open until #8124 is fixed.
--
Ghislain Hivon jahe...@hotmail.com added the comment:
The reverse, f(*(1, 2, 3), foo=4), is consistent with
f(1,2,3, foo=4)
who also gave
TypeError: f() got multiple values for keyword argument 'foo'
Which is consistent with the tutorial
bairam bkom...@yahoo.com added the comment:
shell vs subprocess
The problem is the default option Shell is False , you you write commands
you should turn on the shell.
for example try this to show the content of directory C:\Python26
:
import subprocess
p = subprocess.Popen(dir,
Martin v. Löwis mar...@v.loewis.de added the comment:
Merged as r79248 and r79250.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6716
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Backported to py3k as r78872
And backported to 3.1 as r79247.
I reverted the change on initsite(): as for Python 2.6, I don't want to change
import site error handler between minor releases.
--
Bob Buckley b...@buckley.id.au added the comment:
I could not get it to open a write pipe. I am trying to drive GNUplot
from Python. It worked OK in Python 2.x but does not work well in 3.x.
I have it partially working now ... I am calling subprocess.Popen but I
cannot get a text mode pipe
New submission from STINNER Victor victor.stin...@haypocalc.com:
sqlite.connect(:memory:).create_collation, \uDC80, collation_cb) because
_PyUnicode_AsString() returns NULL and error, and the result is not checked.
Attached patch fixes the crash.
I didn't checked if the problem does also
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file16616/sqlite_collation-py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8195
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
(oops, my patch included tabulations!)
--
Added file: http://bugs.python.org/file16617/sqlite_collation-py3k.patch
___
Python tracker rep...@bugs.python.org
New submission from Santiago Gala sg...@apache.org:
import sqlite3
sqlite3.paramstyle
'qmark'
The documentation claims that sqlite3 accepts 'named' paramstyle, and
:PEP:`249` says in footnote 2:
Module implementors should prefer 'numeric', 'named' or
'pyformat' over the
Michael Foord mich...@voidspace.org.uk added the comment:
Committed revision 79263. As external modules are already using __unittest it
would be backwards incompatible not to restore the functionality.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open -
Michael Foord mich...@voidspace.org.uk added the comment:
Failfast option added, committed revision 79265. Still needs documentation.
Ctrl-C handling not yet done. Slightly more complex as it needs to play well
with tests that test SIGINT handling.
--
resolution: - accepted
New submission from STINNER Victor victor.stin...@haypocalc.com:
I wrote a patch to preallocate Python thread state before creating the thread
to avoid a fatal error: issue7544 (it's now closed). This patch is not enough
to avoid fatal errors in low memory condition.
Just after the creation
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
priority: - low
title: Fatal error on thread creation in low memory condition (2) - Fatal
error on thread creation in low memory condition: local storage
___
Python tracker
George Sakkis george.sak...@gmail.com added the comment:
FWIW I updated the patch to r79264; it applies cleanly and passes the tests but
other than that I can't tell if it's ready. It would be nice to have it in 2.7
though.
--
Added file:
STINNER Victor victor.stin...@haypocalc.com added the comment:
My first sentence doesn't mean anything! I wanted to write:
sqlite.connect(:memory:).create_collation, \uDC80, collation_cb) crashs
because _PyUnicode_AsString() returns NULL on error, and the result is not
checked.
--
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4735
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Fixed by r79271 (py3k), r79272 (3.1).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4282
R. David Murray rdmur...@bitdance.com added the comment:
A short snipped of example code that works in python2 and fails in python3
would be helpful in deciding whether or not this is a bug that needs fixing in
python3. Something that doesn't involve gnuplot, just python itself.
--
New submission from François Granade franc...@granade.com:
When the pydoc module is imported, and the sys.stdout is overwriten, a
end-of-line is sent to the console (on sdtout) when the help() function is sent.
to reproduce (this is on Python 2.5 but the same happens on Pythjon 3.1):
François Granade franc...@granade.com added the comment:
issue8198 is related.
Re. 1700304, it's easy to work around by writing
from pydoc import help
import sys
help.output = sys.stdout
help.input = sys.stdin
--
nosy: +farialima
___
Python tracker
Sean Reifschneider j...@tummy.com added the comment:
From a cursory glance, I don't see any problems with this patch. Though I
admit that I don't know the traceback code nearly as well as you, Amaury. The
tests pass on py3k trunk on my Linux box.
If you want other review, perhaps ask on
Changes by Sean Reifschneider j...@tummy.com:
--
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6543
___
___
Python-bugs-list
Ilya Sandler ilya.sand...@gmail.com added the comment:
I'm attaching a test for Ctrl-C behavior on Linux (the patch itself works on
Windows too, but I am not sure how to send Ctrl-C on windows programatically
and subprocess does not have this functionality either).
The test_pdb2.py module is
80 matches
Mail list logo