New submission from Flávio Ribeiro :
Found a intermittent test on UnicodeFileTests.test_rename method.
Python Version: Python 3.3.0b1
Hg commit hash: 3fbfa61634de
MacOS X version 10.6.8
How can be reproduced:
bumblebee:~/dev/cpython[] $ for i in {1..10}; do ./python.exe -m test
test_pep277
Flávio Ribeiro added the comment:
For doc purposes:
My first shot is that in my machine the os.rename isn't atomic and this could
be generating an overhead somehow. Looking at the code, I found decisions being
made on posixmodule.c about what `rename` function should be used:
#
Flávio Ribeiro added the comment:
Hi Ned,
I've used ./configure --with-pydebug && make -j2
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
$ printenv | grep LC_
$ printenv| grep LANG
LAN
Flávio Ribeiro added the comment:
Ronald,
I thought it could be an `atomic` issue by the fact that test_rename transforms
a filename in tmp and then it change again to the original name. Not being
atomic, the rename will not finish the executation of the first one (even
though a return code
New submission from Flávio Ribeiro :
Looking for bugs to be solved on a cPython Sprint, Hynek reported at
core-mentorship list some Deprecation Warnings running the test suite in
regression mode.
This issue aims to solve this warnings.
--
components: Tests
messages: 165933
nosy
Flávio Ribeiro added the comment:
The patch remove this warning:
$ ./python.exe -Wm -m test test_ctypes
[1/1] test_ctypes
/Users/flavio.barbosa/dev/cpython/Lib/ctypes/test/test_bitfields.py:249:
DeprecationWarning: Please use assertEqual instead.
self.assertEquals(x.a, 10)
1 test OK
Flávio Ribeiro added the comment:
One issue per module will be created to facilitate the issues management.
--
title: Deprecation Warnings fixes on test suite -> Deprecation Warning fix on
ctypes module
___
Python tracker
<http://bugs.pyth
Changes by Flávio Ribeiro :
--
title: Deprecation Warning fix on ctypes module -> Deprecation Warning fix on
ctypes module test
___
Python tracker
<http://bugs.python.org/issu
New submission from Flávio Ribeiro :
Cookiejar calls some urllib.Request's deprecated methods. This patch fixes this
deprecated calls.
--
components: Extension Modules
files: cookiejar_fix_deprecated_method_calls.patch
keywords: patch
messages: 165956
nosy: flavio.ribeiro
pri
Changes by Flávio Ribeiro :
--
nosy: +meador.inge
___
Python tracker
<http://bugs.python.org/issue15409>
___
___
Python-bugs-list mailing list
Unsubscribe:
Flávio Ribeiro added the comment:
nice Meador :-)
Already sent the form to contribut...@python.org. Added also one diff to
Misc/ACKS, it's up to you add it or not.
Thanks
--
Added file: http://bugs.python.org/file26460/add_flavioribeiro_acks.
Flávio Ribeiro added the comment:
wow :) thank you!
--
___
Python tracker
<http://bugs.python.org/issue15409>
___
___
Python-bugs-list mailing list
Unsubscribe:
12 matches
Mail list logo