Changes by Kelda kel...@gmail.com:
Removed file: http://bugs.python.org/file16790/datastructures.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4570
___
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Rietveld link: http://codereview.appspot.com/810044/show
This patch changes unittest.TestLoader.loadTestsFromName() so that ImportErrors
will bubble up when importing from a module with a bad import statement.
Before the method
Philip Jenvey pjen...@underboss.org added the comment:
I committed a somewhat different version of this patch to py3k to handle the
warn options now calling for wchars, but this needs more work. Some of the
buildbots are unhappy
Seems like the py3k version either needs to fully decode the env
Pascal Chambon chambon.pas...@gmail.com added the comment:
Thanks for the doc patch, if you don't mind I'd just add the paragraph below
too, to clarify the fact that logger levels are only entry points levels,
ignored he rest of the time. There might be slight redundancies with the rest
of
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
I also found out that, according to RFC 3629, surrogates
are considered invalid and they can't be encoded/decoded,
but the UTF-8 codec actually
STINNER Victor victor.stin...@haypocalc.com added the comment:
I also found out that, according to RFC 3629, surrogates
are considered invalid and they can't be encoded/decoded,
but the UTF-8 codec actually does it.
Python2 does, but Python3 raises an error.
(...)
I wonder how
New submission from anatoly techtonik techto...@gmail.com:
It would be convenient for debug to execute single test_method or TestClass.
Running all tests in file can take a long time.
--
components: Tests
messages: 102524
nosy: techtonik
severity: normal
status: open
title: regrtest
anatoly techtonik techto...@gmail.com added the comment:
regrtest [options] test_file.TestClass
regrtest [options] test_file.test_method
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8332
Michael Haubenwallner michael.haubenwall...@salomon.at added the comment:
This very same problem happens (with Python-2.6.2) on AIX5.3 now too, after
upgrading to:
$ oslevel -s
5300-08-09-1013
Unlike before (comparing with old build logs), this AIX5.3 now provides flock()
in sys/file.h and
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fix checked into trunk (r79888).
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8331
Mark Dickinson dicki...@gmail.com added the comment:
It's surprising that test_ulonglong fails, while test_longlong passes: can the
Linux Sparc ABI really be treating these two types differently?
Maybe more information could be gained by supplying a more interesting test
value than 42---some
Michael Haubenwallner michael.haubenwall...@salomon.at added the comment:
Ohw, looking on another machine, being AIX5.3 TL6:
$ oslevel -s
5300-06-00-
Here flock() is provided in libbsd.a(shr.o) (32bit only) too, but it isn't
declared in any header-file. So that recent AIX5.3 patchset just
anatoly techtonik techto...@gmail.com added the comment:
Added unittest for tab with and without set filedate.
Removed #7583 dependency with NORMALIZE_WHITESPACE.
--
Added file: http://bugs.python.org/file16797/issue7585.difflib-tab-unittest.diff
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I have just studied the issue in detail; v8.S is indeed missing support for
unsigned long long. Here is a patch.
--
keywords: +patch
nosy: +loewis
Added file: http://bugs.python.org/file16798/sparc.diff
Martin v. Löwis mar...@v.loewis.de added the comment:
Committed as r79892.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8314
___
Yaniv Aknin yaniv.ak...@gmail.com added the comment:
I've zero experience with programming bluetooth (to be honest, I only tackled
this bug because I'm learning how to contribute to Python and it seemed
ultra-easy), so I'm not an authoritative source on whether such a 'loopback'
test is
Martin v. Löwis mar...@v.loewis.de added the comment:
This is not a bug in the code, but in the application. You are passing a date
before 1980; this is not supported in zipfiles. Try passing 1980 instead of 1.
I think the error message could be better, though; it should probably be a
Cyril c...@excellency.fr added the comment:
Here is a patch that implements SSLSocket.get_mode/set_mode, with the
SSL_MODE_ENABLE_PARTIAL_WRITE and SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER constants
defined in the ssl module.
The patch contains a test case and documentation. It's made against
Yaniv Aknin yaniv.ak...@gmail.com added the comment:
It seems to me that subprocess is protected against this flaw. Python 2.x has a
pure-Python implementation of the child logic (which is susceptible to an
unrelated issue). Python 3.x has a C implementation which falls back to
pure-Python if
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8271
___
___
Python-bugs-list
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
I just found a one line example of the problem:
EnumValue(HKEY_PERFORMANCE_DATA, 0)
Traceback (most recent call last):
File stdin, line 1, in module
WindowsError: [Error 234] More data is available
Other functions are also
anatoly techtonik techto...@gmail.com added the comment:
Great analysis!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
___
___
New submission from Stefan Krah stefan-use...@bytereef.org:
On Windows/amd64, I get loads of pickling errors in test_multiprocessing.
Type 1 error:
Traceback (most recent call last):
File string, line 1, in module
File C:\Users\stefan\svn\trunk\lib\multiprocessing\forking.py, line 347, in
Stefan Krah stefan-use...@bytereef.org added the comment:
Committed in trunk (r79885), py3k (r79886) and release31-maint (r79891).
Thanks for the review!
--
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Brian Curtin cur...@acm.org:
--
assignee: - brian.curtin
priority: - normal
stage: - needs patch
versions: -Python 2.4, Python 2.5, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
Changes by Brian Curtin cur...@acm.org:
--
assignee: brian.curtin -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3672
___
___
Python-bugs-list mailing list
Unsubscribe:
Antoine Pitrou pit...@free.fr added the comment:
The patch adds a new feature, which makes it unsuitable for 2.6. I guess it
could be applied to the 2.7 trunk, although a beta is being released and I'm
not sure new features are really welcome afterwards. This one is really small
and
Tim Golden m...@timgolden.me.uk added the comment:
Seeing the same thing on 32-bit WinXP on x86
On 07/04/2010 14:34, Stefan Krah wrote:
New submission from Stefan Krahstefan-use...@bytereef.org:
On Windows/amd64, I get loads of pickling errors in test_multiprocessing.
Type 1 error:
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com:
The Windows RegQueryValue function returns a registry value without returning
the corresponding type information (e.g., REG_SZ for string, REG_BINARY for
binary data, REG_DWORD for a 32-bit number, etc.).
The corresponding
Changes by Brian Curtin cur...@acm.org:
--
components: +Extension Modules -Library (Lib)
nosy: +brian.curtin
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8334
___
Jasmit jsi...@roguewave.com added the comment:
I was able to fix the issue by modifying and re-compiling ctypes project in
Visual Studio 2008. The following properties were modified:
Release:
configuration Properties-C/C++-Optimization-Optimization: Disabled(/Od)
configuration
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8334
___
___
Python-bugs-list mailing
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Jumped the gun here. RegQueryValue returns ERROR_DATA_INVALID if the value
isn't a string, so converting to Unicode is OK.
--
status: open - closed
___
Python tracker
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Added file: http://bugs.python.org/file16802/winreg_test.pach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
___
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
--
keywords: +patch
Added file: http://bugs.python.org/file16803/winreg.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Removed file: http://bugs.python.org/file16728/more_data_is_available.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
___
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Removed file: http://bugs.python.org/file16729/more_data_is_available2.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2810
___
Dave Malcolm dmalc...@redhat.com added the comment:
There's also a deprecation warning in that log:
/home/doko/buildarea/trunk.klose-debian-alpha/build/Lib/test/test_gdb.py:229:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
if e.message != 'unichr() arg not in
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
I've uploaded two patches (against trunk): one to add test cases that
demonstrate this bug and another to fix the bug.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
After tracing the code further I now understand what the original patch is
doing, and yes the spelling correction is the correct fix. (The issue is that
there are two different encodings involved: the input encoding in which the
body
R. David Murray rdmur...@bitdance.com added the comment:
This is a feature request, so it only applies to unreleased versions. It'll be
up to Benjamin whether it can go into 2.7, if the change is approved, since 2.7
is now technically in feature freeze.
The patch also needs unit tests.
I do
R. David Murray rdmur...@bitdance.com added the comment:
The unit test passes on trunk for me without the fix applied.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
R. David Murray rdmur...@bitdance.com added the comment:
Great, thanks. I'll check this in when the branch is unfrozen.
--
dependencies: -doctest should normalize tabs when comparing output
___
Python tracker rep...@bugs.python.org
New submission from jan matejek jmate...@suse.cz:
when running testsuite in a clean environment without pre-installed system
python, test_distutils fail in test_build_ext, test_get_outputs:
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
cannot find -lpython2.6
jan matejek jmate...@suse.cz added the comment:
see issue 8335
--
nosy: +matejcik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6022
___
___
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Thanks, David. Sorry about that. The test probably requires one additional
level of nesting so that parts_copy is not False:
+if not parts_copy or not module_not_found:
raise
--
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
___
___
Python-bugs-list
Jesse Noller jnol...@gmail.com added the comment:
When did this problem start?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
It was introduced in r79623, and the attached patch makes the problem
go away. I would be happy to apply it, but I perhaps you and Michael
could analyze if there are unwanted dependencies between multiprocessing
and unittest.
--
Changes by Stefan Krah stefan-use...@bytereef.org:
--
keywords: +patch
Added file: http://bugs.python.org/file16805/issue8333.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
___
New submission from Krauzi krauzi_g...@yahoo.de:
In the docs there is written:
PyObject_CallObject() is “reference-count-neutral” with respect to its
arguments.
This is not correct. Its only reference-count neutral if the call was
SUCCESSFUL otherwise the argument is INCREFED!
Can anyone
New submission from Martin v. Löwis mar...@v.loewis.de:
test_gdb fails on Sparc-Ubuntu, e.g.
http://www.python.org/dev/buildbot/trunk/builders/sparc%20Ubuntu%20trunk/builds/45/steps/test/logs/stdio
test test_gdb failed -- Traceback (most recent call last):
File
Martin v. Löwis mar...@v.loewis.de added the comment:
Test disabled in r79896.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8337
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
See also #8330, same failure, different buildbot.
Unless they need to be tracked separately I'll close this as duplicate
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
I expect the unittest tests will fail with that patch applied however... No
problem with switching to just using StringIO in unittest though - preferably
with a comment as to why.
--
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - duplicate
status: open - closed
superseder: - Failures seen in test_gdb on buildbots
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8337
Dave Malcolm dmalc...@redhat.com added the comment:
( #8330 has a patch for a DeprecationWarning )
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8337
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file16806/python-trunk-20100407-MINGW.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
Benjamin Peterson benja...@python.org added the comment:
Wouldn't it be nicer if mode was a property?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8240
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Perhaps we could run the multiprocessing tests unbuffered?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
___
Martin v. Löwis mar...@v.loewis.de added the comment:
BTW, this is also causing all Windows buildbots to fail.
--
keywords: +buildbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
priority: high - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
___
___
Charles-Francois Natali neolo...@free.fr added the comment:
I don't see any reasonale reason for mixing endianess inside a struct, and
don't know of any real-life protocol using per-item endianess.
Unless someone comes up with a good reason for doing so, and since no one else
seems to be
New submission from David W. Lambert b49p23t...@stny.rr.com:
http://docs.python.org/py3k/library/multiprocessing.html
Doc/library/multiprocessing.rst refers to SimpleHTTPServer.HttpServer. The
patch changes this to SimpleHTTPRequestHandler although you may prefer
Mark Dickinson dicki...@gmail.com added the comment:
I agree that this seems like something that would rarely be needed. If it's
really necessary, it's possible to break up the format and do the
packing/unpacking in fixed-endian pieces.
--
nosy: +mark.dickinson
resolution: -
New submission from Michael Glassford glassford...@gmail.com:
An unfortunate side-effect of this change:
http://svn.python.org/view/python/branches/release26-maint/Lib/urlparse.py?r1=66717r2=78235
which was made to fix this issue:
http://bugs.python.org/issue7904
is that
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
FWIW, I concur with Mark and Charles-Francois.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4484
Dave Malcolm dmalc...@redhat.com added the comment:
Both of the failing tests use set inside gdb to try to corrupt the memory of
the inferior process.
I believe the issue here is that reading through 0xDEADBEEF within gdb on this
machine isn't generating a RuntimeError; perhaps that _is_ a
Dave Malcolm dmalc...@redhat.com added the comment:
( #8330 has a patch which may fix this )
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8337
___
Michael Foord mich...@voidspace.org.uk added the comment:
TestResult creates its StringIO buffers even if they aren't use. I can create
them on first use and use StringIO.StringIO rather than cStringIO. Will fix now.
--
___
Python tracker
Michael Foord mich...@voidspace.org.uk added the comment:
Although merely switching to StringIO may not be enough. TestResult objects
keep a reference to sys.stdout when they are instantiated and you can't pickle
that either.
It is preferable for the reference to be taken at instantiation
Jason R. Coombs jar...@jaraco.com added the comment:
While trying to reproduce the transient test_tarfile errors, I found two more
tests that appear to be failing when symlinks cannot be created, now skipped by
patch 27.
--
Added file: http://bugs.python.org/file16809/windows symlink
New submission from Brian Curtin cur...@acm.org:
It looks like the bytearray documentation wasn't backported when the bytearray
code was. See Doc/library/functions.rst
--
assignee: georg.brandl
components: Documentation
messages: 102576
nosy: brian.curtin, georg.brandl
severity: normal
Michael Foord mich...@voidspace.org.uk added the comment:
Changing unittest.TestResult to use StringIO instead of cStringIO isn't
sufficient. regrtest.py also needs to use StringIO...
--
___
Python tracker rep...@bugs.python.org
Yaniv Aknin yaniv.ak...@gmail.com added the comment:
This affect 3.x as well.
Regardless of the exact version this will come out in, I think the only proper
solution is one with which we eventually, maybe in two versions' time, end up
with a behaviour that raises an exception upon double
Michael Foord mich...@voidspace.org.uk added the comment:
I believe this issue to now be fixed on trunk. We can close this when the
buildbots are passing again.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8333
R. David Murray rdmur...@bitdance.com added the comment:
To fix this, urlparse would have to differentiate between a null netloc and no
netloc characters specified at all. This could be done by using None for one
an '' for the other. I'm not sure that behavior change could be backported to
Michael Foord mich...@voidspace.org.uk added the comment:
Green build on Windows XP, trunk.
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%20trunk/builds/282
--
resolution: - accepted
stage: needs patch - committed/rejected
status: open - closed
Philip Jenvey pjen...@underboss.org added the comment:
Here's a patch for py3k using the same char2wchar as the argv decoder for
posix, and better windows handling. Plus an additional nonascii value test.
Patch is against r79980 for clarity
--
Added file:
New submission from David W. Lambert b49p23t...@stny.rr.com:
http://docs.python.org/py3k/library/multiprocessing.html
Indentation is incorrect as displayed and copied from google chrome browser:
from multiprocessing import Process
def f(name):
print('hello', name)
if __name__ ==
New submission from Jason R. Coombs jar...@jaraco.com:
While trying to work out a failing
test_platform.PlatformTest.test_architecture_via_symlink, I found a more
fundamental problem.
In the build environment, python.exe depends on pythonXX.dll being in the same
directory as sys.executable
Jason R. Coombs jar...@jaraco.com added the comment:
This attached patch against the py3k branch adds a test that reproduces the
described behavior.
--
keywords: +patch
Added file: http://bugs.python.org/file16811/reproduction as test.patch
___
Brian Curtin cur...@acm.org added the comment:
I have this fixed locally in a version of your os.symlink patch. The solution
is to add the directory sys.executable is from to os.environ[Path], then that
test should pass the custom environment when the subprocess is created. I meant
to update
Jason R. Coombs jar...@jaraco.com added the comment:
I've been fighting a failing test in test_platform (when
test.support.can_symlink() is True). Turns out the problem is caused by the
fact that the Python DLL cannot be resolved when the executable isn't in the
same directory (which is the
Changes by Jason R. Coombs jar...@jaraco.com:
Removed file: http://bugs.python.org/file16196/windows symlink draft 25.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1578269
___
Changes by Jason R. Coombs jar...@jaraco.com:
Removed file: http://bugs.python.org/file16761/windows symlink draft 26.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1578269
___
Jason R. Coombs jar...@jaraco.com added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8342
___
___
Python-bugs-list
Michael Glassford glassford...@gmail.com added the comment:
It caused a minor issue with the Schemes extension for Mercurial: the output
changed, which caused a unit test to fail. I'm pretty sure I have a Mercurial
patch to fix that issue, however.
--
Matt Bond bo...@uoguelph.ca added the comment:
I've attached a patch that fixes this particular idiom as well as a problem
with the handling of bare 'print' statements. It also includes updated tests
for these issues.
--
keywords: +patch
nosy: +zxaos
Added file:
90 matches
Mail list logo