[Python-Dev] Deprecation policy

2011-10-24 Thread Ezio Melotti
, Ezio Melotti [0]: http://bugs.python.org/issue13248 [1]: deprecated-removed doesn't seem to be documented in the documenting doc, but it was added here: http://hg.python.org/cpython/rev/03296316a892 [2]: see e.g. http://hg.python.org/cpython/file/default/Lib/unittest/test/test_case.py#l1187 [3

Re: [Python-Dev] [Python-checkins] r88914 - tracker/instances/python-dev/html/issue.item.js

2011-10-26 Thread Ezio Melotti
this shortcut! However I think I'll just leave $(document).ready(...); because, even if longer, is more explicit and readable. Best Regards, Ezio Melotti --Berker ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] [Python-checkins] cpython (2.7): Add a button to the code examples in the doc to show/hide the prompts and

2011-10-31 Thread Ezio Melotti
script could be replaced with a couple of lines of CSS using the CSS3 user-select property (so that only the code and not the rest is actually copied), but at the moment the support for it is still a bit lacking and inconsistent. Best Regards, Ezio Melotti Cheers

Re: [Python-Dev] [Python-checkins] cpython (2.7): Inline the advisory text on how to use the shelve module.

2011-11-04 Thread Ezio Melotti
line it should be 'persistent'. Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] order of Misc/ACKS

2011-11-11 Thread Ezio Melotti
, Ezio Melotti Eli ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 407: New release cycle and introducing long-term support versions

2012-01-17 Thread Ezio Melotti
releases and which are LTS releases? How do we manage user expectations? This is not an issue with the scheme I proposed. A community poll or survey to collect opinions from the greater Python community would be valuable before making a final decision. [...] Best Regards, Ezio Melotti

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-16 Thread Ezio Melotti
to a CPython implementation detail? If we all go through a deprecation process we will eventually be able to get rid of this. Best Regards, Ezio Melotti Stefan ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-16 Thread Ezio Melotti
too noisy then we need a better mechanism to warn people who care (and going to check the doc every once in a while to see if some new doc warning has been added doesn't strike me as a valid solution). Best Regards, Ezio Melotti ___ Python-Dev mailing

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-17 Thread Ezio Melotti
/pipermail/python-dev/2011-October/114199.html Best Regards, Ezio Melotti Cheers, Nick. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-28 Thread Ezio Melotti
already text (rather than bytes) and even without using unicode_literals they worked out of the box when I moved the code to 3.x. There was however a place where it didn't work, and that turned out to be a bug even in Python 2 because I was mixing bytes and text. Best Regards, Ezio Melotti

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-28 Thread Ezio Melotti
, Ezio Melotti Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 414

2012-03-02 Thread Ezio Melotti
the u automatically or is there a further step that developers should do before testing on 3.1/3.2? Best Regards, Ezio Melotti [0]: ISTM that people think once you decide to switch to 3.x, there's really no reason to pick an older release, just pick the latest (3.3). While this might be true

Re: [Python-Dev] PEP 414

2012-03-02 Thread Ezio Melotti
Hi Ezio, Am 02.03.2012 um 10:33 schrieb Ezio Melotti: Reading this led me to think the following: * 2.5 is now available basically everywhere, and it was released almost 5 years ago (Sep 2006); * if it takes the same time for 3.3, it will be widespread after 4-5 years (i.e. 2016-2017) [0

Re: [Python-Dev] PendingDeprecationWarning

2012-03-27 Thread Ezio Melotti
the Developer's Guide for both deprecation and DeprecationWarning and found nothing. See http://mail.python.org/pipermail/python-dev/2011-October/114199.html Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] [Python-checkins] cpython (2.7): Clean-up the SQLite introduction.

2012-04-17 Thread Ezio Melotti
@@  :file:`/tmp/example` file:: The filename here should be updated too.    import sqlite3 -   conn = sqlite3.connect('/tmp/example') +   conn = sqlite3.connect('example.db') Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Changes in html.parser may cause breakage in client code

2012-04-26 Thread Ezio Melotti
an extensive renaming. I can add notes to the documentation/docstrings and specify what's private and what's not though. OTOH, if this specific fix is not released yet I can still do something to limit/avoid the breakage. Best Regards, Ezio Melotti Regards, Vinay Sajip

Re: [Python-Dev] outdated info on download pages for older versions

2012-05-02 Thread Ezio Melotti
/devguide/peps/etc.) except that no one ported it yet? Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive

Re: [Python-Dev] cpython: #15114: the strict mode of HTMLParser and the HTMLParseError exception are

2012-06-23 Thread Ezio Melotti
for an arbitrary subset of markup errors. As someone already suggested, I should write a blog post explaining all this, but I'm still working on ironing out the last things in the code, so the blog post has yet to reach the top of my todo list. Best Regards, Ezio Melotti Regards Antoine

Re: [Python-Dev] Removing IDLE from the standard library

2010-07-12 Thread Ezio Melotti
to the nosy list and let them assign the issue to themselves if they want to fix it. Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] No response to posts

2010-08-01 Thread Ezio Melotti
On 01/08/2010 20.43, R. David Murray wrote: On Sun, 01 Aug 2010 21:28:05 +1000, Nick Coghlanncogh...@gmail.com wrote: On Sun, Aug 1, 2010 at 5:41 PM, Mark Lawrencebreamore...@yahoo.co.uk wrote: I plucked this figure out of the air thinking that if an issue was going to drop under the radar,

Re: [Python-Dev] [Python-checkins] r83596 - in python/branches/release26-maint: Doc/library/constants.rst

2010-08-02 Thread Ezio Melotti
- ___ Python-checkins mailing list python-check...@python.org http://mail.python.org/mailman/listinfo/python-checkins Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] Windows

2010-08-04 Thread Ezio Melotti
to python-dev, but someone should write some code (I could do that but it's quite low in my to-do list) and make it run once a week. Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] [Python-checkins] r83763 - in python/branches/py3k: Doc/library/signal.rst Lib/test/test_signal.py Misc/NEWS Modules/signalmodule.c

2010-08-06 Thread Ezio Melotti
-checkins mailing list python-check...@python.org http://mail.python.org/mailman/listinfo/python-checkins Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] [Python-checkins] r83778 - in python/branches/py3k/Lib/test: test_import.py test_sax.py test_sys.py test_urllib.py test_urllib2.py test_xml_etree.py

2010-08-07 Thread Ezio Melotti
://mail.python.org/mailman/listinfo/python-checkins Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] Summary of Python tracker Issues

2010-08-10 Thread Ezio Melotti
information see http://psf.upfronthosting.co.za/roundup/meta/issue284. Best Regards, Ezio Melotti P.S.: Thanks to R. David Murray that helped me out with the testing and to all the people who provided (and will provide) feedback. ___ Python-Dev

Re: [Python-Dev] New Summary Lists on Issue Tracker

2010-08-11 Thread Ezio Melotti
On 11/08/2010 17.59, Mark Dickinson wrote: On Wed, Aug 11, 2010 at 3:21 PM, Tim Goldenm...@timgolden.me.uk wrote: Thanks to whoever's been working on the new Summary lists on the Issue Tracker. Ezio Melotti, I assume. Yes :) (see http://psf.upfronthosting.co.za/roundup/meta/issue329

Re: [Python-Dev] Summary of Python tracker Issues

2010-11-05 Thread Ezio Melotti
) closed 19597 (+78) total 22111 (+95) as suggested in recent mails[0][1] I changed these values to represent the deltas with the previous week. Now let's try to keep the open delta negative ;) Best Regards, Ezio Melotti [0]: http://mail.python.org/pipermail/python-dev/2010-October/104840.html

Re: [Python-Dev] Summary of Python tracker Issues

2010-11-06 Thread Ezio Melotti
On 06/11/2010 19.01, Terry Reedy wrote: On 11/6/2010 11:42 AM, R. David Murray wrote: On Sat, 06 Nov 2010 15:38:22 +0100, Georg Brandlg.bra...@gmx.net wrote: Am 06.11.2010 05:44, schrieb Ezio Melotti: Hi, On 05/11/2010 19.08, Python tracker wrote: ACTIVITY SUMMARY (2010-10-29 - 2010-11-05

Re: [Python-Dev] [Python-checkins] r86530 - python/branches/py3k/Doc/howto/unicode.rst

2010-11-19 Thread Ezio Melotti
, replace) -'\ufffdabc' +'�abc' Apparently 'make latex' and 'make all-pdf' don't like this char. b'\x80abc'.decode(utf-8, ignore) 'abc' [...] Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http

[Python-Dev] Re-enable warnings in regrtest and/or unittest

2010-11-22 Thread Ezio Melotti
. If no flags are passed the default will be -Wd, otherwise the behavior will be the one specified by the flag. This will allow developers to use `python -Wi` to ignore errors explicitly. Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Re-enable warnings in regrtest and/or unittest

2010-11-22 Thread Ezio Melotti
On 22/11/2010 19.45, Michael Foord wrote: On 22/11/2010 17:35, Łukasz Langa wrote: Am 22.11.2010 18:14, schrieb Ezio Melotti: I would like to re-enable by default warnings for regrtest and/or unittest. +1 Especially in regrtest it could help manage stdlib quality (currently we have a horde

Re: [Python-Dev] [Python-checkins] r87815 - peps/trunk/pep-3333.txt

2011-01-20 Thread Ezio Melotti
On Fri, Jan 7, 2011 at 4:39 PM, phillip.eby python-check...@python.orgwrote: Author: phillip.eby Date: Fri Jan 7 16:39:27 2011 New Revision: 87815 Log: More bytes I/O fixes Modified: peps/trunk/pep-.txt Modified: peps/trunk/pep-.txt

Re: [Python-Dev] Finding buildbot failures

2011-02-25 Thread Ezio Melotti
://code.google.com/p/bbreport/wiki/Screenshots): hg clone https://bbreport.googlecode.com/hg/ bbreport cd bbreport python bbreport --help python bbreport 3.x (There is some issue with hg revision numbers that I haven't fixed yet, but the above command should work fine) Best Regards, Ezio Melotti Thanks

Re: [Python-Dev] [Python-checkins] (2.7): Use simpler assert in basic example.

2011-03-11 Thread Ezio Melotti
assertEqual/assertTrue/assertRaises? Best Regards, Ezio Melotti Cheers, Nick. files: Doc/library/unittest.rst diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -130,13 +130,13 @@ def test_choice(self

Re: [Python-Dev] cpython (3.1): #2650: Refactor re.escape to use enumerate().

2011-03-27 Thread Ezio Melotti
]: http://bugs.python.org/issue2650 [1]: http://hg.python.org/cpython/rev/1402c719b7cf [2]: http://hg.python.org/cpython/rev/9147f7ed75b3 [3]: http://hg.python.org/cpython/rev/ed02db9921ac Best Regards, Ezio Melotti Georg ___ Python-Dev mailing list

Re: [Python-Dev] devguide: Add a table of contents to the FAQ.

2011-03-31 Thread Ezio Melotti
On 30/03/2011 23.20, Antoine Pitrou wrote: On Tue, 29 Mar 2011 21:00:22 +0200 ezio.melottipython-check...@python.org wrote: http://hg.python.org/devguide/rev/f722956afeac changeset: 405:f722956afeac user:Ezio Melotti date:Tue Mar 29 22:00:13 2011 +0300 summary: Add a table

Re: [Python-Dev] Please revert autofolding of tracker edit form

2011-03-31 Thread Ezio Melotti
://wiki.python.org/moin/DesiredTrackerFeatures to list the things that you would like to see, so that they don't get lost in the archives of python-dev. Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] Issue Tracker

2011-04-26 Thread Ezio Melotti
roundup in bottom-post (chronological) format? TIA! ~Ethan~ See line 309 of http://svn.python.org/view/tracker/instances/python-dev/html/issue.item.html?view=markup If you have other questions about Roundup see https://lists.sourceforge.net/lists/listinfo/roundup-users Best Regards, Ezio

Re: [Python-Dev] [Python-checkins] cpython: test.support: add requires_mac_ver() function

2011-06-01 Thread Ezio Melotti
)] Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fixup repr for dict_proxy objects.

2011-06-29 Thread Ezio Melotti
the branches. See also http://bugs.python.org/issue5587 Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 - default): Merge with 3.2.

2011-07-14 Thread Ezio Melotti
Hi, On 14/07/2011 15.57, ezio.melotti wrote: http://hg.python.org/cpython/rev/ac1c3291a689 changeset: 71325:ac1c3291a689 parent: 71321:f45823977d4b parent: 71324:530ba6c7e578 user:Ezio Melotti ezio.melo...@gmail.com date:Thu Jul 14 15:57

Re: [Python-Dev] [Python-checkins] r88867 - in tracker/instances/python-dev: extensions/pydevutils.py html/file.item.html html/issue.item.html html/msg.item.html

2011-07-23 Thread Ezio Melotti
them accidentally (almost) impossible. Messages and files can be deleted/restored from their pages. Links to these pages can be found in the history of the issue. For messages and files that are still linked to the issue, the (view) and edit links can also be used. Best Regards, Ezio Melotti

Re: [Python-Dev] Convention on functions that shadow existing stdlib functions

2011-07-27 Thread Ezio Melotti
arkup.html#information-units) Best Regards, Ezio Melotti 2. Some functions like unlink and rmtree are obviously redundant, and shadow frequently used Python stdlib functions, so I would either

Re: [Python-Dev] [Python-checkins] cpython: fix doc typo for library/test.rst

2011-07-27 Thread Ezio Melotti
the change import_fresh_module was still returning the module (e.g. json) even when the acceleration (fresh=['_json']) was missing, and the C tests were run twice using the same pure-python module used for the Py ones. The typo and the wrong doc is also on 2.7. Best Regards, Ezio Melotti

Re: [Python-Dev] [Python-checkins] cpython: Modernize modulefinder module and tests a bit.

2011-07-30 Thread Ezio Melotti
* -- and this seems wrong; packagePathMap[packagename] = paths Also this is not necessary anymore if you use setdefault. replacePackageMap = {} @@ -106,14 +102,14 @@ [...] Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] [Python-checkins] cpython: Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds

2011-07-30 Thread Ezio Melotti
diff --git a/Lib/smtplib.py b/Lib/smtplib.py --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -215,7 +215,8 @@ [...] Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] [Python-checkins] cpython (2.7): Fix closes Issue12722 - link heapq source in the text format in the

2011-08-10 Thread Ezio Melotti
don't have the 'source' directive available in Sphinx and therefore we would have to update all the links manually to link to h.p.o instead of s.p.o. Best Regards, Ezio Melotti What do we use to provide the web part of hg.p.o? maybe we can just ask the developers of this tool to provide

Re: [Python-Dev] FileSystemError or FilesystemError?

2011-08-23 Thread Ezio Melotti
Regards, Ezio Melotti Regards, Nick. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 393 Summer of Code Project

2011-08-25 Thread Ezio Melotti
to get the original string too. 2) I'm on vacation. Best Regards, Ezio Melotti [0]: for lower/upper/title it should be possible to modify the string in place, because these operations never converts a non-BMP char to a BMP one (and vice versa), so if two surrogates are read, two surrogates

Re: [Python-Dev] PEP 393 Summer of Code Project

2011-08-25 Thread Ezio Melotti
and quoted the relevant parts of the Unicode standard.) Best Regards, Ezio Melotti [0]: From the chapter 3 [4], D77 Code unit: The minimal bit combination that can represent a unit of encoded text for processing or interchange. • Code units are particular units of computer storage. Other character

Re: [Python-Dev] PEP 393 Summer of Code Project

2011-08-26 Thread Ezio Melotti
mismatches with the Unicode standard and report an issue, feel free to assign it to me). Best Regards, Ezio Melotti For reasons of practicality, it may be appropriate to provide easy access to a CESU-8 decoder in addition to the normal UTF-8 decoder, but it must not be called UTF-8

Re: [Python-Dev] Should we move to replace re with regex?

2011-08-26 Thread Ezio Melotti
). Best Regards, Ezio Melotti -- --Guido van Rossum (python.org/~guido http://python.org/%7Eguido) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] Should we move to replace re with regex?

2011-08-27 Thread Ezio Melotti
left and if they can't be fixed in regex. Best Regards, Ezio Melotti [0]: http://pypi.python.org/pypi/regex/0.1.20110717 [1]: The NEW flag turns on the new behaviour of this module, which can differ from that of the 're' module, such as splitting on zero-width matches, inline flags affecting only

Re: [Python-Dev] Should we move to replace re with regex?

2011-08-27 Thread Ezio Melotti
On Sat, Aug 27, 2011 at 4:56 AM, Antoine Pitrou solip...@pitrou.net wrote: On Sat, 27 Aug 2011 04:37:21 +0300 Ezio Melotti ezio.melo...@gmail.com wrote: I'm not sure it's worth doing an extensive review of the code, a better approach might be to require extensive test coverage

Re: [Python-Dev] Should we move to replace re with regex?

2011-08-29 Thread Ezio Melotti
the review for 2). The same could be done with a diff that replaces the whole module though. 3) will follow after 2), and 4) is not difficult and can be done when we actually replace re (it's probably enough to reorganize a bit and convert to rst the page on PyPI). Best Regards, Ezio Melotti [0

Re: [Python-Dev] [Python-checkins] cpython: Issue #12567: Fix curses.unget_wch() tests

2011-09-08 Thread Ezio Melotti
('a') curses.unget_wch(ch) read = stdscr.get_wch() if read != ch: Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] cpython: Issue #1172711: Add 'long long' support to the array module.

