Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
This is the expected behavior; that's why the function takes an
encoding argument. As it returns a complete XML document, it must be
already encoded. Other methods return just document pieces, so str is
fine. Probably should be
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
I installed Python to C:\Program Files\Python\2.6\ and when I try to
run idle from the start menu, it doesn't work.
C:\Program Files\Python\2.6\Lib\idlelibpython idle.py
Traceback (most recent call last):
File idle.py, line 21,
Mark Dickinson dicki...@gmail.com added the comment:
The distinction between and = is fairly meaningless when applied to a
computed floating-point result. I think the docs should be fixed to
replace the with =. In any case, the b = N a bit has the
inequalities the wrong way around:
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r68716.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4984
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r68717.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4983
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r68718.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4976
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r68719.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4975
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r68720.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4974
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r68721.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4914
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Doc update
--
keywords: +patch
nosy: +gagenellina
Added file: http://bugs.python.org/file12784/random.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4979
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
checked in r68722, let's hope this fixes things.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4293
___
Antoine Pitrou pit...@free.fr added the comment:
Making this a duplicate of #4565 (Rewrite the IO stack in C).
If anyone disagrees, please reopen!
--
resolution: - duplicate
status: open - closed
superseder: - Rewrite the IO stack in C
___
Python
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1675951
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Marking this as a duplicate of #4565 Rewrite the IO stack in C.
--
resolution: - duplicate
status: open - closed
superseder: - Rewrite the IO stack in C
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Thanks, applied in r68724.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4979
Georg Brandl ge...@python.org added the comment:
Duplicate of #1729742.
--
resolution: - duplicate
status: open - closed
superseder: - missing int-Py_ssize_t in documentation
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
assignee: - georg.brandl
nosy: +georg.brandl
priority: normal - high
title: missing int-Py_ssize_t in documentation - Document effects of
PY_SSIZE_T_CLEAN on argument parsing
___
Python tracker
Hagen Fürstenau hfuerste...@gmx.net added the comment:
With the io-c branch I see much better unpickling performance than
before. But it still seems to be around 2 or 3 times slower than with
cPickle in 2.6.
Is this expected at this point of io-c development? Otherwise perhaps
this issue should
New submission from andrew cooke and...@acooke.org:
There's a small confusion in terminology in the documentation related to
methods that implement augmented assignment.
The Expressions section of the language reference (Simple
statements) refers to augmented assignment -
Georg Brandl ge...@python.org added the comment:
Fixed in r68725.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4857
___
Georg Brandl ge...@python.org added the comment:
I'm happy to review such a patch.
--
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4882
___
Antoine Pitrou pit...@free.fr added the comment:
Hello,
With the io-c branch I see much better unpickling performance than
before. But it still seems to be around 2 or 3 times slower than with
cPickle in 2.6.
It's much closer here.
With 2.7 (trunk) and cPickle:
0.439934968948
Jacob jacobe...@gmail.com added the comment:
I don't think thats the solution.
C:\Program Files\Python\2.6\ and
C:\Programas\Python\2.6\
are the same, as C:\Program Files\Python\2.6\ is a symbolic link to
C:\Programas\Python\2.6\ to allow compatibility with different
operation system languages.
Changes by Hagen Fürstenau hfuerste...@gmx.net:
Removed file: http://bugs.python.org/file11497/pickletst.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3873
___
Hagen Fürstenau hfuerste...@gmx.net added the comment:
I uploaded a new pickletst.py which specifies protocol 2, otherwise
we're comparing apples with oranges. With this I get:
0.211881160736
0.322369813919
for Python 2.6 and
0.158488035202
1.21621990204
on the io-c branch. Can you confirm
Antoine Pitrou pit...@free.fr added the comment:
Nice catch! I can confirm your figures with protocol=2 (and protocol=-1
as well).
--
resolution: duplicate -
status: closed - open
superseder: Rewrite the IO stack in C -
___
Python tracker
Georg Brandl ge...@python.org added the comment:
%f and %z are not standardized by C89 and therefore not always
available. They fall under the clause Additional directives may be
supported on certain platforms, but only the ones listed here have a
meaning standardized by ANSI C. which is noted
Michael Newman michael.b.new...@gmail.com added the comment:
It seems to be working consistently (see UTF-16 extreme example below),
but I had expected it to act similarly to Python 2.6, which it does not.
I suppose this is due to the distinction now made between strings and
bytes in Python 3.0.
Akira Kitada akit...@gmail.com added the comment:
How about svn rm svn.python.org/projects/distutils/ to avoid confusion?
--
nosy: +akitada
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4987
New submission from Akira Kitada akit...@gmail.com:
It might be not a bug, but I think it's weird to see
an ancient What's New link on the new Python tutorial page.
http://docs.python.org/tutorial/
--
assignee: georg.brandl
components: Documentation
messages: 80109
nosy: akitada,
Martin v. Löwis mar...@v.loewis.de added the comment:
I don't think thats the solution.
C:\Program Files\Python\2.6\ and
C:\Programas\Python\2.6\
are the same, as C:\Program Files\Python\2.6\ is a symbolic link to
C:\Programas\Python\2.6\ to allow compatibility with different
operation
Georg Brandl ge...@python.org added the comment:
Well, this isn't going to change; the last topic of the docs (and
therefore the previous one to the tutorial) is the 2.0 whatsnew.
--
resolution: - wont fix
status: open - closed
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Fixed in r68727.
IMO, augmented operation was an acceptable term -- the term operator
is not strictly limited to operators usable in expressions in Python.
However, since it's called augmented assignment everywhere else, it's
better here too for
andrew cooke and...@acooke.org added the comment:
thanks!
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4986
___
___
Python-bugs-list mailing list
Jacob jacobe...@gmail.com added the comment:
Great idea :)
Maybe we're starting to find the problem.
I'm using a Danish version of Windows Vista Home Premium SP1, and
C:\Programmer is the danish path for C:\Program Files.
I'll try that, and leave another message when i'we tried it.
Changes by Jesse Noller jnol...@gmail.com:
--
priority: - normal
type: behavior - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4892
___
New submission from Michał Pasternak michal@gmail.com:
I was looking for some library to handle calendar events. Something PIM-
style, something useful, that could check if, for example, 2 weekly
repeated events that start on Monday morning and last until December
conflict with each other.
Sandy Barbour sandybarb...@btinternet.com added the comment:
Over 3 years ago I wrote a plugin for the Xplane Flight Simulator.
This uses a SDK that Ben Supnik and myself created 6 years ago.
Our plugins are DLL's that our plugin manager DLL loads at run time.
The plugin embeds python and
Jesse Noller jnol...@gmail.com added the comment:
Checked into python-3000 as r68728
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3325
___
Changes by Jesse Noller jnol...@gmail.com:
--
resolution: accepted - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4449
___
___
Benjamin Peterson benja...@python.org added the comment:
We cannot just remove modules because of backwards compatibility. Feel
free to submit patches for improvements you would like to see in the module.
--
nosy: +benjamin.peterson
resolution: - rejected
status: open - closed
Martin v. Löwis mar...@v.loewis.de added the comment:
Committed as r68732, r68733.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4815
___
New submission from Maciek Fijalkowski fi...@genesilico.pl:
the reason is that it of course raises TypeError, since number of args
is wrong.
--
files: out.diff
keywords: patch
messages: 80121
nosy: fijal
severity: normal
status: open
title:
Jesse Noller jnol...@gmail.com added the comment:
This is a patch to fix the logging module, and remove the crufty code in
multiprocessing.
--
keywords: +needs review, patch
Added file: http://bugs.python.org/file12787/issue4301.patch
___
Python
Changes by Jesse Noller jnol...@gmail.com:
Removed file: http://bugs.python.org/file12787/issue4301.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4301
___
Jesse Noller jnol...@gmail.com added the comment:
fix copy/paste error, new patch
Added file: http://bugs.python.org/file12788/issue4301.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4301
___
Changes by Jesse Noller jnol...@gmail.com:
Removed file: http://bugs.python.org/file12788/issue4301.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4301
___
New submission from Benjamin Peterson benja...@python.org:
Since os.fdopen is now implemented with io.open, it doesn't use fdopen
and check for invalid file descriptors. This isn't a huge issue since
subsequent actions on the file will raise an error.
--
components: Library (Lib)
Benjamin Peterson benja...@python.org added the comment:
Thanks for noticing! Fixed in r68736.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4990
Jesse Noller jnol...@gmail.com added the comment:
fixed in r68737, merged to py3k in 68740
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4301
Antoine Pitrou pit...@free.fr added the comment:
Perhaps io.open should be fixed, then?
(or the _FileIO constructor)
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4991
___
Zlm zemari...@gmail.com added the comment:
Programas is the portuguese translation to Program Files.
I have just installed it to C:\Test\Python and IDLE is working!
The problem should be related to the Vista symbolic links.
___
Python tracker
Benjamin Peterson benja...@python.org added the comment:
Here's a patch for _FileIO.
--
keywords: +patch
Added file: http://bugs.python.org/file12790/raise_on_bad_fd.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4991
Martin v. Löwis mar...@v.loewis.de added the comment:
The problem should be related to the Vista symbolic links.
Unfortunately, it isn't as simple as install into a symbolic
link, and it fails. I created c:\temp - c:\tmp, and installed
into c:\temp (i.e. into the symlink), and it still worked
Mark Dickinson dicki...@gmail.com added the comment:
Looks good to me.
I'm not in a position to test with 16-bit wchar_t, but I can't see why
anything would go wrong. I think we can take our chances: check this in
and watch the buildbots for signs of trouble.
Some minor whitespace issues in
Brett Cannon br...@python.org added the comment:
The other option is to propose its removal on python-dev, get support,
and then submit patches for the module's deprecation.
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
New submission from Petr Viktorin encu...@gmail.com:
In the yield statement documentation
(http://docs.python.org/3.0/reference/simple_stmts.html#the-yield-statement),
the old way of calling generators is used:
The body of the generator function is executed by calling the
generator’s next()
Antoine Pitrou pit...@free.fr added the comment:
I think EBADF is defined everywhere, so you can drop the defined()
conditional.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4991
___
Benjamin Peterson benja...@python.org added the comment:
Attaching new patch...
Added file: http://bugs.python.org/file12791/raise_on_bad_fd2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4991
Antoine Pitrou pit...@free.fr added the comment:
I'm not sure Windows has a valid fstat btw, I'll guess we'll see on the
Windows buildbots (in that case, some code can be taken from
posixmodule.c to emulate fstat behaviour...). Other than that, the patch
looks fine to me.
Benjamin Peterson benja...@python.org added the comment:
Applied in r68755. Will watch Windows.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4991
New submission from Antoine Pitrou pit...@free.fr:
In importlib/_bootstrap.py, line 435 reads:
with closing(_fileio_FileIO(source_path, 'r')) as file:
which whould probably be:
with closing(_fileio._FileIO(source_path, 'r')) as file:
--
assignee: brett.cannon
Skip Montanaro s...@pobox.com added the comment:
Look at the oldest checkin comment for a line still in the module:
r2166 | guido | 1990-10-13 14:23:40 -0500 (Sat, 13 Oct 1990) | 2 lines
Initial revision
In short, it's been there for a long, long time. Long before PEPs.
Long before
New submission from simonbcn simon...@gmail.com:
Python 2.5.2
Ubuntu 8.04.1 64 bits
**
-- ATTEMPT 1 --
Python:
Popen(['mplayer','/tvixhd2/Pelis para montar/00049.m2ts','-msglevel
all=4','-vo null','-ao null','-vf cropdetect','-vid
Jesse Noller jnol...@gmail.com added the comment:
This issues was fixed on 2008-11-04 by Martin Loewis in r67098
Index: multiprocessing.h
===
--- multiprocessing.h (revision 67097)
+++ multiprocessing.h (revision 67098)
@@
New submission from Muayyad Alsadi als...@ojuba.org:
when I use transactions I got errors I won't get with sqlite3 cli
[als...@pc1 ~]$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type help, copyright, credits or license for more
Changes by Muayyad Alsadi als...@ojuba.org:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4995
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
Please investigate a bit more before posting.
Try the following:
Popen(['mplayer','/tvixhd2/Pelis para montar/00049.m2ts','-msglevel',
'all=4','-vo', 'null','-ao', 'null','-vf', 'cropdetect','-vid',
'4113','-frames', '500'])
--
nosy:
Antoine Pitrou pit...@free.fr added the comment:
What if you commit before the insert?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4995
___
Daniel Diniz aja...@gmail.com added the comment:
Maybe it's install into a symbolic link pointing to a path with spaces
in it, and idle fails?
--
nosy: +ajaksu2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3881
Changes by David W. Lambert lamber...@corning.com:
--
nosy: +LambertDW
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4994
___
___
Python-bugs-list
Brett Cannon br...@python.org added the comment:
Yeah, that code has not been tested yet as that is farther down the todo
list. Thanks for the catch!
Fixed in r68761.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Zach Hirsch zhir...@umich.edu added the comment:
Without msvc9compiler_stripruntimes.diff, or a patch like it, it doesn't
seem possible to use pywin32 (or other binary extensions) with
Python-2.6+ installed just for me (i.e., without the VC90 runtime
installed globally).
Using the python-2.6.1
73 matches
Mail list logo