[issue7504] Same name cookies

2013-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Which also has patches. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue17267] datetime.time support for '+' and 'now'

2013-02-23 Thread Andreas Åkerlund
Andreas Åkerlund added the comment: Well I have also made a patch for this, using the datetime operator code as much as possible.. this is for version 3.4.. -- nosy: +thezulk Added file: http://bugs.python.org/file29206/issue17267-3.4.diff ___ Python

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2013-02-23 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: The change in 2.7 branch breaks some software, including a test of Django (produce_xml_fragment from https://github.com/django/django/blob/1.4.5/tests/regressiontests/test_utils/tests.py). The problem seems to not occur with Python 3.2, 3.3

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread Birk Nilson
Birk Nilson added the comment: The implementation incremented the line number immediately when a newline was detected, even before the token had been processed completely - causing the issue Arfrever posted. This also caused the unexpected behavior of a tokens line number including the amount

[issue16446] pdb raises BdbQuit on 'quit' when started with set_trace

2013-02-23 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: I took Xavier's patch and ported in on the 2.7. It'll probably go as is for 3.2. The functionality seems to be working and tests pass. -- keywords: +patch nosy: +nailor Added file: http://bugs.python.org/file29208/issue16446.patch _

[issue10572] Move test sub-packages to Lib/test

2013-02-23 Thread Geoff Wilson
Geoff Wilson added the comment: Patch attached to move Lib/lib2to3/tests to Lib/test/test_lib2to3. -- Added file: http://bugs.python.org/file29209/issue10572-lib2to3.patch ___ Python tracker ___

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset e54ee8d2c16b by Petri Lehtinen in branch '2.7': Issue #16121: Fix line number accounting in shlex http://hg.python.org/cpython/rev/e54ee8d2c16b New changeset f1d19fdb254f by Petri Lehtinen in branch '3.2': Issue #16121: Fix line number accounting in

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread Petri Lehtinen
Petri Lehtinen added the comment: Applied, thanks! -- nosy: +petri.lehtinen resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue16632] Enable DEP and ASLR

2013-02-23 Thread Devin Cook
Changes by Devin Cook : -- nosy: +devin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue8489] Support RFC 6531 in smptlib

2013-02-23 Thread R. David Murray
R. David Murray added the comment: Thanks for the pointer. I keep reading "SMTPUTF8" as "SMTPUFF", but otherwise at a quick glance it looks like an improvement. -- title: Support UTF8SMTP as part of RFC 5336 in smptlib -> Support RFC 6531 in smptlib __

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread R. David Murray
R. David Murray added the comment: Something in this change seems to have broken netrc: http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.3/builds/520 -- nosy: +r.david.murray status: closed -> open ___ Python tracker

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34f759fa5484 by Petri Lehtinen in branch '2.7': Revert "Issue #16121: Fix line number accounting in shlex" http://hg.python.org/cpython/rev/34f759fa5484 New changeset cda4a9dc415a by Petri Lehtinen in branch '3.2': Revert "Issue #16121: Fix line num

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread Petri Lehtinen
Petri Lehtinen added the comment: Reverted the patch because of the broken netrc tests. This has to be investigated further. -- resolution: fixed -> stage: committed/rejected -> commit review ___ Python tracker _

[issue17263] crash when tp_dealloc allows other threads

2013-02-23 Thread Charles-François Natali
Charles-François Natali added the comment: > - how do you know the crash really happens because of thread 5? All other threads are blocked on locks or condition variables, it's the only runnable thread. > Another question: are threads being started or stopped while the thread local > object is

[issue17263] crash when tp_dealloc allows other threads

2013-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > - how do you know the crash really happens because of thread 5? > > All other threads are blocked on locks or condition variables, it's > the only runnable thread. Hm, you are right. > > Another question: are threads being started or stopped while the thre

[issue16945] rewrite CGIHTTPRequestHandler to always use subprocess

2013-02-23 Thread Charles-François Natali
Changes by Charles-François Natali : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Jyrki and Petri. I just noticed that a "Changed in version" should probably be added at the end of this section: http://docs.python.org/dev/library/unittest.html#unittest.main *defaultTest* should probably also be documented in the text (it currently

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: I can take care of the Changed in version. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2013-02-23 Thread Birk Nilson
Birk Nilson added the comment: Sorry about that. Rookie mistake. I'm investigating it now and will get back with a revised & fully tested patch. -- ___ Python tracker ___ __

[issue17278] SIGSEGV in _heapqmodule.c

2013-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a reproducer. -- nosy: +pitrou Added file: http://bugs.python.org/file29210/stressheapq.py ___ Python tracker ___ __

[issue17278] SIGSEGV in _heapqmodule.c

2013-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: And a patch (for 2.7). -- keywords: +patch versions: +Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29211/heapq_race.patch ___ Python tracker __

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4285d13fd3dc by Chris Jerdonek in branch 'default': Add a "Changed in version" to the docs for issue #15132. http://hg.python.org/cpython/rev/4285d13fd3dc -- ___ Python tracker

[issue17278] SIGSEGV in _heapqmodule.c

2013-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch with tests. -- stage: -> patch review Added file: http://bugs.python.org/file29212/heapq_race2.patch ___ Python tracker ___ _

[issue17100] rotating an ordereddict

2013-02-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Attaching proof of concept patch for rotate_at() and rotate_after(). I am now conviced that bare rotate() isn't very useful. -- keywords: +patch Added file: http://bugs.python.org/file29213/od_rotate.patch ___ Python