2011-09-21 Thread Ezio Melotti
100. Best Regards, Ezio Melotti Michael ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython (3.2): Issue #7732: Don't open a directory as a file anymore while importing a

2011-09-23 Thread Ezio Melotti
On 23/09/2011 20.11, Éric Araujo wrote: Hi Victor, diff --git a/Misc/NEWS b/Misc/NEWS --- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,10 @@ Core and Builtins - +- Issue #7732: Don't open a directory as a file anymore while importing a + module. Ignore the direcotry if its

[Python-Dev] Hg tips (was Re: [Python-checkins] cpython (merge default - default): Merge heads.)

2011-09-29 Thread Ezio Melotti
summary: Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODE changeset: 72517:ba6ee5cc9ed6 user:Ezio Melotti ezio.melo...@gmail.com date:Thu Sep 29 08:34:36 2011 +0300 summary: Update and reorganize the whatsnew entry for PEP 393. # here comes the tip: before

Re: [Python-Dev] [Python-checkins] r88904 - tracker/instances/python-dev/html/issue.item.js

2011-10-07 Thread Ezio Melotti
conflict with the browser commands. * While replying (i.e. while writing in the comment textarea), the shortcuts are disabled. You can hit ESC to unfocus the textarea and then use them. You can then press 'r' again to continue editing. Best Regards, Ezio Melotti

Re: [Python-Dev] Misc re.match() complaint

2013-07-18 Thread Ezio Melotti
means bytes, bytes-like object means any object that supports the buffer protocol [0] (including bytes). string and bytes-like object includes all of them. I don't think we need to introduce new terms. Best Regards, Ezio Melotti [0]: http://docs.python.org/3/glossary.html#term-bytes-like-object

Re: [Python-Dev] [Python-checkins] cpython (merge 2.7 - 2.7): Clean merge

2013-08-12 Thread Ezio Melotti
the changes you just committed with the ones you pulled, and result in a shorter diff that is easier to read/review/merge. Otherwise pulling and updating before committing will avoid the problem entirely (unless you end up in a push-race). Best Regards, Ezio Melotti

Re: [Python-Dev] When to remove deprecated stuff (was: Deprecating the formatter module)

2013-08-15 Thread Ezio Melotti
deprecation policy: http://mail.python.org/pipermail/python-dev/2011-October/114199.html My idea was to turn this into an informational PEP but I didn't receive much feedback. If people are interested I could still do it. Best Regards, Ezio Melotti If we are going to do them incrementally we should

Re: [Python-Dev] When to remove deprecated stuff (was: Deprecating the formatter module)

2013-08-15 Thread Ezio Melotti
otherwise. http://bugs.python.org/issue10535 (I put the keys of the time machine back at their usual place) Best Regards, Ezio Melotti I still think keeping them silent for the benefit of end-users is a good thing as long as we make it easier for developers to switch on warnings without

Re: [Python-Dev] When to remove deprecated stuff

2013-08-22 Thread Ezio Melotti
automatically (at least with unittest), but even if you don't you should run your code with -Wa before upgrading (or test your code on the new version before upgrading Python/Django/etc. in production). Best Regards, Ezio Melotti I hope the same will not start happening each time I upgrade Python

Re: [Python-Dev] When to remove deprecated stuff

2013-08-22 Thread Ezio Melotti
, Ezio Melotti --David PS: When thinking about this, remember that our effective policy for (the second half of?) Python2 was to hold all the big cruft removal until Python3. Even some stuff that was originally scheduled to be removed sooner got left in. So our user base is currently used

Re: [Python-Dev] When to remove deprecated stuff

2013-08-22 Thread Ezio Melotti
On Thu, Aug 22, 2013 at 7:45 PM, Donald Stufft don...@stufft.io wrote: On Aug 22, 2013, at 1:34 PM, Ezio Melotti ezio.melo...@gmail.com wrote: Hi, On Thu, Aug 22, 2013 at 1:00 PM, Petri Lehtinen pe...@digip.org wrote: Removing some cruft on each release can be very painful for users

Re: [Python-Dev] PEP 457: Syntax For Positional-Only Parameters

2013-10-09 Thread Ezio Melotti
On Wed, Oct 9, 2013 at 8:15 AM, Georg Brandl g.bra...@gmx.net wrote: [...] Rather, I would try to make as many C functions as possible regular, See http://bugs.python.org/issue8706 and http://bugs.python.org/issue8350 Best Regards, Ezio Melotti

[Python-Dev] Deprecation policy

2014-01-25 Thread Ezio Melotti
suggested me to bring this up again. Nick also suggested to document our deprecation policy in PEP 5 (Guidelines for Language Evolution: http://www.python.org/dev/peps/pep-0005/ ). I'm including below the full text of the original email. Best Regards, Ezio Melotti

Re: [Python-Dev] CLA link from bugs.python.org

2014-02-16 Thread Ezio Melotti
Hi, On Sun, May 5, 2013 at 7:45 AM, Ezio Melotti ezio.melo...@gmail.com wrote: Hi, On Sun, May 5, 2013 at 4:23 AM, Tim Delaney timothy.c.dela...@gmail.com wrote: It appears there's no obvious link from bugs.python.org to the contributor agreement - you need to go via the unintuitive link

Re: [Python-Dev] CLA link from bugs.python.org

2014-02-16 Thread Ezio Melotti
On Sun, Feb 16, 2014 at 11:06 AM, Georg Brandl g.bra...@gmx.net wrote: Am 16.02.2014 09:40, schrieb Ezio Melotti: Hi, On Sun, May 5, 2013 at 7:45 AM, Ezio Melotti ezio.melo...@gmail.com wrote: Hi, On Sun, May 5, 2013 at 4:23 AM, Tim Delaney timothy.c.dela...@gmail.com wrote: It appears

Re: [Python-Dev] Print policy for deprecated modules

2012-07-22 Thread Ezio Melotti
On Sun, Jul 22, 2012 at 12:18 PM, anatoly techtonik techto...@gmail.com wrote: What is a print policy for deprecated modules? new module is deprecated in 2.6, but 2.7.3 doesn't print any warnings. Is it a bug? python -Wd -c import new In theory this should show a warning, but for some

Re: [Python-Dev] Summary of Python tracker Issues

2012-08-25 Thread Ezio Melotti
/docs/xmlrpc.html and the source of the script that generates the summary: http://hg.python.org/tracker/python-dev/file/default/scripts/roundup-summary Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] [Python-checkins] cpython (2.7): #15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst

2012-09-13 Thread Ezio Melotti
:Ezio Melotti ezio.melo...@gmail.com date:Fri Sep 14 01:58:33 2012 +0300 summary: #15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly. I also contributed to this. :) Yes, with all these ACKS and names I forgot to mention yours

Re: [Python-Dev] [Python-checkins] cpython: Add a few entries to whatsnew/3.3.rst.

2012-09-26 Thread Ezio Melotti
On Wed, Sep 26, 2012 at 6:02 PM, Walter Dörwald wal...@livinglogic.de wrote: On 26.09.12 16:43, ezio.melotti wrote: http://hg.python.org/cpython/rev/36f61661f71e changeset: 79194:36f61661f71e user:Ezio Melotti ezio.melo...@gmail.com date:Wed Sep 26 17:43:23 2012 +0300

Re: [Python-Dev] Summary of Python tracker Issues

2012-11-30 Thread Ezio Melotti
): http://wolfprojects.altervista.org/issues.html FTR this is based on the word done by anatoly (see links on the page). I'm planning to eventually integrate this in the tracker too, but lately I don't have too much time, so there's no ETA. Best Regards, Ezio Melotti

Re: [Python-Dev] hg.python.org Mercurial upgrade

