[issue10845] test_multiprocessing failure under Windows

2011-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: On xp, changing from -m test to -m test.regrtest removed the extra craziness during and after the test run that I reported on pydev. I think making at least a tempory fix to whatever -m test runs should be a release blocker so only individual tests and not th

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-07 Thread Pierre Quentel
Pierre Quentel added the comment: Option 1 is impossible, because the CGI script sometimes has no control on the stream : for instance on a shared web host, it will receive sys.stdin as a text stream I also vote for option 3 ; explaining that if no argument is passed, the program will use sy

[issue9920] test_cmath on atan fails on AIX

2011-01-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-01-07 Thread Mark Dickinson
Mark Dickinson added the comment: [Nick] > @Mark: I don't think that follows. [...] > If the exporter actually needs to release buffer specific > resources, then it should maintain an internal data structure keyed off > the Py_buffer address. Ah, okay. So that would make issue 9990 just a do

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-01-07 Thread Mark Dickinson
Mark Dickinson added the comment: > an internal data structure keyed off > the Py_buffer address. If we're using the Py_buffer address coming into getbuffer as a key, then we probably shouldn't be using a stack address, since it would be difficult to guarantee uniqueness that way. -

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-07 Thread STINNER Victor
STINNER Victor added the comment: Le vendredi 07 janvier 2011 à 02:19 +, Nadeem Vawda a écrit : > Most of these leaks seem to stem from the fact that socket.SocketIO.close() > doesn't behave as documented. According to its docstring, it is meant to > decrement the underlying socket's refco

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-07 Thread STINNER Victor
STINNER Victor added the comment: We may also accept TextIOWrapper (eg. sys.stdin) *and* BufferedReader/FileIO (eg. sys.stdin.buffer). It is possible to test the type of the stream. With a TextIOWrapper, the raw buffer can be read using stream.buffer. But for StringIO/BytesIO: only BytesIO shou

[issue10812] Add some posix functions

2011-01-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: > it's a bit asymmetric that gethostname is in the socket > module and supports Windows, and sethostname is in the POSIX > module. It would be useful to have a gethostname in the POSIX > module also which is a) POSIX only and b) supports embedded > NUL byte

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-01-07 Thread Nick Coghlan
Nick Coghlan added the comment: It only needs to be unique for the lifetime of the buffer reference - for a Py_buffer struct on the stack, by the time the relevant C stack frame goes away, ReleaseBuffer should already have been called. -- ___ Pytho

[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

2011-01-07 Thread Nick Coghlan
Nick Coghlan added the comment: As per the discussion over in issue #10181, I've changed my position on this issue. Since the PEP isn't explicit on the exact semantics here, I think we should be guided by the memoryview behaviour and make it official that bf_releasebuffer implementations sho

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-07 Thread Glenn Linderman
Glenn Linderman added the comment: Pierre said: Option 1 is impossible, because the CGI script sometimes has no control on the stream : for instance on a shared web host, it will receive sys.stdin as a text stream I say: It is the user code of the CGI script that calls CGI.FieldStorage. So t

[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

2011-01-07 Thread Nick Coghlan
Nick Coghlan added the comment: The alternative (if we declare that clients should treat Py_buffer contents as completely read-only) is to update memoryview to include a separate "orig_view" field that would never be touched. The GetBuffer and ReleaseBuffer calls would then use orig_view, wit

[issue10813] Suppress adding decimal point for places=0 in moneyfmt()

2011-01-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-01-07 Thread Mark Dickinson
Mark Dickinson added the comment: > by the time the relevant C stack frame goes away, ReleaseBuffer should > already have been called. Hmm. I'm not sure I understand how/when that would happen. Looking at the current py3k code, in Objects/memoryobject.c at line 92, we have: PyObject * PyMem

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-01-07 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, sorry - no, I misunderstood the question. I think that example actually *is* a bug in the memoryview implementation. The GetBuffer call should use the persistent address (&mview->view) that will be used in the ReleaseBuffer call, as per Antoine's patch on i

[issue10686] email.Generator should use unknown-8bit encoded words for headers with 8 bit data

2011-01-07 Thread R. David Murray
R. David Murray added the comment: Well, unknown-8bit is registered as a charset with IANA. It is registered specifically for use in message bodies, but as a registered charset it "should" be acceptable in headers as well. There is no similar registration for just 'unknown', but it sounds l

[issue2973] _ssl compiler warnings

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, it merely means that OpenSSL has changed the const-ness of some of their APIs over time. As I said I see no warnings with the most recent OpenSSL versions. Buildbots will tell you the same story: for example, no warnings under OS X "Snow Leopard", some

[issue10851] further extend ssl SNI and ciphers API

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > as a further extension to issue #5639 (sni) and issue #8322 this patch > provides the ability to set ciphers in the SSLContext.wrap_socket and > server_hostname in ssl.wrap_socket. This just makes all the ssl apis > look the same. Restructured the documentati

[issue8109] Server-side support for TLS Server Name Indication extension

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Server side SNI is still missing. Right, re-opening. -- resolution: duplicate -> stage: -> needs patch status: closed -> open superseder: Support TLS SNI extension in ssl module -> title: Support for TLS Server Name Indication extension -> Server-

[issue10853] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Duplicate posting of #10852. -- resolution: -> duplicate status: open -> closed superseder: -> SSL/TLS sni use in smtp,pop,imap,nntp,ftp client libs by default ___ Python tracker

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oops, I hadn't noticed you had closed it. -- nosy: +pitrou resolution: duplicate -> status: closed -> open ___ Python tracker ___

[issue1641] asyncore delayed calls feature

2011-01-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8684] improvements to sched.py

2011-01-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10686] email.Generator should use unknown-8bit encoded words for headers with 8 bit data

2011-01-07 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm a little uncomfortable with relying on a non-standards track RFC for this interpretation, and I'm also not sure I'd say that the email package is a "transport agent", but in cases where it's acting on the user's behalf (i.e. headers created programmatica

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread anatoly techtonik
New submission from anatoly techtonik : When an extension could not be loaded, because it requires some DLL that is missing, Python shows the following error message: ImportError: DLL load failed: The specified module could not be found. It will help tremendously in debugging extension probl

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Brian Curtin
Changes by Brian Curtin : -- type: resource usage -> feature request versions: +Python 3.3 -Python 2.7 ___ Python tracker ___ ___ Pyth

[issue10849] Backport test/__main__

2011-01-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: +0. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Is it even possible? Each time I tried, the only solutions involved an external program like Dependency Walker. -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Brian Curtin
Brian Curtin added the comment: I'm pretty sure we can't do this, if I understand your request. Say you have techtonik.pyd as your extension and it depends on foobar.dll. If we try to load techtonik.pyd and this pyd can't find or successfully load foobar.dll, Python doesn't know about *this*

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Brian Curtin
Brian Curtin added the comment: Agree with Amaury. depends has always been my solution to this type of problem. -- ___ Python tracker ___ ___

[issue10855] wave.Wave_read.close() doesn't release file

2011-01-07 Thread Peter Creath
New submission from Peter Creath : Calling wave.close() fails to release all references to the file passed in via wave.open(filename_or_obj, "rb"). As a result, processing many wave files produces an IOError of too many files open. This bug is often masked because this dangling reference is c

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread anatoly techtonik
New submission from anatoly techtonik : Need documentation for ImportError parameters and exception instance attributes. -- assignee: d...@python components: Documentation messages: 125655 nosy: d...@python, techtonik priority: normal severity: normal status: open title: documentation fo

[issue10857] ImportError module attribute

2011-01-07 Thread anatoly techtonik
New submission from anatoly techtonik : Need ImportError.module attribute to get the name of failed import. Right now it requires parsing ImportError.args that is presented in form "('No module named zqwer',)" that is not pythonic. -- messages: 125656 nosy: techtonik priority: normal s

[issue10686] email.Generator should use unknown-8bit encoded words for headers with 8 bit data

2011-01-07 Thread R. David Murray
R. David Murray added the comment: Well, since unknown-8bit is a registered charset, it should be RFC-valid in an encoded word. Whether or not any other mailer out there is going to be able to handle it is a different question. -- ___ Python track

[issue10857] ImportError module attribute

2011-01-07 Thread Brian Curtin
Brian Curtin added the comment: Duplicate of #1559549 -- nosy: +brian.curtin resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> ImportError needs attributes for module and file name ___ Python tracker

[issue10857] ImportError module attribute

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for the pointer. I couldn't find it myself. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue1559549] ImportError needs attributes for module and file name

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: I think we should investigate deeper why this enhancement request didn't get into Python 3. Another user story is: "from xxx import yyy", if yyy not found, the args message is ('cannot import name yyy',) Python4? label:api -- nosy: +techtonik _

[issue1559549] ImportError needs attributes for module and file name

2011-01-07 Thread Brian Curtin
Changes by Brian Curtin : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1559549] ImportError needs attributes for module and file name

2011-01-07 Thread R. David Murray
R. David Murray added the comment: There's no need for any deeper investigation. The answer is "nobody wrote the patch". If someone writes a good patch, it will go in. -- nosy: +r.david.murray ___ Python tracker

[issue1559549] ImportError needs attributes for module and file name

2011-01-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > I think we should investigate deeper why this enhancement > request didn't get into Python 3. There is nothing to investigate here. This is a request for a marginal improvement and OP did not follow up even though a core developer responded on the ne

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: Can you cross reference the part of code where this error is catched? Why Python can't get information about the reason .DLL is not loaded? Is it at least possible to add a hook point at the exact time the import fails to insert component that is able to i

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: What is there to document? ImportError has no special attributes or parameters. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker __

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Brian Curtin
Brian Curtin added the comment: See _PyImport_GetDynLoadFunc in Python/dynload_win.c -- that's where this is happening. > Why Python can't get information about the reason .DLL is not loaded? Windows does not provide it in the case you are speaking of. If I call LoadLibraryEx for techtonik.

[issue10849] Backport test/__main__

2011-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: 2.6 is right out. Martin, would you please decide on whether this should be backported to 2.7 and 3.1? IMO, the rationale is flimsy (its not hard to run the test suite in *any* version) and it goes against our usual policy; however, it is also a trivial

[issue10849] Backport test/__main__

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: I thought Benjamin was still RM for 2.7 and 3.1? -- assignee: loewis -> benjamin.peterson nosy: +georg.brandl ___ Python tracker ___

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The code is in Python/dynload_win.c To load an extension module mymodule.pyd, Python calls LoadLibrary('/path/to/mymodule.pyd'); when it returns NULL, the code calls GetLastError() (which returns 126 in this case) then FormatMessage to get an error mes

[issue10858] Make source code links less proeminent

2011-01-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : Reading library source code will only be enlightening to expert users, since most modules are not academic but real-world implementations, with all the complications it entails. Therefore, putting a link at the top of module sections is only confusing for m

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I understand this patch relies on #10851. As I said there, I would rather have SSLContext become the primary API, and the stdlib standardize on it. Part of the stdlib, as you have witnessed, already allows the user to pass a custom SSLContext, which is very s

[issue8808] imaplib should support SSL contexts

2011-01-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue8809] smptlib should support SSL contexts

2011-01-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: ImportError has args and message attributes containing failed module name. -- status: closed -> open ___ Python tracker ___

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread R. David Murray
R. David Murray added the comment: No it doesn't. It has an arbitrary message string. That's the same as all other exceptions that don't have special attributes. -- nosy: +r.david.murray status: open -> closed ___ Python tracker

[issue10808] ssl unwrap fails with Error 0

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: As we discussed on IRC, there are two things here: - unwrap() can give an error because it tries to shutdown the SSL layer cleanly, and the other side doesn't support it or is already closed; unwrap() is useful mostly if you plan to use the clear-text layer a

[issue9090] Error code 10035 calling socket.recv() on a socket with a timeout (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately)

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I will not bother backporting myself but an other core developer can do it if (s)he desires. -- ___ Python tracker ___

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: You are right, however, that the "args" argument is not really well documented. Fixed that in r87820. -- resolution: works for me -> fixed ___ Python tracker _

[issue10849] Backport test/__main__

2011-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: His +0 isn't a decision. I would like Martin, the longest term active developer, to make the call about waiving the policy of not backporting features (especially when the only purported benefit saving a couple of core devs from spelling out the path name

[issue10849] Backport test/__main__

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: Oh, sure. I misinterpreted your comment. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10849] Backport test/__main__

2011-01-07 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10849] Backport test/__main__

2011-01-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/1/7 Raymond Hettinger : > > Raymond Hettinger added the comment: > > His +0 isn't a decision.  I would like Martin, the longest term active > developer, to make the call about waiving the policy of not backporting > features (especially when the only

[issue10808] ssl unwrap fails with Error 0

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: "This information" being no information, is that really all you can get out of OpenSSL? -- nosy: +georg.brandl ___ Python tracker ___ __

[issue10841] binary stdio

