Changes by Finkregh finkr...@mafia-server.net:
--
nosy: +Finkregh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633941
___
___
Python-bugs-list
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
Could you please add this change to test_urllib2.py as well?
It has the following line:
localaddr = socket.gethostbyname(socket.gethostname())
But urllib2.py has the change related to this bug.
That makes test_urllib2
Michael Buckley newslett...@codefisher.org added the comment:
You might want to check out what Django does, as they have the working well.
http://docs.djangoproject.com/en/dev/
--
nosy: +codefisher
___
Python tracker rep...@bugs.python.org
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Attached is a unit test which tests the issue.
Unfortunately, since it uses the resource module to limit memory to a workable
size, it will only work on Unix.
The given patch appears to fix the issue well.
I think this should be taken
Ross Lagerwall rosslagerw...@gmail.com added the comment:
A py3k patch against revision 87228.
--
Added file: http://bugs.python.org/file20049/i6791_py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6791
Yevgeniy shchemele...@gmail.com added the comment:
Have you confirmed that the same server is listening on port 993 as is
listening on port 143?
I found that is mistake in courier-imap(-ssl) configuration.
I have some troubles with it configuring(may by incorrect certificates).
When i make
Steve Moran s...@uw.edu added the comment:
(Forehead slap.)
On Tue, 14 Dec 2010, Matthew Barnett wrote:
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
The regex module is intended to replace the re module, so its default
behaviour is the same: in Python 2, regexes default
Senthil Kumaran orsent...@gmail.com added the comment:
Zsolt,
The change in the urllib2 was at a place where tuple of all local ips
were required.
In test_urllib2, which testcase failed?
Also, can you make this change and see if this helps in your case.
- localaddr =
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1975
___
___
Python-bugs-list
Florian Berger fber...@florian-berger.de added the comment:
I can confirm that this issue persists in Python 3.1.2 on win32. The patch by
cgohlke from 2010-10-22 fixes the problem here as well.
--
nosy: +fberger
versions: +Python 3.1
___
Python
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
The test which failed was HandlerTests.test_file, and I'm using python 2.7.1.
socket.gethostbyname('localhost') returns 127.0.0.1 which is ok, but in the
unittest it's already tested (line 671).
The problem is that my /etc/hosts
Senthil Kumaran orsent...@gmail.com added the comment:
+localaddr = socket.gethostbyname_ex(socket.gethostname())[2][0]
May not be a generic solution, because in another system the other ip
could be first in the list. Because the failure was in the test_file,
which was basically
R. David Murray rdmur...@bitdance.com added the comment:
help no longer segfaults, but the find_module call still does; updating title.
The patch does cure the segfault, but as Stefan says it isn't the best fix
since having 'file' in the error message instead of the real file name isn't
very
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
The order of the IP addresses doesn't matter as urllib2 is flexible enough to
handle all local IP addresses as local (that was the original bug - it handled
only one IP returned by gethostbyname which returned a random IP if there
Charles Duffy char...@dyfis.net added the comment:
Only the Comment field of a cookie is required by RFC2965 to support Unicode --
and several major browsers either mangle or discard cookies containing even
high-ASCII values.
Consequently, while some kind of unicode support is appropriate to
Antoine Pitrou pit...@free.fr added the comment:
First, I don't think the resource module needs to be used here. Second, I don't
see why getcode() would return 200. If no valid response was received then some
kind of error should certainly be raised, shouldn't it?
--
nosy: +pitrou
Antoine Pitrou pit...@free.fr added the comment:
Committed in r87261.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10706
New submission from Antoine Pitrou pit...@free.fr:
Title says it all.
--
assignee: brett.cannon
components: Documentation
messages: 124023
nosy: brett.cannon, pitrou
priority: normal
severity: normal
status: open
title: Misc/porting should be folded in to the development FAQ
versions:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +sable
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10656
___
___
Python-bugs-list mailing
New submission from Antoine Pitrou pit...@free.fr:
Sébastien, would you like to provide an updated version of that file? The
current contents look hopelessly outdated.
--
assignee: d...@python
components: Documentation
messages: 124024
nosy: d...@python, pitrou, sable
priority: normal
New submission from Antoine Pitrou pit...@free.fr:
I guess it was created for ease of hosting CGI scripts written in Python, but
is it still useful (or even functional) nowadays? Last updated goes back to
1998.
--
components: Demos and Tools
messages: 124025
nosy: brett.cannon,
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Fixed if( spacing and applied in r87265.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10667
R. David Murray rdmur...@bitdance.com added the comment:
I started out writing that there must be better stuff available now for doing
this, but a search on 'setuid wrapper' on google reveals mostly people asking
about or talking about rolling their own special purpose scripts.
That said,
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
Yes, it is (at the latest since msg124018).
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10509
Antoine Pitrou pit...@free.fr added the comment:
By the way, looking at the code, readline() without any parameter is used all
over http.client, so fixing only this one use case doesn't really make sense.
--
stage: unit test needed - needs patch
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
That's true. Near the bottom of the code, it says:
# The status-line parsing code calls readline(), which normally
# get the HTTP status line. For a 0.9 response, however, this is
# actually the first line of the body!
Limiting the
Antoine Pitrou pit...@free.fr added the comment:
That's true. Near the bottom of the code, it says:
# The status-line parsing code calls readline(), which normally
# get the HTTP status line. For a 0.9 response, however, this is
# actually the first line of the body!
Limiting the
New submission from Antoine Pitrou pit...@free.fr:
Both http.client and http.server claim to support HTTP 0.9. The HTTP 1.0 RFC
was filed in 1996, and 1.1 is most commonly used nowadays. We should probably
rip off 0.9 support.
--
components: Library (Lib)
messages: 124032
nosy:
Changes by Antoine Pitrou pit...@free.fr:
--
title: Rip off HTTP 0.9 support - Rip out HTTP 0.9 support
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
Ron Adam ron_a...@users.sourceforge.net added the comment:
Pydoc skips the badsysntax_pep3120 file for now. When this gets fixed that
workaround should be removed. The work around is commented and refers to this
issue #.
--
___
Python tracker
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9319
___
___
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file20052/removehttp09.patch
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file20052/removehttp09.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
Changes by Antoine Pitrou pit...@free.fr:
Added file: http://bugs.python.org/file20053/removehttp09.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
Changes by Bobby Impollonia bob...@gmail.com:
--
nosy: +bobbyi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue874900
___
___
Python-bugs-list
Changes by Bobby Impollonia bob...@gmail.com:
--
nosy: +bobbyi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
___
___
Python-bugs-list mailing
New submission from Daniel Stutzbach stutzb...@google.com:
Attached is a patch to add documentation for Py_ReprEnter and Py_ReprLeave.
Assigning to d...@python for review.
--
assignee: stutzbach - d...@python
keywords: +needs review, patch
nosy: +d...@python
stage: needs patch - patch
Eli Bendersky eli...@gmail.com added the comment:
Attaching a fix for Doc/distutils/apiref.rst and Lib/distutils/archive_util.py
in Python 3.2
If it's OK I will backport to other versions as well.
--
keywords: +patch
Added file: http://bugs.python.org/file20055/issue10693.py32.1.patch
Eli Bendersky eli...@gmail.com added the comment:
Updated patch with versionadded tag for the new methods
--
Added file: http://bugs.python.org/file20056/issue10516.5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10516
Eli Bendersky eli...@gmail.com added the comment:
Guys, this issue is pending for a long time. Anything else needed before a
commit is done?
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9264
Changes by Eli Bendersky eli...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9264
___
___
Python-bugs-list
Daniel Stutzbach stutzb...@google.com added the comment:
Would it be worth keeping (but modifying) test_http_0_9 to verify that the
server complains in the expected way?
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
Gregory P. Smith g...@krypto.org added the comment:
Ripping HTTP 0.9 support _out_ flys directly in the face of be lenient in
what you accept and strict in what you produce.
I do not mind removing support from http.server. But http.client needs to be
able to communicate with any random
Daniel Stutzbach stutzb...@google.com added the comment:
At minimum, I think we should apply this part of Antoine's patch:
-# Most web servers default to HTTP 0.9, i.e. don't send a status line.
-default_request_version = HTTP/0.9
+default_request_version = HTTP/1.0
--
Antoine Pitrou pit...@free.fr added the comment:
But http.client needs to be able to communicate with any random server
created since the dawn of time.
Well, that sounds a bit unreasonable...
Often on 8 bit microcontrollers that haven't been updated since 1994.
Anyone with such needs
Antoine Pitrou pit...@free.fr added the comment:
Would it be worth keeping (but modifying) test_http_0_9 to verify that
the server complains in the expected way?
Actually, I don't think the server will complain, since the request is legit.
It will send back a full response with status line
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: michael.foord - ezio.melotti
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10573
___
Terry J. Reedy tjre...@udel.edu added the comment:
Since Éric grabbed Assigned To:, I was expecting him to ;=). But since he is
doing enough other stuff, I will unless there are conflicts in the .rst I do
not know how to fix.
--
status: pending - open
Antoine Pitrou pit...@free.fr added the comment:
Patch with adapted tests.
--
Added file: http://bugs.python.org/file20061/removehttp09-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10711
Éric Araujo mer...@netwok.org added the comment:
My current schedule is a bit crazy and I’ve had no time for Python bugs.
I changed “programming” to “programmatic”, slightly tweaked the phrasing for
the --ignore-* options to make them hopefully more understandable and similar,
and committed
Terry J. Reedy tjre...@udel.edu added the comment:
Éric beat me. Better that he finish.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9264
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +eli.bendersky, terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
Éric Araujo mer...@netwok.org added the comment:
Minor whitespace and markup edits make r87273. Please review and tell me if
it’s okay for backport or if there are further improvements to be done first.
I promise I won’t beat anyone ;-)
--
___
Éric Araujo mer...@netwok.org added the comment:
I was persuaded there was already a bug open with a patch adding bytes and
bytearray in the sequence methods table, but I can’t find it.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
New submission from Ezio Melotti ezio.melo...@gmail.com:
The attached patch against 2.7 adds a new fixer to 2to3 that replaces
deprecated unittest method names with the correct ones.
There are a few issues:
1) only the safe renamings are included; the
assert[SameElements|ItemsEqual|CountEqual]
Eli Bendersky eli...@gmail.com added the comment:
Éric,
The nested methods are nice, though a bit unusual IMHO. Is this the recommended
new way to markup methods of objects? [Because AFAIK it's not used much in
other docs]
--
status: open - pending
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
status: open - closed
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1628205
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I was persuaded there was already a bug open with a patch adding
bytes and bytearray in the sequence methods table, but I can’t find it.
I can't find it either, but this issue is different. I propose renaming
String
Terry J. Reedy tjre...@udel.edu added the comment:
Added tweak to .__chain_b to avoid creating list of b2j.keys and .items be
deleting from b2j in separate loop after creating sets. Test with timeit
suggests time about same with 1% deletion. r87276
--
resolution: - fixed
status: open
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: pitrou -
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9990
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: pitrou -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8844
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
dependencies: -Make gettimeofday available in time module
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8844
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: pitrou -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10538
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Patch extended to cover shutil, which has gained _make_{tar,zip}file in 2.7 and
3.2, and committed in all three branches in r87277 to r87279.
Will be fixed in distutils2 the next time I synchronize d2._backport.shutil.
--
assignee:
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: pitrou -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5218
___
___
Python-bugs-list
Mark Florisson markflorisso...@gmail.com added the comment:
Ok I attached a new patch that solves the things you mentioned. It can debug
Python inferiors with versions 2.6+. Execution control commands (py-{run, cont,
finish, step, next}) and py-exec need gdb 7.2+, py-break works with 7.1+.
It
Gregory P. Smith g...@krypto.org added the comment:
Given the 6961 issue I'm happy to change my position and say we nuke the 0.9
client support.
Anyone who _needs_ that can grab this old code or write trivial code for their
poor server's needs.
--
Éric Araujo mer...@netwok.org added the comment:
Fixed in [4f2da1ec00a2] (distutils2), r87280 (3.2), r87201 (3.1), r87282 (2.7).
Thanks to you both.
--
resolution: accepted - fixed
stage: - committed/rejected
status: pending - closed
___
Python
Éric Araujo mer...@netwok.org added the comment:
I have not read email RFCs, so I will defer to you. One suggestion for the
patch, though: Use example.org instead of rusty.com (see RFC 2606).
I tried the examples in Icedove (free Thunderbird), either it finds a matching
contact or it refuses
Jonathan Halcrow jonathan.halc...@gmail.com added the comment:
I think I've come across a related problem. I am experiencing a segfault when
NFC-normalizing a certain string [1].
The crash occurs with 2.7.1 in OS X (built from source with homebrew).
Here is the backtrace:
#0 0x0025a96e in
Antoine Pitrou pit...@free.fr added the comment:
I can reproduce the crash under 2.7, but not 2.6 or 3.x here. So it might be a
separate issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10254
Antoine Pitrou pit...@free.fr added the comment:
After a bit of debugging, the crash is due to the skipped array being
overflowed in nfc_nfkc() in unicodedata.c. cskipped goes up to 21 while the
array only has 20 entries. This happens in all branches (but only crashes in
2.7 right now for
Martin v. Löwis mar...@v.loewis.de added the comment:
2to3 patches should currently be made against and checked into the sandbox.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10712
Éric Araujo mer...@netwok.org added the comment:
Patch applied after small editions in [a8e0f46fccbd] (distutils2), r87283
(3.2), r87285 (3.1), r87287 (2.7).
--
resolution: accepted - fixed
stage: - committed/rejected
status: pending - closed
title: distutils tricks you into thinking
R. David Murray rdmur...@bitdance.com added the comment:
I don't see any reason to use example.com in tests that are not talking to the
network and aren't documentation.
The interesting question about the other mailers is, if you *receive* an email
with such an address (1) what does it show
Éric Araujo mer...@netwok.org added the comment:
The nesting allows logical grouping in source and output, saves a bit of
typing, and has been added to a number of files by Benjamin Peterson. I’d say
it’s recommended :)
--
status: pending - open
R. David Murray rdmur...@bitdance.com added the comment:
On the other hand, putting a real domain name that belongs to somebody else
into our code base even as a test string is probably impolite without asking,
so I'll change it when I commit.
--
Antoine Pitrou pit...@free.fr added the comment:
I think this is a bit misleading. These functions are only needed if you are
implementing a container. For the general case where you don't display another
Python object in your repr() (or you only display objects which are themselves
atomic,
Éric Araujo mer...@netwok.org added the comment:
Missing markup for one ``None`` added in r87289 and following revisions for
maintenance branches.
--
resolution: accepted - fixed
stage: patch review - committed/rejected
status: pending - closed
___
Daniel Stutzbach stutzb...@google.com added the comment:
Good point. My perspective is skewed by all of the time that I spend working
on container types. :-)
How about if I change the first sentence to the following?
Properly implementing :attr:`tp_repr` for container types requires
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg113018
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7694
___
Éric Araujo mer...@netwok.org added the comment:
I checked again and found those files to be fixed in 3.2: (in Lib/distutils)
command/register.py command/sdist.py dist.py extension.py. Instances of
self.warn or file.warn are false positives, they are logging calls.
The situation is different
Antoine Pitrou pit...@free.fr added the comment:
How about if I change the first sentence to the following?
Properly implementing :attr:`tp_repr` for container types requires
special recursion handling.
This looks good to me.
--
___
Éric Araujo mer...@netwok.org added the comment:
Yes, it’s either impolite or free advertisement.
Ideas to receive such a malformed email: Use a valid email in From but not in
Reply-To; write it by hand and put it in your maildir.
--
___
Python
Changes by Daniel Stutzbach stutzb...@google.com:
Added file: http://bugs.python.org/file20071/repr-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8753
___
Éric Araujo mer...@netwok.org added the comment:
Possibly related: #9840
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8753
___
Antoine Pitrou pit...@free.fr added the comment:
Committed in r87292. Thank you for doing this!
--
resolution: accepted - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Guidelines for someone wanting to make a patch:
http://wiki.python.org/moin/Distutils/FixingBugs
I’m adding the easy keyword to let a sprinter or bug-day newcomer find this and
write a test. The fix itself may be more difficult, since the
Daniel Stutzbach stutzb...@google.com added the comment:
Thanks. New patch attached with a cross-reference to reprlib.recursive_repr.
--
Added file: http://bugs.python.org/file20072/repr-3.patch
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Patch LGTM, except for “As examples” which I’ve never read before (but I’m not
a native speaker).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8753
Éric Araujo mer...@netwok.org added the comment:
For the record, I have started work on this, then stopped due to lack of time.
I’ll get back to it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10191
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9322
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Updated guidelines: http://wiki.python.org/moin/Distutils/FixingBugs
is it currently impossible to test the current svn version of
distutils in the current svn version of Python?
It is. Branches that get bugfixes are 3.2, 3.1 and 2.7; each one
Adrian Sampson asamp...@cs.washington.edu added the comment:
Great. I've added a simple example to the documentation for argparse. I also
added a space to the comma separator in the alias list, but I'm worried that
adding 'aliases:' will make the help less readable (especially if every command
Łukasz Langa luk...@langa.pl added the comment:
Georg, be our hero here. I would be disappointed if this missed 3.2 and made us
wait another 18 months (or 3 years for Linux distribution inclusion) for that
feature.
This feature makes the first edition of argparse in py3k complete in terms of
Éric Araujo mer...@netwok.org added the comment:
Looks good and ready to me.
Regarding “alias” in help text, note that Mercurial prints it (using one line
for them) but Subversion puts aliases in parentheses just after the main
command name, which works very for me (not a beginner). Stephen,
New submission from Ralph Corderoy ralph-pythonb...@inputplus.co.uk:
The re module defines \b in a regexp to need \w one side and \W the other.
What about when the end of the string or line is involved? perlre(1) says
that's treated as a \W. Python should precisely document that case too.
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Well, I can submit a patch if anyone is interested.
I came across this when writing asynchronous network code. By hanging onto the
Py_buffer, I should have access to the data during the network call. But it
only worked for true
1 - 100 of 113 matches
Mail list logo