[issue2611] Extend buildbot web interface to allow for forced tests to be run on a slave in verbose mode.

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm closing this as "won't fix". If there is a need to run specific tests in specific ways, it is best to check in code that does it as desired. If it is then unacceptable to run that change on all slaves, a branch can be created, and building the branch can

[issue7767] Add PyLong_AsLongLongAndOverflow

2010-01-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7736] os.listdir hangs since opendir() and closedir() do not release GIL

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think the bug here is really in the application, which makes a system call to fuse and the fuse callback in the same process. This isn't supported, and IMO doesn't need to be. Python makes no promises that it will accept callbacks while a system call is in

[issue7242] Forking in a thread raises RuntimeError

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: One relevant difference may be the change to the fork semantics in Solaris 10: fork() now means the same as fork1(). Before, fork() meant the same as forkall(), unless the applications was linked with -lpthread, in which case fork() also meant fork1(). See f

[issue7633] decimal.py: type conversion in context methods

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the latest patch! It's looking good, but I have a few comments: (1) It's not necessary to do an isinstance(a, Decimal) check before calling _convert_other, since _convert_other does that check anyway. It doesn't really harm either, but for consis

[issue7633] decimal.py: type conversion in context methods

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: One more: (5) The patch includes a (presumably accidental) change to the divmod docstring, from "Return (a // b, a % b)" to "Return (self // other, self % other)". I think the first version is preferable. -- ___

[issue7633] decimal.py: type conversion in context methods

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: And another. :) (6) I think that with these changes, the single argument methods, like Context.exp, and Context.sqrt, should also accept integers. Thoughts? -- ___ Python tracker

[issue2531] float compared to decimal is silently incorrect.

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: So here's the plan for trunk. The big question is: what should be done for py3k? For trunk: - all comparisons (==, !=, <=, >=, <, >) between floats and Decimals return the correct numerical result, as though the float were converted to a Decimal with

[issue7633] decimal.py: type conversion in context methods

2010-01-24 Thread Stefan Krah
Stefan Krah added the comment: (6) Yes, I think that is logical. In cdecimal, I accept integers for all unary methods except is_canonical and number_class. -- ___ Python tracker ___

[issue2531] float compared to decimal is silently incorrect.

2010-01-24 Thread Stefan Krah
Stefan Krah added the comment: I'm new to this thread, so I hope I didn't miss anything that has been said already. I don't fully understand why TypeError cannot be raised in 2.x. The 2.6 documentation for tp_richcompare says: "If you want to implement a type for which only a limited set of com