2013-01-23 Thread Ezio Melotti
provides a way to limit the replacement only to specific places and/or use different replacements for different places, we will either have to live with these glitches or come up with a proper fix done at the right level. Best Regards, Ezio Melotti Regards Antoine

Re: [Python-Dev] hg.python.org Mercurial upgrade

2013-01-23 Thread Ezio Melotti
On Thu, Jan 24, 2013 at 4:29 AM, Chris Jerdonek chris.jerdo...@gmail.com wrote: On Wed, Jan 23, 2013 at 6:16 PM, Ezio Melotti ezio.melo...@gmail.com wrote: On Wed, Jan 23, 2013 at 9:43 PM, Antoine Pitrou solip...@pitrou.net wrote: On Wed, 23 Jan 2013 20:41:11 +0100 Amaury Forgeot d'Arc amaur

Re: [Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new ~= operator

2013-02-22 Thread Ezio Melotti
[0][2]. Perl also has a similar-looking operator [3] (=~) used to test a regex match. Best Regards, Ezio Melotti [0]: http://www.w3.org/TR/selectors/#selectors [1]: http://api.jquery.com/attribute-starts-with-selector/ [2]: http://api.jquery.com/attribute-contains-word-selector/ [3]: http

Re: [Python-Dev] [Python-checkins] cpython (3.3): Don't deadlock on a reentrant call.

2013-03-01 Thread Ezio Melotti
tests for this change would be nice.) Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Introducing Electronic Contributor Agreements

2013-03-05 Thread Ezio Melotti
Regards, Ezio Melotti -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] VC++ 2008 Express Edition now locked away?

2013-03-06 Thread Ezio Melotti
the purchased copy. That's where I gave up. Best Regards, Ezio Melotti So it would appear that section 1.1.3.3. Windows of 1. Getting Started (setup.rst) needs further revision. Or perhaps we could persuade Microsoft to let us distribute it ourselves so Windows versions of 2.7 do not become

Re: [Python-Dev] [Python-checkins] cpython: Issue #17385: Fix quadratic behavior in threading.Condition

2013-03-10 Thread Ezio Melotti
import deque as _deque Shouldn't the one in the 'try' be _islice too? Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] cpython (2.7): #16004: Add `make touch`.

2013-03-11 Thread Ezio Melotti
:3e14aafeca04 user:Ezio Melotti ezio.melo...@gmail.com date:Mon Mar 11 09:14:09 2013 +0200 summary: #16004: Add `make touch`. Shouldn't that be mentioned / explained / documented somewhere? It doesn't look obvious in which circumstances it could be useful. It will be documented

Re: [Python-Dev] [Python-checkins] CANNOT Patch 3.x NEWS [was cpython (2.7): Issue #14707: add news entry\

2013-03-12 Thread Ezio Melotti
on #python-dev too.) Best Regards, Ezio Melotti tjr ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] CANNOT Patch 3.x NEWS [was cpython (2.7): Issue #14707: add news entry\

2013-03-12 Thread Ezio Melotti
Hi, On Tue, Mar 12, 2013 at 7:19 PM, Terry Reedy tjre...@udel.edu wrote: On 3/12/2013 2:52 AM, Ezio Melotti wrote: What are the exact commands you used? Clicks on TortoiseHg HgWorkbench GUI ;-). I wonder if TortoiseHg is doing something wrong here. Maybe you could try from cmd too

Re: [Python-Dev] [Python-checkins] CANNOT Patch 3.x NEWS [was cpython (2.7): Issue #14707: add news entry\

2013-03-13 Thread Ezio Melotti
the repository. Since this is the second time I have re-cloned from python.org, I will follow the advice I read somewhere to make a _backup clone that I leave alone until I need it, so I only have to pull from now until then when I do. Good idea :) On 3/12/2013 7:34 PM, Ezio Melotti wrote: I

Re: [Python-Dev] [Python-checkins] cpython (merge default - default): Merge heads default.

2013-03-16 Thread Ezio Melotti
really happen often™[0] happened I can point to some actual graphs that will hopefully clarify why all these merges are necessary :) Best Regards, Ezio Melotti [0]: http://bugs.python.org/issue14468#msg184140 ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] [Python-checkins] cpython (merge default - default): Merge heads default.