2011-01-07 Thread STINNER Victor
STINNER Victor added the comment: I commited io_binary_windows.patch + parser_translate_newline.patch as r87824. I fixed the patch on the parser to avoid leak on newtok if translate_newlines() fails. -- Added file: http://bugs.python.org/file20304/parser_translate_newline-2.patch ___

[issue10808] ssl unwrap fails with Error 0

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > "This information" being no information, is that really all you can get out > of OpenSSL? Well the situation as the same as a system call which would return failure but leave errno 0 (except that OpenSSL has its own kind-of-errnos). OpenSSL's error reporting

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: I see. But depends.exe dependency walker somehow finds the exact code that is failing, so there should be a way to do extra investigation in case of error. py2exe has a custom .dll loader that bypasses LoadLibrary(Ex) calls from that I can see at http://p

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : contextlib.GeneratorContextManager doesn't have an underscore but it's not documented either. Something has to be done (I would say make it private). -- components: Library (Lib) messages: 125683 nosy: michael.foord, ncoghlan, pitrou priority: normal

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Michael Foord added the comment: It isn't in __all__ and it is undocumented - so I'd say its private already. -- ___ Python tracker ___ _

[issue1559549] ImportError needs attributes for module and file name

2011-01-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: Not clear; see #10838. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Michael Foord added the comment: There was a discussion on python-dev about naming conventions in the standard library. There was no clear consensus that everything non-public should start with an underscore. Several developers thought that merely being undocumented or not present in __all__

[issue10860] urllib2 crashes on valid URL

2011-01-07 Thread Shawn Ligocki
New submission from Shawn Ligocki : urllib2 crashes with stack trace on legal URL http://118114.cn Transcript: Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> urllib2.urlopen("h

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > There was a discussion on python-dev about naming conventions in the > standard library. There was no clear consensus that everything > non-public should start with an underscore. Several developers thought > that merely being undocumented or not present in __

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Michael Foord added the comment: I have no objection to a rename that adds a leading underscore. -- ___ Python tracker ___ ___ Python

[issue10812] Add some posix functions