[issue2531] float compared to decimal is silently incorrect.

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Stefan: the problem is backwards compatibility. In 2.6 it's possible to sort a heterogeneous list that contains both Decimal instances and floats. The resulting order may not be particularly meaningful, but for some applications that doesn't matter. If we

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Johannes Schönberger
New submission from Johannes Schönberger : I would suggest to make SimpleXMLRPCServer.SimpleXMLRPCServer.register_function a decorator function. See the attached file for the solution I wrote (l.209-240), which also works with the current syntax: @server.register_function @server.register_funct

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Muhammad Alkarouri
Muhammad Alkarouri added the comment: Excellent solution and comments. Many thanks. -- status: open -> closed ___ Python tracker ___ _

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Johannes Schönberger
New submission from Johannes Schönberger : Unfortunately the sin/cos function in the decimal docs seems to return false results. In [33]: sin(decimal.Decimal('75')) Out[33]: Decimal('0.377879483645203210442266845614') In [34]: sin(decimal.Decimal('76')) Out[34]: Decimal('-2.0882846000972488932

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mark.dickinson priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-l

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: I think that recipe is meant more as a simple example of what's possible than as a bullet-proof library function. Can you suggest changes that would improve accuracy while also keeping the recipe clear and simple? The usual method for sin/cos is to do an ini

[issue3754] minimal cross-compilation support for configure

2010-01-24 Thread Roumen Petrov
Roumen Petrov added the comment: system python has to be at least revision 77704 (trunk) -- Added file: http://bugs.python.org/file15987/python-trunk-20100124-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3

[issue3871] cross and native build of python for mingw32 with distutils

2010-01-24 Thread Roumen Petrov
Roumen Petrov added the comment: system python has to be at least revision 77704 (trunk) -- Added file: http://bugs.python.org/file15988/python-trunk-20100124-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: This is the version I would suggest and which is quite accurate unless the numbers get extremely large. def sin(x): """Return the sine of x as measured in radians. >>> print sin(Decimal('0.5')) 0.4794255386042030002732879352 >>> print si

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. Isn't sine periodic with period 2*pi, not pi? I'd also suggest making use of remainder_near. -- ___ Python tracker ___ __

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: stupid, it is much better to just use the modulo operator. The same works with cos... def sin(x): """Return the sine of x as measured in radians. >>> print sin(Decimal('0.5')) 0.4794255386042030002732879352 >>> print sin(0.5) 0.47942

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Mark Dickinson
Mark Dickinson added the comment: Johannes: note that the reduction needs to be by 2*pi, not pi. The remainder_near method is slightly better than the modulo operator here: remainder_near reduces to the range [-pi, pi], while the modulo operator reduces to the range (-2*pi, 2*pi), so ends up

[issue7768] raw_input should encode unicode prompt with std.stdout.encoding.

2010-01-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: I agree that would be nice, but it's usefulness would also be limited by the fact that raw_input always returns a normal string. -- nosy: +benjamin.peterson priority: -> normal ___ Python tracker

[issue3754] minimal cross-compilation support for configure

2010-01-24 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Brian Curtin
Brian Curtin added the comment: Can you submit your patch as a unified diff -- it's not easy to tell where you made changes to that file. Can you also include tests showing how this is used, especially using register_function in both the old way and the new way you propose? Lib/test/test_xml

[issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

2010-01-24 Thread Neil Schemenauer
Neil Schemenauer added the comment: On Sun, Jan 24, 2010 at 01:25:18AM +, Antoine Pitrou wrote: > That wasn't really my question. What I ask is: since mhlib is > deprecated, why do we need to fix it while people are encouraged to use > mailbox instead? Sorry, I don't understand what you are

[issue3871] cross and native build of python for mingw32 with distutils

2010-01-24 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

2010-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Sorry, I don't understand what you are proposing. Do you mean we > should just let the test fail for people who develop on HFS+ and > Btrfs filesystems? That seems not so good. Hmm, you are right. From a quick glance, the patch looks ok. I assume you've chec

[issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

2010-01-24 Thread Chris Withers
Changes by Chris Withers : -- nosy: -cjw296 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: I'm not very used to working with bug/issue trackers, is there any tutorial here, where this is explained? I did the stuff you asked me to do: diff: http://paste.pocoo.org/compare/169357/169359/ test: http://paste.pocoo.org/show/169360/ -- ___

[issue1729305] test_doctest fails when run in verbose mode

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: The patch did not work with latest trunk. Here is an updated version of the patch. Patch tested with different commands: ~ $ ./python -m test.regrtest test_doctest ~ $ ./python -m test.regrtest -v test_doctest ~ $ ./python -m test.regrtest -v test_doctest |le

[issue1729305] test_doctest fails when run in verbose mode

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: And for Python 3. (Slightly different) -- stage: -> patch review Added file: http://bugs.python.org/file15991/issue1729305_doctest_py3k.diff ___ Python tracker ___

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Brian Curtin
Brian Curtin added the comment: http://www.python.org/dev/workflow/ and http://python.org/dev/faq/ should help you get started. The workflow doc will let you know what the process is around here. The FAQ will tell you how to setup Subversion, how to make a diff, etc. With that said, I think y

[issue7764] dictview

2010-01-24 Thread Jan Kaliszewski
Changes by Jan Kaliszewski : -- title: Doc for itertools recipe consume is complicated and less efficient -> dictview versions: -Python 2.6, Python 2.7, Python 3.2 ___ Python tracker __

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Jan Kaliszewski
Changes by Jan Kaliszewski : -- title: dictview -> Doc for itertools recipe consume is complicated and less efficient ___ Python tracker ___ _

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Jan Kaliszewski
Jan Kaliszewski added the comment: (sorry! typed into a wrong field) -- nosy: +zuo versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: OK, thank you for the links! Do you still want me to do anything (like test cases etc.)? -- ___ Python tracker ___ __

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Brian Curtin
Brian Curtin added the comment: Once you get a Subversion checkout of the source, have a look in Lib/test/test_xmlrpc.py for examples of how things are currently tested (using unittest). Once you get a feel for it, add new tests for what your changes do. The file you paste'd looks good as an

[issue7771] dict view comparison methods are not documented

2010-01-24 Thread Jan Kaliszewski
New submission from Jan Kaliszewski : Dictionary views documentation (e.g. http://docs.python.org/3.1/library/stdtypes.html#dictionary-view-objects) contains nothing about comparison (> >= < <= == !=) operations. -- assignee: georg.brandl components: Documentation messages: 98240 nosy:

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: OK, will work on it and reply as soon as I have results! -- ___ Python tracker ___ ___ Python-

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Changeset r77721 should be ported to trunk, and py3k probably. -- nosy: +flox status: closed -> open ___ Python tracker ___ ___

[issue7269] buildbot occasional DBFileExistsError failures in test_bsddb3

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: It may occur on any platform. The patch fixes the issue. -- title: Windows buildbot occasional DBFileExistsError failures in test_bsddb3 -> buildbot occasional DBFileExistsError failures in test_bsddb3 ___ Python t

[issue7772] test_py3kwarn fails when running the whole test suite

2010-01-24 Thread Florent Xicluna
New submission from Florent Xicluna : "test_py3kwarn" fails when running the whole test suite This is a known behaviour, because of extension modules loaded by previous tests (which cannot be "reloaded"). However, the warnings module store all the warnings when they appear in a dictionary att

[issue7772] test_py3kwarn fails when running the whole test suite

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Here comes the patch: - use test_support.__warningregistry__ to check past warnings - filter the warnings with "(module|package)", to be sure that they are silenced by "test_support.import_module" - fix test_reduce_move (it failed when run after test_unitte

[issue7713] implement ability to disable automatic search path additions

2010-01-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue7772] test_py3kwarn fails when running the whole test suite

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll look at it when I get a chance. Want to continue to show how the same recipe can work for different input types. I may just document the function's range of inputs. -- assignee: georg.brandl -> rhettinger priority: normal -> low ___

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Remain calm. I left the status as Open for a reason. When I'm satisfied that people are reacting well to the new update, will port to other versions. -- ___ Python tracker __

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: This adds two further lines, so you can pass int's, float's or Decimal types to the function. def sin(x): """Return the sine of x as measured in radians. >>> print sin(Decimal('0.5')) 0.4794255386042030002732879352 >>> print sin(0.5)

[issue7770] sin/cos function in decimal-docs

2010-01-24 Thread Johannes Schönberger
Johannes Schönberger added the comment: sorry, forgot the str: def rsin(x): """Return the sine of x as measured in radians. >>> print sin(Decimal('0.5')) 0.4794255386042030002732879352 >>> print sin(0.5) 0.479425538604 >>> print sin(0.5+0j) (0.479425538604+0j)

[issue7773] platform._parse_release_file() can cause UnboundLocalError

2010-01-24 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : When the release file doesn't contain some data, then platform._parse_release_file() causes UnboundLocalError. I'm attaching the patch to fix it. $ python2.7 -c 'import platform; platform._parse_release_file("")' Traceback (most recent

[issue7773] platform._parse_release_file() can cause UnboundLocalError

2010-01-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue7771] dict view comparison methods are not documented

2010-01-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-lis

[issue7347] Add {Create|Delete}KeyEx to _winreg, doc and test updates

2010-01-24 Thread Brian Curtin
Brian Curtin added the comment: After looking into this again, the testing situations are much different than I had originally written. Some of the tests aren't really valid exercises. For one, the querying/enabling/disabling of reflection keys aren't good tests as they aren't tested against

[issue7269] buildbot occasional DBFileExistsError failures in test_bsddb3

2010-01-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r77733 (trunk) and r77734 (release26-maint), thanks for the patch! -- assignee: jcea -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _

[issue4570] Bad example in set tutorial

2010-01-24 Thread John Marter
John Marter added the comment: I see that the spelling of banana has been fixed but what is the purpose of assigning fruit and then immediately reassigning it another value without even looking at the first assignment? >>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana'] >>> f

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15928/issue7092_filterwarnings_v2.diff ___ Python tracker ___ ___ Python-

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15929/issue7092_syntax_imports_v2.diff ___ Python tracker ___ ___ Python-

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15788/issue7092_check_warnings.diff ___ Python tracker ___ ___ Python-bug

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15994/issue7092_syntax_imports_v3.diff ___ Python tracker ___ ___ Python-bu

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15995/issue7092_check_warnings_v3.diff ___ Python tracker ___ ___ Python-bu

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Re-uploaded after fixes for #7737. To remove all "-3" warnings: - apply the 4 patches - fix SQLite "buffer()" warnings (issue #7223) -- stage: committed/rejected -> patch review Added file: http://bugs.python.org/file15996/issue7092_filterwarnings_v

[issue4570] Bad example in set tutorial

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed in trunk and 3.1 -- nosy: +flox resolution: fixed -> stage: -> needs patch status: closed -> open versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue7773] platform._parse_release_file() can cause UnboundLocalError

2010-01-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: An accompanying test would be wonderful. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ P

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Tarek Ziadé
New submission from Tarek Ziadé : test_subprocess.test_executable now has a failure in the subprocess created (see http://www.python.org/dev/buildbot/builders/amd64%20gentoo%20trunk/builds/303/steps/test/logs/stdio) the bbots don't get red because this is happening in the subprocess and the t

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: Notice that this happen only under Linux and Solaris AFAIK. I couldn't reproduce it under Mac OS X -- ___ Python tracker ___ _

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed on all Python versions. Same behaviour without subprocess: ~ $ sh -c "exec -a missingfile python -c 'import sys; print sys.executable'" /home/name/ -- nosy: +flox ___ Python tracker

[issue7774] subprocess executable option wrong location

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- versions: +Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- title: subprocess executable option wrong location -> sys.executable: wrong location if zeroth command argument is modified. ___ Python tracker __

[issue7764] Doc for itertools recipe consume is complicated and less efficient

2010-01-24 Thread Muhammad Alkarouri
Muhammad Alkarouri added the comment: Mea culpa. Not knowing the conventions here, I closed the ticket, which probably resulted in florent's feedback. I will leave you to it then. -- ___ Python tracker ___

[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-01-24 Thread Jesse Noller
Jesse Noller added the comment: I'm not the subprocess owner Tarek :( -- assignee: jnoller -> ___ Python tracker ___ ___ Python-bugs-

[issue7773] platform._parse_release_file() can cause UnboundLocalError

2010-01-24 Thread Meador Inge
Meador Inge added the comment: Updated the patch to add a test case in 'test_platform'. I also added a comment explaining the change and removed a redundant assignment. -- nosy: +minge Added file: http://bugs.python.org/file15997/issue-7773.patch _

[issue4570] Bad example in set tutorial

2010-01-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: georg.brandl -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue7773] platform._parse_release_file() can cause UnboundLocalError

2010-01-24 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review priority: -> normal stage: -> patch review type: -> behavior ___ Python tracker ___ ___

[issue7773] platform._parse_release_file() can cause UnboundLocalError

2010-01-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch! Applied in r77735. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7775] str.rpartition(sep) -> (tail, sep, head)

2010-01-24 Thread kai zhu
Changes by kai zhu : -- assignee: georg.brandl components: Documentation nosy: georg.brandl, kaizhu severity: normal status: open title: str.rpartition(sep) -> (tail, sep, head) versions: Python 3.1 ___ Python tracker

[issue7776] httplib.py: ._tunnel() broken

2010-01-24 Thread Cameron Simpson
New submission from Cameron Simpson : I'm trying to do HTTPS via a proxy in Python 2.6.4 (which is supposed to incorporate this fix from issue 1424152). While trying to debug this starting from the suds library I've been reading httplib.py and urllib2.py to figure out what's going wrong and fo

[issue7776] httplib.py: ._tunnel() broken

2010-01-24 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin priority: -> normal stage: -> test needed versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue7615] unicode_escape codec does not escape quotes

2010-01-24 Thread Richard Hansen
Richard Hansen added the comment: Any comments on the patches? I'd love to see at least patches 1-3 make it into Python 2.7. :) -- ___ Python tracker ___ _

[issue7776] httplib.py: ._tunnel() broken

2010-01-24 Thread Cameron Simpson
Cameron Simpson added the comment: Amendment: regarding the infinite regress, it looks like there will not be a recursion if the caller leaps straight to the .connect() method. However, if they do that then the call to _tunnel() from within connect() will happen _after_ the socket is made dir

[issue7776] httplib.py: ._tunnel() broken

2010-01-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue7775] str.rpartition(sep) -> (tail, sep, head)

2010-01-24 Thread Chris Withers
New submission from Chris Withers : Can you please provide information about the actual problem you're reporting? -- nosy: +cjw296 ___ Python tracker ___ _

[issue7776] httplib.py: ._tunnel() broken

2010-01-24 Thread Cameron Simpson
Cameron Simpson added the comment: It's looking like I have my idea of .host versus ._tunnel_host swapped. I think things are still buggy, but my interpretation of the bug is wrong or misleading. I gather that after _set_tunnel(), .host is the proxy host and that ._tunnel_host is the original

[issue7621] Test issue

2010-01-24 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7621] Test issue

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: Generate a message. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue7621] Test issue

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Generate a message. Reply to it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue7777] Support needed for AF_RDS family

2010-01-24 Thread Andrew Grover
New submission from Andrew Grover : RDS is a reliable datagram protocol used by Oracle clusters for inter-process communication. It is in the Linux kernel, and has a defined address family number. Its use is identical to UDP, except the address family is 21, and the type is SOCK_SEQPACKET. So

[issue7777] Support needed for AF_RDS family

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: A patch has good chances of getting accepted (eventually; it may take several months or years). Test cases and documentation changes should be included. Supporting generic socket addresses can't work (IMO): how could Python possibly know how to map a Python

[issue7775] str.rpartition(sep) -> (tail, sep, head)

2010-01-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs