Stefan Krah stefan-use...@bytereef.org added the comment:
I guess this still needs to be fixed for Visual Studio.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13547
___
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13560
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2a2d0872d993 by Victor Stinner in branch 'default':
Issue #13441: Skip some locales (e.g. cs_CZ and hu_HU) on Solaris to workaround
http://hg.python.org/cpython/rev/2a2d0872d993
--
Antoine Pitrou pit...@free.fr added the comment:
Brian's patch looks ok to me. There's a missing newline (or two) just before
test_main() but that can easily be fixed on commit.
--
nosy: +pitrou
stage: - commit review
versions: +Python 3.3 -Python 3.2
Antoine Pitrou pit...@free.fr added the comment:
Tim, do you happen to know what the goal was with the threading._VERBOSE hack
and the undocumented _Verbose class?
--
nosy: +pitrou, tim_one
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
The first hunk of the patch doesn't look right: ntransfercmd() is supposed to
return the connection but the with statement closes it.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7ffe3d304487 by Victor Stinner in branch 'default':
Issue #13441: Enable the workaround for Solaris locale bug
http://hg.python.org/cpython/rev/7ffe3d304487
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
I collected the locale list triggering the mbstowcs() bug thanks my previous
commit:
* hu_HU (ISO8859-2): character U+3020
* de_AT (ISO8859-1): character U+3076
* cs_CZ (ISO8859-2): character U+3020
* sk_SK
Serg Asminog akudov...@gmail.com added the comment:
dirname = 'A-Za-z\xc4\xd6\xdc\xe4\xf6\xfc\xdf'
Traceback (most recent call last):
File D:\temp\python bug\test.py, line 19, in module
file_object, file_path, description = imp.find_module(basename, [dirname])
UnicodeEncodeError: 'mbcs'
STINNER Victor victor.stin...@haypocalc.com added the comment:
@Serg Asminog: What is your Python version? What is your locale encoding
(print(sys.getfilesystemencoding())? What is your Windows version?
--
___
Python tracker rep...@bugs.python.org
New submission from STINNER Victor victor.stin...@haypocalc.com:
[333/363] test_multiprocessing
Timeout (1:00:00)!
Thread 0x000112d0b000:
File
/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/multiprocessing/connection.py,
line 411 in _recv
File
STINNER Victor victor.stin...@haypocalc.com added the comment:
I didn't see this failure again since the issue was opened, so I close it as
invalid.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
The Solaris buildbot is green, let's close it. I didn't report the bug
upstream. Feel free to report it to Oracle!
--
resolution: - fixed
status: open - closed
___
Python tracker
New submission from sbt shibt...@gmail.com:
If you pickle an array object on python 3 the typecode is encoded as a unicode
string rather than as a byte string. This makes python 2 reject the pickle.
#
Python 3.3.0a0 (default, Dec 8 2011, 17:56:13)
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +alexandre.vassalotti, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13566
___
___
sbt shibt...@gmail.com added the comment:
sbt, the bug is not that the encoding is inefficient. The problem is we
cannot unpickle bytes streams from Python 3 using Python 2.
Ah. Well you can do it using codecs.encode.
Python 3.3.0a0 (default, Dec 8 2011, 17:56:13) [MSC v.1500 32 bit
Antoine Pitrou pit...@free.fr added the comment:
Brett, issue 2919 had a patch that merges profile/cProfile for a while
now but nobody test it yet.
All I need it someone to download the patch, install it, test it on
some random script and tell me if it works. I don't need more.
I don't
Ezio Melotti ezio.melo...@gmail.com added the comment:
In the first patch I included this example:
+swapped = []
+for i in [0, 1, 2]:
+ ... swapped.append([row[i] for row in mat])
+ ...
+print swapped
+ [[1, 4, 7], [2, 5, 8], [3, 6, 9]]
Because I applied the following
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is expected and documented:
http://docs.python.org/py3k/reference/executionmodel.html#interaction-with-dynamic-features
Free variables are not resolved in the nearest enclosing namespace, but in the
global namespace., a free
Serg Asminog akudov...@gmail.com added the comment:
print(sys.getfilesystemencoding())
print(os.name)
print(sys.version)
print(sys.version_info)
print(sys.platform)
-
mbcs
nt
3.2.2 (default, Sep 4 2011, 09:07:29) [MSC v.1500 64 bit (AMD64)]
sys.version_info(major=3, minor=2, micro=2,
Serg Asminog akudov...@gmail.com added the comment:
Also
Traceback (most recent call last):
File D:\temp\python bug\test.py, line 20, in module
file_object, file_path, description = imp.find_module(basename, [dirname])
ImportError: No module named mymodule
with python 2.6.6
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops, it's not sys.getfilesystemencoding(), but locale.getpreferredencoding()
which is interesting. Can you give me your locale encoding?
--
___
Python tracker rep...@bugs.python.org
Stephan R.A. Deibel sdei...@wingware.com added the comment:
Ah, thanks, there it is... I thought this must be dealt with somewhere but
couldn't find it. Maybe should add something to the 'exec' statement docs
http://docs.python.org/py3k/library/functions.html#exec to reference this (from
a
maniram maniram maniandra...@gmail.com added the comment:
The problem is that pickle is calling array.array(u'i',[1,2,3]) and array.array
in Python 2 doesn't allow unicode strings as a typecode (typecode is the first
argument)
The docs in Python 2 and Py3k doesn't specify the type of the
James C. Ahlstrom jahl...@gmail.com added the comment:
Problem was reported on 2.7. I will check in detail this weekend. Please
stand by.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1757072
Serg Asminog akudov...@gmail.com added the comment:
cp1251
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4352
___
___
Python-bugs-list mailing
sbt shibt...@gmail.com added the comment:
I suggest that array.array be changed in Python 2 to allow unicode strings
as a typecode or that pickle detects array.array being called and fixes
the call.
Interestingly, py3 does understand arrays pickled by py2. This appears to be
because py2
Éric Araujo mer...@netwok.org added the comment:
Ezio and I made further minor comments that can be handled by the person doing
the commit; I’d like to do it.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
New submission from Pami Ketolainen pami.ketolai...@gmail.com:
In case of authentication error, HTTPError gets initialized without file object
and constructor of addinfourl is not called. This means that url attribute is
not set and geturl() (inherited from addinfourl) raises AttributeError.
Pami Ketolainen pami.ketolai...@gmail.com added the comment:
Patch adapted to 3.3
--
Added file: http://bugs.python.org/file23893/httperror-geturl-fix-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13567
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3786
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
None of these two files is generated under Windows (_sysconfigdata.py by design
and _testembed because nobody volunteered to do it).
--
___
Python tracker rep...@bugs.python.org
James C. Ahlstrom jahl...@gmail.com added the comment:
I grabbed a 2.7.2 zipfile.py, and my original comments stand. If there is a
garbage at end of file patch, I can't find it; please provide a line number
or a hint. The user at yale.edu reports that the patch works. Here is a diff
of my
Jesús Cea Avión j...@jcea.es added the comment:
Victor, I have these notes I wrote down when I set up the OpenIndiana
buildbots. Maybe can be useful to you: (compiling from source)
* ncurses 5.7: Instalación estándar ./configure --with-shared
--without-normal --enable-widec
STINNER Victor victor.stin...@haypocalc.com added the comment:
I wrote down when I set up the OpenIndiana buildbots
Hum, please use the issue #13552 for curses issues on OpenIndiana/Solaris.
... de funciones: mvwchgat y wchgat
See issues #3786 and #13552 for this problem.
I installed
Stefan Krah stefan-use...@bytereef.org added the comment:
Excellent, closing then.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13547
New submission from Gianluigi Tiesi sher...@gmail.com:
When using the 'DATE' datatype in a sqlite3 db and type converters are enabled
the function in sqlite3/dbapi2.py fails
I'm not sure why sqlite3 returns something like 10-JAN-11, but the function
expects a ts
example:
import sqlite3
d =
Antoine Pitrou pit...@free.fr added the comment:
sbt, the bug is not that the encoding is inefficient. The problem is we
cannot unpickle bytes streams from Python 3 using Python 2.
Ah. Well you can do it using codecs.encode.
Great. A bit hackish but functional and not too inefficient
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8620e6901e58 by Victor Stinner in branch '3.2':
Issue #5905: time.strftime() is now using the locale encoding, instead of
http://hg.python.org/cpython/rev/8620e6901e58
New changeset bee7694988a4 by Victor Stinner in
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5905
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I fixed issue #5905 (strptime fails in non-UTF locale). The fix is not enough
if the locale is changed in Python.
Update the patch to fix time.strftime() (if wcsftime() is not available).
--
Added file:
Roger Serwy roger.se...@gmail.com added the comment:
The patch won't apply against 3.3a0 because self.set_saved(1) became
self.set_saved(True) in r70054 (da7a120c0478)
After correcting this minor point, the patch works as expected.
--
nosy: +serwy
versions: +Python 3.3
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2919
___
___
Python-bugs-list
New submission from Nikita Pchelin nikita.pche...@gmail.com:
I've wrote a little application that uses multiprocessing module:
https://github.com/jango/PC/blob/master/pc/pc-example.py
When I run it in my Linux setup, I get the expected output (Python 2.7.1+):
2011-12-09 14:16:29,014 Started
Antoine Pitrou pit...@free.fr added the comment:
Yes, Windows needs to pickle objects which are sent to (or returned from) a
child process. Now you should wonder why you are sending a threading lock to
the child. Are you sure this is deliberate?
--
nosy: +pitrou
versions: +Python 2.7,
STINNER Victor victor.stin...@haypocalc.com added the comment:
The FreeBSD 7.2 3.x buildbot is green.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11886
Nikita Pchelin nikita.pche...@gmail.com added the comment:
I am not sending locks explicetly (i.e. I am not using locks), but I do
pass a Queue object from PC instance to _Consumer and _Producer instances
that get/put values from/to the queue -- this is done deliberately.
2011/12/9 Antoine
Antoine Pitrou pit...@free.fr added the comment:
I am not sending locks explicetly (i.e. I am not using locks), but I do
pass a Queue object from PC instance to _Consumer and _Producer instances
that get/put values from/to the queue -- this is done deliberately.
Is it a Queue.Queue or a
Nikita Pchelin nikita.pche...@gmail.com added the comment:
It's multiprocessing Queue:
from multiprocessing import Process, Queue, Event
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13569
New submission from Stefan Krah stefan-use...@bytereef.org:
I just ran the telco benchmark ...
http://www.bytereef.org/mpdecimal/quickstart.html#telco-benchmark
... on _decimal to see how the PEP-393 changes affect the module.
The benchmark reads numbers from a binary file, does some
Roger Serwy roger.se...@gmail.com added the comment:
This is a duplicate of #4832.
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10364
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
thank you for this fix.
I agree a posteriori.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11886
___
Antoine Pitrou pit...@free.fr added the comment:
I don't think it's the queue. Try removing the logger instead (or creating it
in the child).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13569
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b3c1a504ebc1 by Florent Xicluna in branch 'default':
Closes #2979: add parameter 'use_builtin_types' to the SimpleXMLRPCServer.
http://hg.python.org/cpython/rev/b3c1a504ebc1
--
nosy: +python-dev
resolution:
ekorn jono...@gmail.com added the comment:
https://github.com/ipython/ipython/issues/1109#issuecomment-3072571
It seems this was an IPython bug due to slight abuse of the shlex module.
Closing as invalid; thanks for your help.
--
resolution: - invalid
status: open - closed
R. David Murray rdmur...@bitdance.com added the comment:
set to True, either before the wait call or after the wait starts
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13502
___
R. David Murray rdmur...@bitdance.com added the comment:
And just for your information, as far as I know *no one* knows what standard
(or model) non-posix mode shlex is based on.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Here's the patch:
http://hg.python.org/cpython/rev/cc3255a707c7/
I thought I remembered getting it in to 2.7.2, but my memory is evidently
wrong. It has been applied, but is not yet in the released version of 2.7.
--
Florent Xicluna florent.xicl...@gmail.com added the comment:
Updated with documentation.
Thank you for the review.
I know this does not cover different namespaces in subtree.
But this use case seems very specific. The user could find other means to
achieve it.
--
stage: patch review -
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eb30f2becb79 by Antoine Pitrou in branch '3.2':
Issue #13528: rework the performance question in the programming FAQ
http://hg.python.org/cpython/rev/eb30f2becb79
New changeset 9fe28f52eaaa by Antoine Pitrou in
Antoine Pitrou pit...@free.fr added the comment:
Done.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13528
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13570
___
___
Python-bugs-list mailing list
Nikita Pchelin nikita.pche...@gmail.com added the comment:
Hi Antoine,
* If I don't pass a logger and do print statements instead, works like a
charm.
* If I getLogger() in the child instead, example fails with the same trace.
However, according to this (
Antoine Pitrou pit...@free.fr added the comment:
If I getLogger() in the child instead, example fails with the same trace.
That sounds rather unlikely. Are you sure you don't store the logger in your
process' __init__ method? The __init__ method is called in the parent and the
process
Nikita Pchelin nikita.pche...@gmail.com added the comment:
Are you sure you don't store the logger in your process' __init__
method? The __init__ method is called in the parent and the process
instance is transfered to the child when you call start() on the process.
To make sure we are on the
Mathieu Pasquet mathi...@mathieui.net added the comment:
What is the state of that feature, as of today?
--
nosy: +mathieui
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1410680
___
New submission from maniram maniram maniandra...@gmail.com:
Automatically save files in IDLE's editor which are not saved to backup file(s)
(perhaps in .idlerc) every minute.
If IDLE crashes, save all files that are not saved to backup file(s) and then
re-raise the error (like a finally
Terry J. Reedy tjre...@udel.edu added the comment:
Showing both was the intent of my comment. Since I am about 60:40 on that, I
was and am willing for you, having grabbed and pushed the issue, to drop the
half-expanded version if you thought it better. With or without, we have
improved this
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
status: open - closed
superseder: - idle filename extension
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10364
___
Changes by John O'Connor tehj...@gmail.com:
--
nosy: +jcon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13521
___
___
Python-bugs-list mailing
maniram maniram maniandra...@gmail.com added the comment:
+1 for atomic and more robust
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13521
___
Changes by maniram maniram maniandra...@gmail.com:
--
type: - feature request
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13571
___
Changes by Stefan Behnel sco...@users.sourceforge.net:
--
nosy: +effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13378
___
___
Stefan Behnel sco...@users.sourceforge.net added the comment:
Given that this is a major new feature for the serialiser in ElementTree, I
think it's worth asking Fredrik for any comments.
--
___
Python tracker rep...@bugs.python.org
74 matches
Mail list logo