[issue17282] document the defaultTest parameter to unittest.main()

2013-02-23 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to document the defaultTest parameter to unittest.main(): http://docs.python.org/dev/library/unittest.html#unittest.main Note that it is not enough simply to say that *defaultTest* is a "default test name or iterable of test names." The docume

[issue15132] Let unittest.TestProgram()'s defaultTest argument be a list

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > *defaultTest* should probably also be documented in the text I created issue 17282 for this. -- ___ Python tracker ___ __

[issue675976] mhlib does not obey MHCONTEXT env var

2013-02-23 Thread R. David Murray
R. David Murray added the comment: The mailbox module provides tools for accessing an MH folder, but it does not do anything itself about folder management. That would be the province of a program using the mailbox module to implement an MUA. So, since mhlib is no more, this enhancement requ

[issue16942] urllib still doesn't support persistent connections

2013-02-23 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +dbrecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2013-02-23 Thread Larry Hastings
Larry Hastings added the comment: Okay, I have finally addressed all the comments so far. Changes described below are my patch #2. They're also checked in to https://bitbucket.org/larry/python-clinic/ . * Antoine, Nick, et al: I've converted clinic.txt into a PEP. I've already sent it to

[issue694374] Recursive regular expressions

2013-02-23 Thread R. David Murray
R. David Murray added the comment: Agreed that this is unlikely to ever get implemented given that Matthew doesn't think it should be. -- assignee: niemeyer -> nosy: +r.david.murray resolution: -> rejected stage: -> committed/rejected status: open -> closed _

[issue747320] rfc2822 formatdate functionality duplication

2013-02-23 Thread R. David Murray
R. David Murray added the comment: I notice that logging has been updated. Only http.server's date_time_string remains (email.utils.formatdate does support the GMT form). -- components: +email versions: +Python 3.4 -Python 3.2 ___ Python tracker

[issue783528] Inconsistent results with super and __getattribute__

2013-02-23 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed superseder: -> super() and property inheritance behavior ___ Python tracker __

[issue846817] control-c is being sent to child thread rather than main

2013-02-23 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> out of date stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16942] urllib still doesn't support persistent connections

2013-02-23 Thread Demian Brecht
Demian Brecht added the comment: I've changed FileCookieJar to use the ABCMeta metaclass and updated the concrete implementations. If this patch looks sufficient, I'll make an update to the docs as well. -- keywords: +patch Added file: http://bugs.python.org/file29215/cookiejar_16942.p

[issue17279] Document which named built-in classes can be subclassed

2013-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Such a list might differentiate between classes that are intentionally not subclassed and those for which subclassing simply has not yet been enabled. That might help eliminate the latter list. When I suggested on the python-ideas 'range' thread that people sh

[issue12455] urllib2 forces title() on header names, breaking some requests

2013-02-23 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +dbrecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17279] Document which named built-in classes can be subclassed

2013-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The list given is for 3.3. 3.2 and 2.7 do not have SimpleNamespace. I do not have and currently cannot build 3.4 to test, but as of this moment, I expect it to be the same. In 2.7, range is xrange. Its types module includes aliases for builtins, such as IntTyp

[issue694374] Recursive regular expressions

2013-02-23 Thread Matthew Barnett
Matthew Barnett added the comment: FYI, I did eventually add it to my regex implementation. It was quite challenging! -- ___ Python tracker ___

[issue17275] io.BufferedWriter shows wrong type in argument error message

2013-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset d6a26cd93825 by R David Murray in branch '3.2': #17275: Fix class name in init errors in C bufferedio classes. http://hg.python.org/cpython/rev/d6a26cd93825 New changeset aae2bb2e3195 by R David Murray in branch '3.3': Merge #17275: Fix class name i

[issue17275] io.BufferedWriter shows wrong type in argument error message

2013-02-23 Thread R. David Murray
R. David Murray added the comment: Thanks, Manuel. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7 ___ Python tracker

[issue16401] mention PKG-INFO in the documentation

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, the fix for issue 16403 adds I believe the first mention of PKG-INFO to the docs (as an aside when discussing the maintainer field). However, a description of PKG-INFO, etc. should still be added somewhere. -- ___

[issue17273] multiprocessing.pool.Pool task/worker handlers are not fork safe

2013-02-23 Thread Arun Babu Neelicattu
Arun Babu Neelicattu added the comment: Terry, I think the best place to make a note of this would be at [1,2]. As for what should be noted, something along the lines of what Richard mentioned should suffice. "A pool should only be used by the process that created it (unless you use a managed

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: I would be happy to commit and watch the buildbots, once I have confidence in the patch though. Question: I noticed that the following was changed in Lib/test/regrtest.py: -with support.temp_cwd(TESTCWD, quiet=True): +with support.temp_cwd(quiet=True,

[issue17283] Lib/test/__main__.py should share code with regrtest.py

2013-02-23 Thread Chris Jerdonek
New submission from Chris Jerdonek: As discussed here: http://bugs.python.org/issue15305#msg182853 this issue is for Lib/test/__main__.py to share code with Lib/test/regrtest.py to minimize duplication of code: http://hg.python.org/cpython/file/96f08a22f562/Lib/test/regrtest.py#l1594 http://h

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Those two code chunks should really share code by the way I created issue 17283 for this (it's okay to fix the current issue before this one). -- ___ Python tracker ___

<    1   2