Gustavo De Nardin (spuk) gustav...@gmail.com added the comment:
We hit this problem with system-config-printer in Mandriva Linux
(https://qa.mandriva.com/show_bug.cgi?id=48158). Fixed it with this
patch
Sever Băneșiu banesiu.se...@gmail.com added the comment:
Looks like the test covering the pre-flush condition is missing.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4263
___
Georg Brandl ge...@python.org added the comment:
Only with security fixes IIRC. Letting Martin decide.
--
assignee: pitrou - loewis
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5389
New submission from Manuel Hermann manuel-herm...@gmx.net:
When sending unexpected data via a socket's sentdo method, a TypeError
is raised with the fallowing message: sendto() takes exactly 3
arguments (2 given). But two arguments are sufficient.
Examples for Python 2.x:
import socket
Retro vinet...@gmail.com added the comment:
I figured out why the installer didn't create an icon for the Python
interpreters in the Add/Remove Programs list. If I deselect the option
'Register Extensions' at installation time, I don't get an icon in the
Add/Remove Programs list. But if I leave
Mark Dickinson dicki...@gmail.com added the comment:
Would it be acceptable to use shorter float repr only on big-endian and
little-endian IEEE 754 platforms, and use the full 17-digit repr on other
platforms? This would greatly simplify the adaptation and testing of
Gay's code.
Notable
New submission from 徐洲 x...@163.com:
py3k 3.01
static int
update_compiled_module(PyCodeObject *co, char *pathname)
{
PyObject *oldname, *newname;
if (!PyUnicode_CompareWithASCIIString(co-co_filename,
pathname))
return 0;
/* string pathname related with FILE
徐洲 x...@163.com added the comment:
if directory have chinese word under windows system
load .py is passed
load .pyc get the utf-8 codec error...
i modified this code
wish this is helpful...
___
Python tracker rep...@bugs.python.org
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I believe this issue is duplicate of issue5273, and fixed yesterday. Can
you try latest svn checkout?
--
nosy: +ocean-city
___
Python tracker rep...@bugs.python.org
New submission from Chris Withers ch...@simplistix.co.uk:
Hi All,
I'm splitting this out from [Issue1823] as it's a separate issue.
Here's a minimal case to reproduce:
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
msg = MIMEMultipart()
Chris Withers ch...@simplistix.co.uk added the comment:
Okay, splitting this out a little. I've moved the exception when setting
character set after adding parts out to [Issue5423].
Here's a simpler example of the problem with setting character sets on
multiparts:
from email.MIMEMultipart
New submission from Philipp Hagemeister phi...@phihag.de:
Currently, the testStringToIPv6 and testIPv6ToStrings tests in
Lib/test/test_socket.py only check for variants 1 and 2 (but not 3) from
RFC 4291 2.2.
Furthermore, there are no assertions that check wrong inputs are
appropriately refused
徐洲 x...@163.com added the comment:
Oh... yes
this is fixed
thx a lot for u check out
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5422
___
___
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
--
dependencies: +3.0.1 crashes in unicode path
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5422
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
--
dependencies: -3.0.1 crashes in unicode path
superseder: - 3.0.1 crashes in unicode path
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5422
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Fixed in r70189.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5385
___
New submission from Hagen Fürstenau hfuerste...@gmx.net:
In Python 2.6 we have
types.StringTypes
(type 'str', type 'unicode')
but 2to3 translates types.StringTypes into str, which is obviously
wrong. The attached patch changes it into (str, bytes).
--
components: 2to3 (2.x to 3.0
Guido van Rossum gu...@python.org added the comment:
Sounds good to me.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1580
___
___
Python-bugs-list mailing
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
+1 on the fallback strategy for platforms we don't know how to handle.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1580
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
More two cents which I noticed. (After the patch was applied)
1. On windows, resize for anonymous map can clear its contents.
import mmap
m = mmap.mmap(-1, 10)
m[:] = 0123456789
m[:]
'0123456789'
m.resize(20)
m[:]
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
- Sorry for having clear solution for this.
+ Sorry for having no clear solution for this.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2733
New submission from Mitchell Model m...@acm.org:
Line 136 of the 3.0 README and line 179 of the 3.1 README state that the
executable on OSX is called python.exe. It's not.
--
assignee: georg.brandl
components: Documentation
messages: 83203
nosy: MLModel, georg.brandl
severity: normal
Georg Brandl ge...@python.org added the comment:
So it is just called python?
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5426
___
___
Python-bugs-list
Guido van Rossum gu...@python.org added the comment:
What makes you think it is not called python.exe? Maybe you're confused
by the Finder's auto-hiding of externsions?
--
nosy: +gvanrossum
resolution: - invalid
status: open - closed
___
Python
Ilya Sandler isand...@users.sourceforge.net added the comment:
It appears that the different behavior results from trying to preserve
backward compatibility with earlier version of Python
see: http://bugs.python.org/issue1229380
___
Python tracker
Guido van Rossum gu...@python.org added the comment:
Well, this one is technically a security fix, though I have no idea how
it could be exploited unless you offer your users a facility to execute
arbitrary Python code.
___
Python tracker
Mitchell Model m...@acm.org added the comment:
Nothing on OSX is ever named .exe.
On OSX building and installing Python with configure
--enable-framework installs an executable just called 'python' in
/Library/Frameworks/Python.framework/Versions/3.1/bin (using 3.1 as
an example). It also
Guido van Rossum gu...@python.org added the comment:
That sentence however does not refer to the name of the installed Python
binary, but the binary as it is built in the source tree (or a build
directory). And there we chose to call it python.exe because we
couldn't call it python because
DSM dsm...@users.sourceforge.net added the comment:
Commenting only to draw attention to the trivial typo in
mp_distributing.py, because jnoller's post on the mailing list reminded
me about it.
___
Python tracker rep...@bugs.python.org
New submission from Mitchell Model m...@acm.org:
Trying to build 3.1 in recent 'svn update's on OSX 10.5 after
make clean
configure --enable-framework
I get the following error near the end of the build:
ld: duplicate symbol _PyExc_BlockingIOError in
libpython3.1.a(_iobase.o) and
Jesse Noller jnol...@gmail.com added the comment:
Totally missed this issue, thanks for commenting. Will get on this soonish
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3320
___
Jesse Noller jnol...@gmail.com added the comment:
Assigning to me to resolve final issue
--
assignee: georg.brandl - jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3320
___
hhas h...@users.sourceforge.net added the comment:
No idea, be honest. The original patch was created for 2.3, and I've no
free time to look into it myself now.
BTW, note that nobody uses this module any more; it's deprecated in 2.6,
absent in 3.0, and OSAGetAppTerminology() is deprecated in
Benjamin Peterson benja...@python.org added the comment:
It's hard to guess the intention of types.StringTypes since it may mean
text strings or text and byte strings. I'm tempted to just remove
the transformation at all and issue a warning.
--
nosy: +benjamin.peterson
Mitchell Model m...@acm.org added the comment:
Whoops! It didn't say the executable that gets built is called
python.exe, but it is in the build section, so taking things
literally, yes, the executable is called python.exe and I maybe
should have taken it at its word.
There's a subtle
Changes by Benjamin Peterson benja...@python.org:
--
priority: release blocker - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1717
___
___
Changes by Christophe Simonis simonis.christo...@gmail.com:
--
nosy: +Christophe Simonis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4331
___
Pascal Chambon chambon.pas...@gmail.com added the comment:
Thansk a lot for reviewing the problem
Indeed, p.wait() seems to do the trick in this case.
Is there any global way to avoid such pipe problems ? I mean, in any
case, one end of each pipe has to be closed before the other end, so
such
Benjamin Peterson benja...@python.org added the comment:
Patch looks good. Please apply.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5334
___
Changes by Benjamin Peterson benja...@python.org:
--
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5421
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I agree it is technically a security fix, so somebody please feel free
to commit it. I will make another 2.5 release when enough of these have
accumulated, or something urgent happens, or somebody wants to see a
release really badly :-)
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: works for me -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5390
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I give this low priority, i.e. might not work on it for several months
(or ever). Contributions are welcome.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5390
Martin v. Löwis mar...@v.loewis.de added the comment:
I agree with Benjamin. Translation into (str, bytes) is incorrect. I
don't agree that it is obvious that the translation into str is incorrect.
Recommend closing as reject.
--
nosy: +loewis
___
Guido van Rossum gu...@python.org added the comment:
OK, submitted.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5389
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5425
___
New submission from Michel Weinachter mic...@weinachter.com:
I have created a variable named liste_de_courses when I use Alt-P to
gather a previous command and modify it I have the following error:
liste_de_courses.append(’b')
SyntaxError: invalid
Benjamin Peterson benja...@python.org added the comment:
2009/3/5 Sever Băneșiu rep...@bugs.python.org:
Sever Băneșiu banesiu.se...@gmail.com added the comment:
Looks like the test covering the pre-flush condition is missing.
That test is no longer applicable because max_buffer_size is
Georg Brandl ge...@python.org added the comment:
The code you pasted contains a non-ASCII quote (’).
--
nosy: +georg.brandl
resolution: - invalid
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5428
Benjamin Peterson benja...@python.org added the comment:
This should be fixed as of r70198. Make sure to run make clean.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Antoine Pitrou pit...@free.fr:
It has been happening for a few days now... may be related to the IO-C
merge.
http://www.python.org/dev/buildbot/3.x.stable/
--
components: Tests
messages: 83227
nosy: benjamin.peterson, pitrou
priority: high
severity: normal
status:
Luk Knapen luk.kna...@telenet.be added the comment:
File $python/lib/python3.0/logging/handlers.py
Line 782 : a bytes object is required instead of a string.
As a consequence, encoding shall be specified : but which one ?
Is :
self.socket.sendto(msg, self.address)
Should look like :
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment:
Patch covering all files in a single patch.
* Updated warning message
* Updated multiprocessing tests to avoid calls to empty and full
* Placed deprecation warning in multiprocessing methods
* Update wsgui to avoid
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment:
Hi JP,
I experimented with stacklevel but to be honest nothing I saw appeared
greatly more useful than the default for the tests in question.
What form would the unit tests take? Trying to assert that empty() and
full() raised a
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: rhettinger - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5420
___
Changes by Tennessee Leeuwenburg tleeuwenb...@gmail.com:
Removed file: http://bugs.python.org/file13252/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5420
___
Changes by Jesse Noller jnol...@gmail.com:
--
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5420
___
___
Python-bugs-list mailing
Jesse Noller jnol...@gmail.com added the comment:
Quote:
Issues:
* Noticed no warnings raised as a result of changes to
multiprocessing: ergo multiprocessing.queue empty() and full() methods
are not currently getting test coverage
? I need to check this.
R. David Murray rdmur...@bitdance.com added the comment:
I have now had time to test this. My use case (reading text from a pipe
and wanting the most recent complete line returned immediatly as it
is avaialable) is satisified by both the io.py code and the io c
code from the py3k branch. I
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5323
___
Benjamin Peterson benja...@python.org added the comment:
You should test that the warnings are given by the deprecated methods.
Look at test_py3kwarn for an example of how to do that.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5420
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
As part of issue #2636 group references now work in lookbehinds.
However, your example:
(?=(...)\1)abc
will fail but:
(?=\1(...))abc
will succeed.
Why? Well, in lookbehinds it searches backwards. In the first regex it
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Committed in r70203(py3k)
--
priority: release blocker -
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5334
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment:
Now, with unit tests... :)
Added file: http://bugs.python.org/file13253/queue_patch3.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5420
Daniel Diniz aja...@gmail.com added the comment:
Reviewers: ,
Message:
While this is a test issue, the attached diff is a crude first draft of
a patched upload.py that makes linking to the Python Tracker a bit
easier.
Here's the command line and output:
$ python static/upload.py -R 400608 -F
Daniel Diniz aja...@gmail.com added the comment:
Reviewers: ,
Description:
This is a very long line. I am wondering how it will be wrapped. What
will happen to this exceedingly long line? Will it be wrapped? Will it?
Really? What will happen?
Here's an example:
def fact(n):
if n 1:
Guido van Rossum gu...@python.org added the comment:
This is specific to the Python tracker, which Rietveld tries to avoid.
You could maintain this as a locally modified version, but a better
approach would be to make just enough changes to upload.py itself so
that you can write the rest of this
Hagen Fürstenau hfuerste...@gmx.net added the comment:
Why I considered the existing translation incorrect was because it
translates something which was a tuple of types in Python 2.x into a
type of Python 3.x. I fail to see how this can be useful. (A check like
x in types.StringTypes gets
New submission from Memeplex carlosjosep...@gmail.com:
For example, after that normalization, quoted printable encoded
headers (as described at rfc 2047) longer than 76 characters are
splitted in two different ill-formed headers because the soft LF line
break becomes a hard CRLF one. This is
Changes by Memeplex carlosjosep...@gmail.com:
--
title: Must not replace LF or CR by CRLF in literals - imaplib: must not
replace LF or CR by CRLF in literals
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5430
70 matches
Mail list logo