[issue16901] In http.cookiejar.FileCookieJar() the .load() and .revert() methods don't work

2013-02-27 Thread Demian Brecht
Demian Brecht added the comment: @Terry: I don't think that the name change is unnecessary as the patch changes the semantics of the the LWP and Mozilla Cookie classes. In the patch, they no longer /are/ a subclass of a CookieJar, but they take a CookieJar object and implement the FileCookiePr

[issue15465] Improved documentation for C API version info

2013-02-27 Thread Kushal Das
Kushal Das added the comment: version 3 of the patch where sys.hexversion table is moved and now a link to api and abi versioning given. -- Added file: http://bugs.python.org/file29277/issue15465v3.patch ___ Python tracker

[issue16901] In http.cookiejar.FileCookieJar() the .load() and .revert() methods don't work

2013-02-27 Thread py.user
py.user added the comment: Demian Brecht wrote: >I haven't had any feedback to my proposal on python-ideas about the >removal >of LWPCookieJar and MozillaCookieJar and the introduction of >>LWPCookieProcessor and MozillaCookieProcessor yet >>(http://thread.gmane.org/gmane.comp.python.ideas/196

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

2013-02-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: > I think for this the devguide should give alternatives with brief > pluses and minuses. Something like http://docs.python.org/devguide/committing.html#porting-changesets-between-the-two-major-python-versions-2-x-and-3-x ? :) -- _

[issue1709112] test_1686475 of test_os & pagefile.sys

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: Now the test (see Lib/test/test_os.py:470) has been changed to: try: os.stat(r"c:\pagefile.sys") except FileNotFoundError: pass # file does not exist; cannot run test except OSError as e: self.fail("Could not stat pagefile.sys") so this should work pr

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread R. David Murray
R. David Murray added the comment: Ah, excellent, that document looks like exactly what I was looking for. Now, when someone is going to get around to working on this, I don't know. (Note that the xrange/range change was made at the Python2/Python3 boundary, where we broke backward compatibili

[issue17307] HTTP PUT request Example

2013-02-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Ezio. yes in 3.3 onwards it should be done in urllib.request. I was having 2.7 docs in my mind, but I ended up writing for latest with the intention to backport. I have updated the patch to include both ways, while backporting to 2.7 and 3.2, plan to include

[issue17319] http.server.BaseHTTPRequestHandler send_response_only doesn't check the type and value of the code.

2013-02-27 Thread karl
New submission from karl: def send_response_only(self, code, message=None): http://hg.python.org/cpython/file/3.3/Lib/http/server.py#l448 There is no type checking on code or if the code is appropriate. Let's take == #!/usr/bin/env python3.3 import

[issue17318] xml.sax and xml.dom fetch DTDs by default

2013-02-27 Thread R. David Murray
R. David Murray added the comment: I believe this is a subset of issue 17239, and it may be appropriate to close it as a duplicate. I'll let that up to Chris, though, since he knows what still needs to be specified/worked out. -- assignee: -> christian.heimes nosy: +christian.heimes,

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread Marten Lehmann
Marten Lehmann added the comment: I found an interesting link about this issue: http://www.unicode.org/faq/idn.html I also checked a domain name of a client that ends with 'straße.de': IE, Firefox and Chrome still use IDNA2003, Opera already does IDNA2008. In IDNA2008 a lot of characters aren

[issue12345] Add math.tau

2013-02-27 Thread Waldir Pimenta
Waldir Pimenta added the comment: Following-up sbaird's comment, I must point out that those aren't Python-specific results. Filtering them by appending &l=python to the urls yields: - "TAU = 2 * Math.PI": 6 - "TAU = 2*Math.PI": 2 - "TAU=2*Math.PI": 0 - "TAU = Math.PI * 2": 0 - "TAU = Math.PI*2

[issue16901] In http.cookiejar.FileCookieJar() the .load() and .revert() methods don't work

2013-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suspect most people don't use or care much about cookies and cookie jar and do not understand the issue of proposal enough to comment. My feeling is that the patch probably breaks more than is necessary to fix the immediate problem and too much for current r

[issue2124] xml.sax and xml.dom fetch DTDs by default

2013-02-27 Thread Raynard Sandwick
Raynard Sandwick added the comment: I have opened issue #17318 to try to specify the problem better. While I do think that catalogs are the correct fix for the validation use case (and thus would like to see something more out-of-the-box in that vein), the real trouble is that users are often

[issue16901] In http.cookiejar.FileCookieJar() the .load() and .revert() methods don't work

2013-02-27 Thread Demian Brecht
Demian Brecht added the comment: (Note: Additional context can be found here: http://bugs.python.org/issue16942, which seems to be a dupe of this report) I haven't had any feedback to my proposal on python-ideas about the removal of LWPCookieJar and MozillaCookieJar and the introduction of LWP

[issue17314] Stop using imp.find_module() in multiprocessing

2013-02-27 Thread Brett Cannon
Brett Cannon added the comment: It is an abuse since I didn't design that part of the API to function that way, but it's cool that it just happens to. =) I do see your use-case and it is legitimate, although extremely rare and narrow. Let me think about whether I want to add specific support e

[issue17318] xml.sax and xml.dom fetch DTDs by default

2013-02-27 Thread Raynard Sandwick
New submission from Raynard Sandwick: Note that URIs in the following are only meant as links when in parentheses; otherwise, they are identifiers and mostly will not yield useful results. I have only worked with xml.sax in Python 2.6 and 2.7, so I cannot speak to its current state in later ve

[issue17313] test_logging doesn't clean up after itself

2013-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7f5bff33c22 by Vinay Sajip in branch 'default': Closes #17313: Deleted test file created by test_logging. http://hg.python.org/cpython/rev/b7f5bff33c22 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> committed/rejected stat

[issue17314] Stop using imp.find_module() in multiprocessing

2013-02-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: I think this change will potentially make the main module get imported twice under different names when we transfer pickled data between processes. The current code (which is rather a mess) goes out of its way to avoid that. Basically the main process makes

[issue17313] test_logging doesn't clean up after itself

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for investigating. Yes, currently regrtest.py deletes the containing directory. But this doesn't happen when running with plain unittest. If each test cleans up after itself, this will give us more flexibility in moving from regrtest to a unittest-bas

[issue17082] Fix test discovery for test_dbm*.py

2013-02-27 Thread Zachary Ware
Zachary Ware added the comment: Version 2 removes an unnecessary import in test_dbm_gnu.py -- Added file: http://bugs.python.org/file29273/test_dbm-s_discovery.v2.diff ___ Python tracker ___

[issue17079] Fix test discovery for test_ctypes.py

2013-02-27 Thread Zachary Ware
New submission from Zachary Ware: Version 1 converts test_main() into load_tests(). Version 2 removes the now unnecessary import of run_unittest from support; thank you to Ezio for reminding me to look at imports in these patches. -- Added file: http://bugs.python.org/file29272/test_c

[issue17313] test_logging doesn't clean up after itself

2013-02-27 Thread Vinay Sajip
Vinay Sajip added the comment: I investigated a little further. The file is created in the test directory (build/test_python_/) and, I assume, the dir is wiped at the end of the test. I can go through and do an addCleanup(os.remove, 'test.log') in the relevant tests; that should do it. It

[issue17313] test_logging doesn't clean up after itself

2013-02-27 Thread Vinay Sajip
Vinay Sajip added the comment: There are only three logging tests that open a handler to test.log: test_filename, test_filemode and test_incompatible. AFAIK those tests have remained unchanged over several years, if not months. Is the failure repeatable? Which platform did the failure occur on

[issue17311] use distutils terminology in "PyPI package display" section

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: The link for convenience: http://docs.python.org/dev/distutils/packageindex.html#pypi-package-display -- ___ Python tracker ___ ___

[issue12713] argparse: allow abbreviation of sub commands by users

2013-02-27 Thread Christian Ziemski
Christian Ziemski added the comment: Ouch, I really missed this one for a long time. :-( (I didn't understand the workflow correctly and overlooked the reviews.) I apologize to everyone who has been involved! Finally I'm back here and re-did my patch for 3.4 this time. I followed the comments o

[issue17316] Add Django 1.5 to benchmarks

2013-02-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17317] Benchmark driver should calculate actual benchmark count in -h

2013-02-27 Thread Brett Cannon
New submission from Brett Cannon: E.g. when you run ``./perf.py -h`` it lists the py3k benchmark target as having 4 benchmarks, but that's wrong since the 2n3 benchmark alone (which py3k includes) has 23 benchmarks. -- keywords: easy messages: 183183 nosy: brett.cannon priority: normal

[issue17316] Add Django 1.5 to benchmarks

2013-02-27 Thread Brett Cannon
New submission from Brett Cannon: Will also need a new Django benchmark target which should get listed in the 2n3 overall target. -- assignee: brett.cannon messages: 183182 nosy: brett.cannon, pitrou priority: low severity: normal status: open title: Add Django 1.5 to benchmarks __

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue16651] Find out what stdlib modules lack a pure Python implementation

2013-02-27 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Brett Cannon added the comment: The remaining uses of imp.load_module() after issue #17314 (which will probably all disappear as uses of imp.find_module() is removed): Lib/idlelib/EditorWindow.py 48:module = imp.load_module(tgt, file, filename, descr) Lib/pkgutil.py 291:mod

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Brett Cannon added the comment: Assuming issue #17314 gets fixed, that leaves the following uses of imp.find_module(): Lib/idlelib/EditorWindow.py 39:"""Version of imp.find_module() that handles hierarchical module names""" 45:(file, filename, descr) = imp.find_module(tgt, path) Li

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Stop using imp.find_module() in multiprocessing ___ Python tracker ___ ___ Python-bugs-lis

[issue17177] Document/deprecate imp

2013-02-27 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Deprecate imp.find_module()/load_module() ___ Python tracker ___ ___ Python-bugs-list mail

[issue17244] py_compile.compile() fails to raise exceptions when writing of target file fails

2013-02-27 Thread Brett Cannon
Brett Cannon added the comment: I figured out what I have to do to make this work properly again to avoid the exception from being swallowed. Roughly: # XXX calculate mode (_cache_bytecode) # XXX create subdirectories as necessary (set_data) # XXX write file (_write_atomic) # Ab

[issue17315] test_posixpath doesn't clean up after itself

2013-02-27 Thread Chris Jerdonek
New submission from Chris Jerdonek: test_posixpath leaves behind a file of the following form when running on Mac OS X: lrwxr-xr-x @test_17700_tmpa -> @test_17700_tmpa/b I'm not sure which test it is or which other versions are affected. -- components: Tests messages: 183178 nosy: chr

[issue17314] Stop using imp.find_module() in multiprocessing

2013-02-27 Thread Brett Cannon
New submission from Brett Cannon: I'm trying to remove all uses of imp.find_module()/load_module() and multiprocessing seems to have a single use of both purely for (re)loading a module. The attached patch moves over to importlib.find_loader() and subsequent load_module() call to match the sem

[issue17313] test_logging doesn't clean up after itself

2013-02-27 Thread Chris Jerdonek
New submission from Chris Jerdonek: test_logging leaves behind a file called test.log in the current working directory. I haven't narrowed down to the specific test, and I'm not sure what other versions are affected. -- components: Tests messages: 183176 nosy: chris.jerdonek, vinay.sa

[issue17312] test_aifc doesn't clean up after itself

2013-02-27 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- components: +Tests ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17312] test_aifc doesn't clean up after itself

2013-02-27 Thread Chris Jerdonek
New submission from Chris Jerdonek: test_aifc's AIFCLowLevelTest.test_write_aiff_by_extension() leaves a test file behind. I'm not sure what other versions are affected. -- keywords: easy messages: 183175 nosy: chris.jerdonek, r.david.murray priority: normal severity: normal stage: nee

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: As a member of the devguide target audience, I think for this the devguide should give alternatives with brief pluses and minuses. After importing and applying a patch to the earliest applicable 2.x or 3.x, move it to the other series with graft (new, possible

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-27 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- stage: -> patch review type: -> enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker ___

[issue17100] rotating an ordereddict

2013-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > In the absence of strong use cases, I prefer to keep the API thin > so that OD's remain easy to learn and remember. It could be a separate function or a dedicated subclass if you prefer. But providing it in the stdlib would avoid 3rd party code having to poke

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is a patch that updates Geoff's patch to the latest code, and addresses the directory creation issue. -- Added file: http://bugs.python.org/file29269/issue15305-3.patch ___ Python tracker

[issue12768] docstrings for the threading module

2013-02-27 Thread moijes12
moijes12 added the comment: I've attached a new patch with some changes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12768] docstrings for the threading module

2013-02-27 Thread moijes12
Changes by moijes12 : Added file: http://bugs.python.org/file29268/12768_2.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue16406] move the "Uploading Packages" section to distutils/packageindex.rst

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: I created issue 17311 for a suggestion Éric made on Rietveld. -- ___ Python tracker ___ ___ Python-b

[issue17311] use distutils terminology in "PyPI package display" section

2013-02-27 Thread Chris Jerdonek
New submission from Chris Jerdonek: As suggested by Éric in a Rietveld comment to issue 16406, this issue is to make the "PyPI package display" section of the distutils docs use the right terminology: "It’s too bad this part of the documentation use “package” with the meaning used on PyPI ins

[issue16406] move the "Uploading Packages" section to distutils/packageindex.rst

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot for taking the time to review, guys. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue16406] move the "Uploading Packages" section to distutils/packageindex.rst