2011-01-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: Thanks for the comments. I implemented sethostid() - its not actually in the posix spec, but linux/*bsd have it although the signature for FreeBSD is a bit different. I implemented gethostname(). Both get/sethostname() now use FSDefault encoding. gethostname()

[issue10860] urllib2 crashes on valid URL

2011-01-07 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Can you test it with current versions (2.7, 3.1 or 3.2)? -- nosy: +eric.araujo, orsenthil versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker

[issue10859] Is GeneratorContextManager public?

2011-01-07 Thread Michael Foord
Changes by Michael Foord : -- nosy: -michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10858] Make source code links less proeminent

2011-01-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: d...@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue10858] Make source code links less proeminent

2011-01-07 Thread R. David Murray
R. David Murray added the comment: +1 -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Shawn Ligocki
New submission from Shawn Ligocki : urllib2 sporadically falsely claims that http://www.bankofamerica.com/ has infinite redirect: $ python -c 'import urllib2; print urllib2.urlopen("http://www.bankofamerica.com/";).geturl()' https://www.bankofamerica.com/ $ python -c 'import urllib2; print

[issue10862] Complete your registration to Python tracker -- key yq3FVw0zXbfo3RJCzK2PqphC2n0XTohy

2011-01-07 Thread xiscu
New submission from xiscu : On 01/07/2011 08:41 PM, Python tracker wrote: > To complete your registration of the user "xiscu" with > Python tracker, please do one of the following: > > - send a reply to rep...@bugs.python.org and maintain the subject line as is > (the > reply's additional "Re:"

[issue10862] Complete your registration to Python tracker -- key yq3FVw0zXbfo3RJCzK2PqphC2n0XTohy

2011-01-07 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Py

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Antoine Pitrou
, 06 Jul 2011 19:45:49 GMT; Path=/; Domain=.bankofamerica.com < Set-cookie: BOA_0020=20110107:0:E:961E3F55-9482-01f4-BFA6871D; Expires=Wed, 25 Jan 2079 22:59:56 GMT; Domain=.bankofamerica.com < Set-cookie: BOA_COM_BT_ELIGIBLE=No; Expires=Fri, 14 Jan 2011 19:45:49 GMT; Domain=.bankofamer

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, perhaps the redirection loop would stop if we would send back those cookies which the server sends us. So perhaps it's a feature request rather. (but this still strikes me as a very poor use of HTTP) -- __

[issue10841] binary stdio

2011-01-07 Thread STINNER Victor
STINNER Victor added the comment: Tests pass on Windows 7 buildbot, the two other XP buildbots have unrelated issues. I also tested on my XP VM: all tests pass. So I close this issue. -- resolution: -> fixed status: open -> closed ___ Python tracke

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-07 Thread STINNER Victor
STINNER Victor added the comment: I fixed #10841 (r87824): stdin (and all other files) is now set to binary (instead of text) mode on Windows. -- ___ Python tracker ___

[issue10858] Make source code links less proeminent

2011-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please leave these alone for the time being. I put them high on the page so that people would have a consistent and easy to find view-source link. It is an experiment and time will tell whether it was a good choice. For the time being, I don't want it bu

[issue10858] Make source code links less proeminent

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The goal is to reacquaint people with the source as an adjunct to the > docs. The phrase use-the-source-luke used to be common in the python > community but now many devs don't seem to be able to readily access > the source (with it tucked away in a library d

[issue10860] Handle empty port after port delimiter in httplib

2011-01-07 Thread Éric Araujo
Éric Araujo added the comment: The redirection is a red hearing, the error is clearly that an empty port after a port delimiter (like in http://host:) breaks httplib. Do you want to work on a patch? Helpful guidelines are found at http://www.python.org/dev/patches/ -- stage: -> nee

[issue10863] zlib.compress() fails with string

2011-01-07 Thread Jose-Luis Fernandez-Barros
New submission from Jose-Luis Fernandez-Barros : On "The Python Tutorial", section 10.9. Data Compression http://docs.python.org/py3k/tutorial/stdlib.html#data-compression >>> import zlib >>> s = 'witch which has which witches wrist watch' ... >>> t = zlib.compress(s) Traceback (most recent ca

[issue10838] subprocess __all__ is incomplete

2011-01-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10841] binary stdio

2011-01-07 Thread Glenn Linderman
Glenn Linderman added the comment: Thanks for your work on this Victor, and other commenters also. -- ___ Python tracker ___ ___ Pyth

[issue10860] Handle empty port after port delimiter in httplib

2011-01-07 Thread Shawn Ligocki
Shawn Ligocki added the comment: Sure, I can work on a patch. Should an empty port default to 80? In other words does "http://foo.com/"; == "http://foo.com:/";? -- ___ Python tracker

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Shawn Ligocki
Shawn Ligocki added the comment: Ahha, what a mess, thanks for investigating! I agree, this is bankofamerica's problem. -- ___ Python tracker ___ __

[issue10860] Handle empty port after port delimiter in httplib

2011-01-07 Thread Éric Araujo
Éric Araujo added the comment: Yes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue10827] Functions in time module should support year < 1900 when accept2dyear = 0

2011-01-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in 87829. I added a year >= 1900 check in time.strftime for now because removing or relaxing this limit should be done in coordination with similar datetime module issue. See #1777412. See also python-dev discussion starting at http://mail.

[issue10827] Functions in time module should support year < 1900 when accept2dyear = 0

2011-01-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Commit link: r87829 -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue809163] Can't add files with spaces

2011-01-07 Thread xiscu
xiscu added the comment: This is also my first contribution. The attached file is a diff against : - http://code.python.org/hg/branches/py3k/ The actual tip was: - 9489:4db13b4e76aa The patch adds only a test that triggers the issue. Please feel free to comment on that commit (so I can impro

[issue10860] Handle empty port after port delimiter in httplib

2011-01-07 Thread Georg Brandl
Georg Brandl added the comment: Except if it's an HTTPS URL :) -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mai

[issue10858] Make source code links less prominent

2011-01-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: As Raymond explained, he added these links as a kind of social experiment and this issue itself shows that it works. :-) I have a few suggestions on how to make these links more useful: 1. A ViewVC link is the simplest solution to present the source, bu

[issue10858] Make source code links less prominent

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I have a few suggestions on how to make these links more useful: The question is not how they could be more useful, but *whether* they are useful at all. An user skilled enough to read the source code is probably skilled enough not to require a prominently di

[issue10858] Make source code links less prominent

2011-01-07 Thread Éric Araujo
Éric Araujo added the comment: 1: I hope this will just be a matter of using the same Pygments theme in Sphinx and hgweb. 2: I don’t think hgweb can do that. Mercurial being extensible, this addition may be a fun project. 3: Not all modules are good examples (see threading for some unelegan

  1   2   >