2013-03-16 Thread Ezio Melotti
, and in this case I would have used Merge with 3.x.. FWIW I might add http://bugs.python.org/issue15917 at some point, to prevent these situations. Best Regards, Ezio Melotti I have no doubt the the extra merges are needed ;-). ___ Python-Dev mailing

Re: [Python-Dev] [Python-checkins] cpython: Issue #17385: Fix quadratic behavior in threading.Condition

2013-03-19 Thread Ezio Melotti
On Mon, Mar 11, 2013 at 3:14 AM, Ezio Melotti ezio.melo...@gmail.com wrote: Hi, On Mon, Mar 11, 2013 at 2:58 AM, raymond.hettinger python-check...@python.org wrote: http://hg.python.org/cpython/rev/0f86b51f8f8b changeset: 82592:0f86b51f8f8b user:Raymond Hettinger pyt...@rcn.com

Re: [Python-Dev] [Python-checkins] cpython (2.7): Issue 17538: Document XML vulnerabilties

2013-03-28 Thread Ezio Melotti
/Document_Type_Definition [...] Best Regards, Ezio Melotti ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] CLA link from bugs.python.org

2013-05-04 Thread Ezio Melotti
add a patch to the tracker). I'd suggest that if the Contributor Form Received field is No in user details, there be a link to http://www.python.org/psf/contrib/. See http://psf.upfronthosting.co.za/roundup/meta/issue461. Best Regards, Ezio Melotti Tim Delaney

Re: [Python-Dev] performance testing recommendations in devguide

2013-05-30 Thread Ezio Melotti
Benchmarking HOWTO that covers generic topics could/should be added to docs.python.org. Best Regards, Ezio Melotti What would you add/subtract from the above? How important is testing memory performance? How do we avoid performance regressions? Thanks! -eric

[Python-Dev] global statements outside functions/methods should raise SyntaxError

2009-11-15 Thread Ezio Melotti
Python currently accepts global statements at the top level: global foo Beside being a meaningless operation, this might lead unexperienced user to make mistakes like: foo = 5 global foo # make foo global def func(): ... print foo # access the global foo ... func() 5 # it works!

[Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-27 Thread Ezio Melotti
I noticed that in the py3k doc 'mktemp' is marked as deprecated since Python 2.3 [1], but the function is still there and doesn't raise any warning. Looking at the source I found out that there is a warning, but it is commented out [2], the reason being because they are too annoying. There was

Re: [Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-29 Thread Ezio Melotti
On 28/01/2010 8.39, Brett Cannon wrote: On Wed, Jan 27, 2010 at 15:54, Ezio Melottiezio.melo...@gmail.com wrote: I noticed that in the py3k doc 'mktemp' is marked as deprecated since Python 2.3 [1], but the function is still there and doesn't raise any warning. Looking at the source I found

[Python-Dev] __file__ is not always an absolute path

2010-02-06 Thread Ezio Melotti
In #7712 I was trying to change regrtest to always run the tests in a temporary CWD (e.g. /tmp/@test_1234_cwd/). The patches attached to the issue add a context manager that changes the CWD, and it works fine when I run ./python -m test.regrtest from trunk/. However, when I try from trunk/Lib/

Re: [Python-Dev] Request for commit access

2010-03-23 Thread Ezio Melotti
On 23/03/2010 16.50, Brian Curtin wrote: Hi all, Having been active in bug triage and patch writing/reviewing since late 2009, it was suggested in the python-dev IRC channel that I request commit access to the repository. I'm primarily a Windows user and have worked with many of the other

[Python-Dev] Add -3 and -Wd to the buildbots

2010-03-31 Thread Ezio Melotti
Hi, now that the py3k warnings are fixed (see http://bugs.python.org/issue7092) we should run the tests on the trunk buildbots with the -3 flags, in order to check if new warnings are introduced and possibly to uncover other ones. It might be a good idea to add the -Wd flag too, both on trunk

Re: [Python-Dev] Anyone can do patch reviews (was: Enhanced tracker privileges...)

2010-04-27 Thread Ezio Melotti
On Tue, Apr 27, 2010 at 5:16 PM, Barry Warsaw ba...@python.org wrote: On Apr 27, 2010, at 02:40 PM, exar...@twistedmatrix.com wrote: On 01:38 pm, rdmur...@bitdance.com wrote: 2) have unit tests that fail before the patch and succeed after This list would make a good addition to one of

  1   2   >