2013-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset a9565750930e by Chris Jerdonek in branch '2.7': Issue #16406: combine the doc pages for uploading and registering to PyPI. http://hg.python.org/cpython/rev/a9565750930e New changeset f57ddf3c3e5d by Chris Jerdonek in branch '3.2': Issue #16406: Comb

[issue17299] Test cPickle with real files

2013-02-27 Thread Aman Shah
Aman Shah added the comment: Fixed the patch by removing TESTFN from tearDown. -- Added file: http://bugs.python.org/file29267/patch ___ Python tracker ___ __

[issue17100] rotating an ordereddict

2013-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: My only attraction to adding any of the rotate variants is that they provide functionality that can't be done efficiently by a user without access to the underlying data structure. However, looking only at the API, the methods seem a bit awkward and a bit a

[issue16406] move the "Uploading Packages" section to distutils/packageindex.rst

2013-02-27 Thread Éric Araujo
Éric Araujo added the comment: LGTM. Some comments on Rietveld. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15305] Test harness unnecessarily disambiguating twice

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: The fix for issue 17283 has been committed now, which should make this slightly easier to fix (e.g. change one place instead of two). -- ___ Python tracker ___

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

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot for the review, Petri. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

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

2013-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset e0f3dcd30af8 by Chris Jerdonek in branch 'default': Issue #17283: Share code between __main__.py and regrtest.py in Lib/test. http://hg.python.org/cpython/rev/e0f3dcd30af8 -- nosy: +python-dev ___ Python

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread R. David Murray
R. David Murray added the comment: That doesn't sound like interoperability to me, that sounds like backward incompatibility :(. I hope you are right that it only affects people with hardcoded domain names, but that is still an issue. In any case, since this is a new feature it can only go in

[issue13477] tarfile module should have a command line

2013-02-27 Thread Ankur Ankan
Changes by Ankur Ankan : -- nosy: +Ankur.Ankan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue2209] mailbox module doesn't support compressed mbox

2013-02-27 Thread Ankur Ankan
Changes by Ankur Ankan : -- nosy: +Ankur.Ankan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue16669] Docstrings for namedtuple

2013-02-27 Thread Ankur Ankan
Changes by Ankur Ankan : -- nosy: +Ankur.Ankan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread Marten Lehmann
Marten Lehmann added the comment: IDNA2008 should be backwards compatible. I can try to explain it in a practical example: DENIC was the first registry that actually used IDNA2008 - at a time, where not even libidn2 officially included the changes required for it. This was mainly due to the p

[issue17299] Test cPickle with real files

2013-02-27 Thread Aman Shah
Aman Shah added the comment: Created a small patch for python 2.7 using file test_pickle.py . -- nosy: +Aman.Shah Added file: http://bugs.python.org/file29266/patch ___ Python tracker __

[issue7423] nested generator expression produces strange results

2013-02-27 Thread Christopher King
Christopher King added the comment: *At this point you need to take your arguments to python-ideas or python-dev (probably the latter),* I used Python once and will probably never use it again. I'm not nearly invested enough to evangelize on several mailing lists the validity of a bug that I

[issue17310] Ctypes callbacks shows problem on Windows Python (64bit)

2013-02-27 Thread Matt Clarke
New submission from Matt Clarke: I have had an issue arise with ctypes callbacks with 64bit Python on Windows. Note: everything works fine with 32bit Python on Windows and on 32bit and 64bit Linux. I have created a simple example to illustrate the issue I have (see attachment), but the real-li

[issue17309] __bytes__ doesn't work in subclass of int

2013-02-27 Thread Paul Koning
New submission from Paul Koning: The __bytes__ special method has no effect in a subclass of "int" because the bytes() builtin checks for int or int subclass before it gets around to looking for that special method. The attached example shows it. -- components: Interpreter Core files:

[issue16620] Avoid using private function glob.glob1() in msi module and tools

2013-02-27 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file29263/issue16620.diff ___ Python tracker ___ __

[issue17308] Dialog.py crashes when putty Window resized

2013-02-27 Thread Harsha
New submission from Harsha: Dialog.py crashes when putty windows is resized. return simple_menu(d, config, "Select an option:", choices) File "/log-root/config-ac", line 499, in simple_menu code, tag = d.menu(str(text), height=15, width=45, menu_height=min(8, len(SI MPLE_MENU_

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c9f7ed28384 by R David Murray in branch '3.2': #17296: backport fix for issue 1692335, naive exception pickling. http://hg.python.org/cpython/rev/2c9f7ed28384 -- ___ Python tracker

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2013-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c9f7ed28384 by R David Murray in branch '3.2': #17296: backport fix for issue 1692335, naive exception pickling. http://hg.python.org/cpython/rev/2c9f7ed28384 New changeset 67c27421b00b by R David Murray in branch '3.3': Null merge for issue 169233

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-27 Thread R. David Murray
R. David Murray added the comment: I don't have the expertise required to do the 2.7 backport. My naive attempt is attached, but the message attribute is not preserved (test failure). If someone can fix the patch, I'll commit it. -- keywords: +patch Added file: http://bugs.python.org

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread R. David Murray
R. David Murray added the comment: Does this mean the differences are only in the canonicalization of unicode values? IDNA is a wire protocol, which means that an application can't know if it is being asked to decode an idna1 or idna2 string unless there's something in the protocol that tells

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-02-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: With framework build from yesterday this is not fixed for python 2.7, it prints: -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python The bit

[issue17307] HTTP PUT request Example

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: Shouldn't that be done with urllib? -- components: +Documentation type: -> enhancement ___ Python tracker ___ ___

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread Marten Lehmann
Marten Lehmann added the comment: For the embedded Python examples, please prepend the following lines: from __future__ import unicode_literals name='müller.com' So regarding interoperability: Usually you only use one implementation in your code and hopefully the latest release, but in case so

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-02-27 Thread Andrew Jaffe
Andrew Jaffe added the comment: Will this be fixed? I note that the related LINKFORSHARED bug (which causes this, I think) is marked as resolved. -- nosy: +Andrew.Jaffe ___ Python tracker _

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2013-02-27 Thread Andrew Jaffe
Andrew Jaffe added the comment: Was this actually fixed? As per it affects "python-config --ldflags" which is used by various build systems. -- nosy: +Andrew.Jaffe ___ Python tracker

[issue17305] IDNA2008 encoding missing

2013-02-27 Thread Marten Lehmann
Marten Lehmann added the comment: At least from the GNU people, two separate projects exists for this matter: libidn, the original IDNA translation (http://www.gnu.org/software/libidn/) libidn2, the IDNA2008 translation (http://www.gnu.org/software/libidn/libidn2/manual/libidn2.html) Btw.: Doe

[issue17299] Test cPickle with real files

2013-02-27 Thread R. David Murray
R. David Murray added the comment: Serhiy, in Python3 the corresponding test uses io.BytesIO. That means the additional tests are needed on Python3 as well, just a slightly different set, right? -- nosy: +r.david.murray ___ Python tracker

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Reapplying the patch means that I have to do import + commit at least, and > possibly reapply manually changes that I've already done on 2.7. Since 2.7 is more different from 3.2 than is 3.4, it seems more likely that grafting from 2.7 to 3.x will result in

[issue17302] HTTP/2.0 - Implementations/Testing efforts

2013-02-27 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue17302] HTTP/2.0 - Implementations/Testing efforts

2013-02-27 Thread karl
karl added the comment: Read the thread. Thanks Antoine. Better understanding. I'm still discovering how the community is really working. Trying to fix a few things in the mean time http://bugs.python.org/issue12921 http://bugs.python.org/issue747320 http://bugs.python.org/issue11448 http://b

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: Because if the graft succeeds "hg graft 2.7" does everything (including porting extra modifications that I made before committing on 2.7 and the commit on 3.2), if there are conflicts I just spend a few seconds more in kdiff3 to fix them. Reapplying the patch me

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: If you start with a patch against 3.x, which is the normal case, why go to the trouble of grafting from the patch modified for 2.7? It seems you're just creating more trouble for yourself (introducing more conflicts you have to resolve, etc) when you already

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

2013-02-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: A time object isn't associated with any date, so I don't really see a problem here. The fact that you can shoot yourself in the leg can be documented, noting that you should use datetime instead. ISTM the reason why time objects even have an associated timezone

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

2013-02-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: datetime.time arithmetic cannot be timezone aware, as there is no associated date and hence you cannot possibly know if there it a DST transition. I don't think this is a problem. Adding/removing time to a clock value has clear real-world semantics. Using the

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: Also I often made changes on the patch I imported and applied on 2.7 (e.g. update Misc/NEWS). Reimporting the patch means that I would have to do it again, and both "hg import --no-c url_of_the patch" and "hg export 2.7 | hg import -" are more complicated than

[issue17302] HTTP/2.0 - Implementations/Testing efforts

2013-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > agreed on HTTP/1.1, is there a plan to fix it too ;) because the > current http.server seems to be untouchable without breaking stuff > all around :) The way to do it without breaking compatibility would be to write a new handler, see my platonic proposal at h

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Why must we mention graft at all? I've never had a need for it. It > seems simpler and just as effective to run `hg import` on the > original patch. `hg graft` actually works in some cases where `hg import` will fail, because grafting uses the merge logic (s

[issue17284] create mercurial section in devguide's committing.rst

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: The problem with that is that you have to navigate through different links/pages/sections though (see also msg182645). -- ___ Python tracker ___

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

2013-02-27 Thread jbatista
jbatista added the comment: IMHO this should be "safe" when the timezone is UTC for example, where there is no problems with daylight savings. What should be the behavior when adding a certain timedelta() and it crosses a date where there is an hour switch due to daylight savings? The unadvise

[issue17284] create mercurial section in devguide's committing.rst

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: I think making the sections more focused helps because sections are the linkable units, and sections can be freely moved around once they are more stand-alone (e.g. into or out of the FAQ). In issue 16931 in response to Ned, I suggested adding a general Mercur

[issue15465] Improved documentation for C API version info

2013-02-27 Thread Kushal Das
Kushal Das added the comment: Adding the updated patch with changes as suggested in the review -- Added file: http://bugs.python.org/file29260/issue15465v2.patch ___ Python tracker _

[issue16113] Add SHA-3 (Keccak) support

2013-02-27 Thread Ulrik Sverdrup
Ulrik Sverdrup added the comment: Please do not go forward until NIST publishes its SHA-3 specification document. We don't know yet what parameters they will finally choose when making Keccak SHA-3. -- nosy: +englabenny ___ Python tracker

[issue17284] create mercurial section in devguide's committing.rst

2013-02-27 Thread Ezio Melotti
Ezio Melotti added the comment: > The point of the change in section title is to have a title so > non-committers know they can skip over the section. In the first part of committing.rst there are also things for committers only, and some of the content of the "working with mercurial" might be

[issue16931] mention work-around to create diffs in default/non-git mode

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: > AFAICT, the recommendation to use hg "git" format is currently only mentioned > in the Committing section > (http://docs.python.org/devguide/committing.html#minimal-configuration) but > not elsewhere, in particular, not http://docs.python.org/devguide/patch.

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Why must we mention graft at all? I've never had a need for it. It seems simpler and just as effective to run `hg import` on the original patch. I think it's preferable that the steps we recommend to work on all systems. Then we won't have to worry about do

[issue17284] create mercurial section in devguide's committing.rst

2013-02-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Currently the section covers all the fundamental Mercurial-related operations > that a committers needs to know (set up, commit, merge, push), not just > committing. The point of the change in section title is to have a title so non-committers know they can

[issue17307] HTTP PUT request Example

2013-02-27 Thread Senthil Kumaran
New submission from Senthil Kumaran: I think an explicit HTTP put request example in the docs may help. Previously, I thought the POST example was enough as PUT is very similar, but given the folks are looking for it, an example of how to do a PUT request using httplib may be helpful. Here is

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-02-27 Thread Maximiliano Curia
Maximiliano Curia added the comment: I've deleted my previous patch, as I found the code working as intended. The domain_specified signals whether the domain stores came from a Domain: tag inside a Set-Cookie request or is taken from the hostname of the request. The rfc2965 dictates that a val

  1   2   >