Barry A. Warsaw ba...@python.org added the comment:
I'm mildly uncomfortable advocating many different new dot directories in $HOME
(e.g. .python2.7 .python3.1 .python3.2). Let's say -0. Also, because of
backward compatibility, I think most configuration files will end up being
similar
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I'm attaching the patch, which works for me.
- New, private variable (_PYTHONNOSITEPACKAGES) disables addition of
site-packages directories to sys.path.
- regrtest.py always runs test_site.py in a subprocess.
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
What is the data type returned by your get_msg? I bet it is string,
and email can't handle messages in string format that have non-ASCII
characters
(Now i see that the local names 'box', 'mbox' and 'mailbox' have become
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Added file: http://bugs.python.org/file20584/python-2.7-issue1674555.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1674555
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Fri, Jan 28, 2011 at 2:44 PM, Alexander Belopolsky
rep...@bugs.python.org wrote:
..
Also, isn't day supposed to be space- rather than 0- padded?
To the best of my understanding, rfc 2060 requires space-padded day
Glyph Lefkowitz gl...@twistedmatrix.com added the comment:
I would still prefer
~/.local/something-parallel-to-where-it's-usually-installed for its ease of
documentation. But ~/.python/X.Y isn't terribly objectionable.
A minor point about Michael Foord's fallback proposal: I don't know why
Joe Peterson j...@skyrush.com added the comment:
Also, isn't day supposed to be space- rather than 0- padded?
This is not clear to me. RFC2822 (referenced from RFC3501 for internal date)
discusses date formats, but as used in the header. In this case, day is
specified as ([FWS] 1*2DIGIT),
Joe Peterson j...@skyrush.com added the comment:
Our messages crossed... :)
Hm, I see that in RFC 3501, as well (which obsoletes 2060).
But... I wonder: does (SP DIGIT) / 2DIGIT mean that 1 and 01 are both
OK? It seems ambiguous to me.
I still don't see why major IMAP servers are
R. David Murray rdmur...@bitdance.com added the comment:
Well, that's a bunch of code, and I'm afraid I don't know what your answer to
my question was. What error do you get now if you use the new version of
mailbox3.patch?
If you feed the new mailbox/email bytes, it will preserve the bytes
Terry J. Reedy tjre...@udel.edu added the comment:
There are other gui libraries with Python interfaces that you can look at. I
agree that something in doc about how to feed data from multiple threads would
be nice.
--
nosy: +terry.reedy
type: crash - behavior
versions: +Python 3.2
Martin v. Löwis mar...@v.loewis.de added the comment:
See PEP 382: http://www.python.org/dev/peps/pep-0382/
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11037
___
R. David Murray rdmur...@bitdance.com added the comment:
Added two more tests of non-ASCII. I think the tests now cover the necessary
cases.
I still want to do a full code review tomorrow, but I think the patch is in
final form if anyone else is available to do a review as well.
Georg, are
Martin v. Löwis mar...@v.loewis.de added the comment:
That would be highly non-portable, and repeat the mistakes of
getdefaultlocale.
You say that often, but I don't really know why. It's certainly portable
between various Unix platforms, perhaps not Windows, but then i18n
on Windows is a
Changes by R. David Murray rdmur...@bitdance.com:
Added file: http://bugs.python.org/file20585/mailbox3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9124
___
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file20579/mailbox3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9124
___
Julien Miotte miotte.jul...@gmail.com added the comment:
Hey Eric,
Sorry for that, I should know better. I'll have a look at the other submitted
issues and I'll check they are still present in the latest version.
Regards.
--
___
Python tracker
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
I missed your mailbox3.patch, but now i've merged it in.
One error changed, it now happens when a re.search is applied to a header value
and thus seems to match what you say. I'm not able to understand this error
this evening,
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Martin v. Löwis:
It seems that your web browser replaces , with ,\t in the title (where
\t is a tab character) each time you add a comment.
--
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
More likely, it's my email reader. Sorry about that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6203
___
Brett Cannon br...@python.org added the comment:
The attached patch has all tests passing when run under coverage.py. Most
places are flat-out skipped since there is no good way around the tests short
of coding up a second set of test values. Plus editing doctests to have
optional values is
Julien Miotte miotte.jul...@gmail.com added the comment:
My bad, works fine with r903:c3cf81fc64db.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11044
___
Changes by Julien Miotte miotte.jul...@gmail.com:
--
resolution: - out of date
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11044
___
___
Changes by Julien Miotte miotte.jul...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11044
___
___
R. David Murray rdmur...@bitdance.com added the comment:
If you are using the most recent mailbox3 patch (I should have renamed it,
sorry...I've no done so to make it clear) you should be getting an error
message that tells you to use binary or Message. So I don't understand how you
are
Alex alex.gay...@gmail.com added the comment:
Just a note from downstream with PyPy: we've cherry-picked the commit Bob
linked into our copy of the 2.7 stdlib since we don't have an _json (yet).
--
nosy: +alex
___
Python tracker
Changes by Joe Peterson j...@skyrush.com:
Removed file:
http://bugs.python.org/file20557/imaplib_Time2Internaldate_locale_fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11024
___
Joe Peterson j...@skyrush.com added the comment:
Here's a new patch. I would still like to discuss the leading space vs.
leading zero issue, but I have reverted to using a leading space in this patch
- fewer changes that way.
The long line is also fixed (sorry about that - yes, long lines
Changes by Joe Peterson j...@skyrush.com:
Removed file:
http://bugs.python.org/file20444/imaplib_Internaldate2tuple_bytes_fixes_python32.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10939
Changes by Joe Peterson j...@skyrush.com:
Removed file:
http://bugs.python.org/file20587/imaplib_Time2Internaldate_locale_fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11024
___
Changes by Joe Peterson j...@skyrush.com:
Added file:
http://bugs.python.org/file20588/imaplib_Internaldate2tuple_bytes_fixes_python32.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10939
___
Changes by Joe Peterson j...@skyrush.com:
Added file:
http://bugs.python.org/file20589/imaplib_Time2Internaldate_locale_fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11024
___
New submission from Ivan Egorov egorich.3...@gmail.com:
email.utils.getaddresses behaves wrong in following folding cases (outer single
quote is not a part of value):
'A\r\n (B) c...@d.org'
'(A\r\n C) d...@e.org'
The misbehavior occurs in at least 2.6, 2.7 and branches/py3k.
Both these
Julien Miotte miotte.jul...@gmail.com added the comment:
This can reproduced with:
- distutils2 r903:c3cf81fc64db
- python 2.6.6
- Ubuntu 10.10
--
nosy: -eric.araujo, tarek, tarek-ziade
versions: +3rd party -Python 2.6
___
Python tracker
New submission from Antoine Pitrou pit...@free.fr:
Here are the system calls when importing a single pure Python module:
stat(/home/antoine/py3k/py3k/Lib/copyreg, 0x7fff1ed1f740) = -1 ENOENT (No
such file or directory)
open(/home/antoine/py3k/py3k/Lib/copyreg.cpython-32m.so, O_RDONLY) = -1
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11051
___
___
Python-bugs-list
Changes by Eric Smith e...@trueblade.com:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11032
___
___
Python-bugs-list mailing
Eric Smith e...@trueblade.com added the comment:
Release manager: You can decide if this fix should go in before 3.2. It's a
trivial fix to a crasher, but it's extremely unlikely anyone would trip over
it. It's been a crasher since 3.0.
It's also a crasher in 2.7, although there it's in the
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I would write the formatting code as follows:
('%2d-%s-%04d %02d:%02d:%02d %+03d%02d' %
((tt[2], _month_names[tt[1]], tt[0]) +
tt[3:6] + divmod(zone//60, 60)))
The above also assumes that month names are stored in a
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: belopolsky - georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10939
___
Changes by Joe Peterson j...@skyrush.com:
Removed file:
http://bugs.python.org/file20589/imaplib_Time2Internaldate_locale_fix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11024
___
Matt Joiner anacro...@gmail.com added the comment:
I have a few problems with these parts of the latest patch:
+ The second case may be used on Mac OS X and FreeBSD where *headers*
+ and *trailers* are arbitrary sequences of buffers that are written before
and
+ after the data from *in*
Joe Peterson j...@skyrush.com added the comment:
Not cryptic at all - looks great! New patch attached with associated tweaks.
--
Added file:
http://bugs.python.org/file20591/imaplib_Time2Internaldate_locale_fix.patch
___
Python tracker
Giampaolo Rodola' g.rod...@gmail.com added the comment:
I'm pretty sure that Solaris isn't the only platform that supports non-
socket file descriptors here, Linux (the platform I'm using), is one
such case.
No, sendfile() on Linux supports only socket file descriptors:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Should it be fixed in Python 3.2 or not? (load_verify_locations was introduced
with SSLContext in Python 3.2)
--
priority: high - release blocker
___
Python tracker
Carsten Klein carsten.kl...@axn-software.de added the comment:
Personally I believe that this is WONTFIX.
Why?
Because, the original RFC states that the colon is part of the unwanted
characters, regardless of whether Perl or other similar implementations ignore
the standard.
Besides that,
Antoine Pitrou pit...@free.fr added the comment:
Well, I think you can commit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10989
___
___
Carsten Klein carsten.kl...@axn-software.de added the comment:
One more: if you look closer at the accepted patch by CMLENZ over @ t.e.o., you
will find:
if self.req.headers_in.has_key('Cookie'):
-self.incookie.load(self.req.headers_in['Cookie'])
+
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11050
___
Matt Joiner anacro...@gmail.com added the comment:
Thanks for catching that:
Presently (Linux 2.6.9): in_fd, must correspond to a file which sup‐
ports mmap(2)-like operations (i.e., it cannot be a socket); and out_fd
must refer to a socket.
Despite the fact the manpage hasn't
Ned Deily n...@acm.org added the comment:
The attached temporary patch avoids the hang seen when IDLE is used with Cocoa
Tk 8.5 by removing the menu accelerator hints from IDLE's menu on OS X. The
keyboard accelerators still work when typed but the character hints are not
displayed on their
Changes by Ned Deily n...@acm.org:
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10940
___
___
New submission from Ned Deily n...@acm.org:
On OS X, the menu accelerators for the Save As and Save Copy As commands are
incorrect:
AreShould Be
SaveCmd-S Cmd-S
Save As.. Cmd-S Shift-Cmd-S
Save Copy As.. Shift-Cmd-S
Benjamin Peterson benja...@python.org added the comment:
2011/1/28 Eric Smith rep...@bugs.python.org:
Eric Smith e...@trueblade.com added the comment:
Release manager: You can decide if this fix should go in before 3.2. It's a
trivial fix to a crasher, but it's extremely unlikely anyone
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Shouldn't this just be an edit to config-keys.def?
Why does it need to hit EditorWindow.py?
Also, instead of killing keys, would it make sense
to remap them to other non-exploding keys?
--
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Looks fine.
--
nosy: +rhettinger
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11052
___
New submission from Ned Deily n...@acm.org:
When IDLE 3 is used with Aqua Tk 8.4 on OS X (as is the case with the
32-bit-only installer for Python 3.1.x or 3.2rc1), if the user tries to run a
Python program with a syntax error from an editor window, the Run command
causes the IDLE shell
Ned Deily n...@acm.org added the comment:
Just editing config-keys.def does not eliminate the problem. The hang seems to
occur because of the presence of any menu accelerator along with the detached
windows produced by tkinter.simpledialog.Dialog(). Looking at the Cocoa Tk
sources, there are
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10940
___
New submission from Ned Deily n...@acm.org:
During the 3.2rc1 release cycle, it was discovered that it was no longer
possible to build the 32-bit installer on OS X 10.5 as customary with the
system Python 2.5 due to an inadvertent 2.6 feature (with) added to the OS X
installer build script.
New submission from Ned Deily n...@acm.org:
With the menu accelerators corrected (as patched in Issue10940), IDLE 3.2 with
Cocoa Tk 8.5 opens two Save As dialog windows instead of one. This doesn't
happen when the Save As item is selected with the mouse nor does it happen with
Carbon Tk 8.4.
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Attached is a patch which tests about half the API.
Certain functions are not documented and/or it's not clear what they do, for
others it seems unlikely they are actually used nowadays (although I haven't
checked).
Also, it probably
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
+1 for reversion.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11054
___
Eli Bendersky eli...@gmail.com added the comment:
Giampaolo, FYI I'm also working (issue 11015) in parallel on documenting some
of the undocumented functions in Doc/library/test.rst that look useful to me. I
think we can collaborate here to make sure they're both documented and tested.
I'll
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11049
___
___
Python-bugs-list mailing
Changes by Eli Bendersky eli...@gmail.com:
--
stage: needs patch - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11049
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
OK, updated documentation and tests.
Why special case these? Why can't Mac OS X and FreeBSD write those manually
into the output file descriptor.
These can be a crucial part of certain protocols such as HTTP to ensure that a
minimal
Eli Bendersky eli...@gmail.com added the comment:
Giampaolo,
The patch looks good. Some minor comments below:
* class TestCase(unittest.TestCase): - why not give the test class a more
useful name?
* import_fresh_module is tested similarly to import_module - can't a test be
added that it
shirish shirisha...@gmail.com added the comment:
no programmer or anything. Just adding that the wikipedia link given is not
right. The correct link is
https://secure.wikimedia.org/wikipedia/en/wiki/XZ_Utils
Just my 2 paise.
--
nosy: +shirish
___
101 - 168 of 168 matches
Mail list logo