[issue15121] devguide doesn't document all bug tracker components

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: > I suspect it's automatically set for issues reported via email Apparently it's set automatically on new issues if no other component is specified, even if the issue is created from the web interface. -- ___ Python t

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread DDarko
DDarko added the comment: I understand, in that case: /cpython/file/default/Lib/smtplib.py 760c760,761 < self.rset() --- > try: self.rset() > except: pass Solves the problem. -- ___ Python tracker

[issue15882] _decimal.Decimal constructed from tuple

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset d22ea2aa1057 by Stefan Krah in branch 'default': Issue #15882: Change _decimal to accept any coefficient tuple when http://hg.python.org/cpython/rev/d22ea2aa1057 -- ___ Python tracker

[issue15969] faulthandler: drop S from dump_tracebacks_later() function name to have consistent names

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset eede0bf3ceac by Georg Brandl in branch 'default': Closes #15969: rename new API to have consistent names in the faulthandler module. http://hg.python.org/cpython/rev/eede0bf3ceac -- stage: -> committed/rejected ___

[issue15977] Memory leak in _ssl.c

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4cf53684e14e by Christian Heimes in branch 'default': Issue #15977: Fix memory leak in Modules/_ssl.c when the function _set_npn_protocols() is called multiple times http://hg.python.org/cpython/rev/4cf53684e14e --

[issue15973] Segmentation fault on timezone comparison

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec77f8fb9958 by Georg Brandl in branch 'default': Closes #15973: fix a segmentation fault when comparing timezone objects. http://hg.python.org/cpython/rev/ec77f8fb9958 -- ___ Python tracker

[issue15926] Segmentation fault after multiple reinitializations

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6708224f8bee by Antoine Pitrou in branch 'default': Issue #15926: Fix crash after multiple reinitializations of the interpreter. http://hg.python.org/cpython/rev/6708224f8bee -- ___ Python tracker

[issue15925] email.utils.parsedate() and email.utils.parsedate_tz() should return None when date cannot be parsed

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1e9a1fc6931 by Georg Brandl in branch 'default': Closes #15925: fix regression in parsedate() and parsedate_tz() that should return None if unable to parse the argument. http://hg.python.org/cpython/rev/c1e9a1fc6931 -- stage: commit review

[issue15900] Memory leak in PyUnicode_TranslateCharmap()

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89f62f143920 by Christian Heimes in branch 'default': Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() http://hg.python.org/cpython/rev/89f62f143920 -- ___ Python tracker

[issue15895] PyRun_SimpleFileExFlags() can leak a FILE pointer

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset fe4e6e0d6b0f by Christian Heimes in branch 'default': Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false. http://hg.python.org/cpython/rev/fe4e6e0d6b0f New changeset 9251fb04

[issue16011] "in" should be consistent with return value of __contains__

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: http://docs.python.org/py3k/reference/datamodel.html#object.__contains__ says that __contain__ "Should return true if item is in self, false otherwise.". Here the lowercase true and false mean any true or false value, not just True and False and it's indeed pos

[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0

2012-09-23 Thread Ned Deily
Ned Deily added the comment: OS X 10.4 (and presumably earlier versions) also does not handle the low switchinterval gracefully. Monitoring system activity and running with -v, test_threaded_import does seem to progress but *very* slowly (I quit after 45 minutes with the test only partially c

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > So can you find out why asdl_c.py actually printed this error? I collected some additional information. Here is the beginning of Parser/asdl_c.py: #! /usr/bin/env python """Generate C code from an ASDL description.""" And in the scenario of this issue I ha

[issue10760] tarfile doesn't handle sysfs well

2012-09-23 Thread Guy Rozendorn
Guy Rozendorn added the comment: Here's a test case that re-creates this issue. I chose to use mocks instead of sample files from sysfs so it would be simpler to run, it can be easily changed to use a file from sysfs. The following code runs on Python2.7, requires the mock library {code} from

[issue16010] Some Unicode in identifiers improperly rejected

2012-09-23 Thread R. David Murray
R. David Murray added the comment: I find it unexpected that aⁱ and ai name the same variable, but I suppose that is a consequence of the unicode normalization rules (meaning what I really find surprising is the normalization). As for the '¹', its category is No, which does not appear in the l

[issue1927] raw_input behavior incorrect if readline not enabled

2012-09-23 Thread Michael Domingues
Michael Domingues added the comment: Also uploading a patch for the Python3.2 branch. -- Added file: http://bugs.python.org/file27270/promptOutputFix3.patch ___ Python tracker ___

[issue1927] raw_input behavior incorrect if readline not enabled

2012-09-23 Thread Michael Domingues
Michael Domingues added the comment: The code that dictates this behavior is in /Parser/myreadline.c and has not been rectified yet in either Python 2.7 (http://hg.python.org/cpython/file/bfdf366a779a/Parser/myreadline.c#l107) or the default branch (http://hg.python.org/cpython/file/c64dec45d

[issue16011] "in" should be consistent with return value of __contains__

2012-09-23 Thread Christian Heimes
Christian Heimes added the comment: The internal API is limited to flags as the sq_contains slot and the API function can only return an int: PyAPI_FUNC(int) PySequence_In(PyObject *o, PyObject *value) In order to return the Python object we'd have to alter the API which we can't do as the

[issue16011] "in" should be consistent with return value of __contains__

2012-09-23 Thread Neal Parikh
New submission from Neal Parikh: The Python 2.7.3 documentation says the following about defining __contains__: "Called to implement membership test operators. Should return true if item is in self, false otherwise. For mapping objects, this should consider the keys of the mapping rather than

[issue15991] BaseHTTPServer with ThreadingMixIn serving wrong data sometimes

2012-09-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that forcing a content length on error responses also seems to make wget happy: diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py --- a/Lib/BaseHTTPServer.py +++ b/Lib/BaseHTTPServer.py @@ -362,14 +362,19 @@ message = short

[issue15991] BaseHTTPServer with ThreadingMixIn serving wrong data sometimes

2012-09-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can reproduce under Debian testing, but not Debian stable nor Mageia 1. I think this is really a bug in recent Debian/Ubuntu wget. By instrumenting SocketServer, I see that less requests are received than expected (e.g. ~350 instead of 400). It seems wget is

[issue16010] Some Unicode in identifiers improperly rejected

2012-09-23 Thread Joshua Landau
New submission from Joshua Landau: "a¹ = None" is not valid, even though unicodedata.normalize("NFKC", "¹") == "1". One would expect "a¹ = None" and "a1 = None" to be equivalent in this case, as with "aⁱ = None" and "ai = None". I am not sure how many other characters exhibit the same problem.

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Just to clarify, in the original scenario, "python" did not refer to > anything. From the original comment: > $ python > No such file or directory So can you find out why asdl_c.py actually printed this error? With no python executable in PATH, it shouldn'

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin meant: > touch Include/Python-ast.h Python/Python-ast.c No, I *actually* meant 'make touch'. -- ___ Python tracker ___ _

[issue15996] pow() for complex numbers is rough around the edges

2012-09-23 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- stage: -> test needed type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list maili

[issue15996] pow() for complex numbers is rough around the edges

2012-09-23 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea stage: test needed -> type: enhancement -> behavior ___ Python tracker ___ ___ Python-bug

[issue15991] BaseHTTPServer with ThreadingMixIn serving wrong data sometimes

2012-09-23 Thread Thomas Lee
Thomas Lee added the comment: I can reproduce this on Debian Wheezy. Both with the system Python (2.7.3rc2) and the 2.7 branch built from source. -- nosy: +thomaslee ___ Python tracker

[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-09-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for review and for found bugs. I again checked the patch, corrected the errors and dubious places. Also I corrected the error in Modules/grpmodule.c (in other places gid_t parsed as signed long) and the possible behaviour change in Modules/_io/_iom

[issue11454] email.message import time

2012-09-23 Thread R. David Murray
R. David Murray added the comment: Well, "other" surrogates will cause a different error later than with the current _has_surrogates logic, but it won't be any more mysterious than what would happen now, I think. Normally, if I understand correctly, other surrogates should never occur, so I d

[issue11454] email.message import time

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: > They are precompiled because for a program processing lots of email, > they are hot spots. OK, I didn't know they were hot spots. Note that the regex are not recompiled everytime: they are compiled the first time and then taken from the cache (assuming they d

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11454] email.message import time

2012-09-23 Thread R. David Murray
R. David Murray added the comment: Oh, yeah, and the encode benchmark is very instructive, thanks Serhiy :) -- ___ Python tracker ___

[issue11454] email.message import time

2012-09-23 Thread R. David Murray
R. David Murray added the comment: Woops. Can you explain your changes to the ecre regex (keeping in mind that I don't know much about regex syntax). -- ___ Python tracker ___

[issue11454] email.message import time

2012-09-23 Thread R. David Murray
R. David Murray added the comment: I'm really not willing to inline any of those pre-compiled regular expressions. They are precompiled because for a program processing lots of email, they are hot spots. We could use the same "compile on demand" dodge on them, though. Can you explain your ch

[issue16009] Json error messages could provide more information about the error

2012-09-23 Thread R. David Murray
R. David Murray added the comment: The errors are being handled correctly, but it would indeed be nice for them to provide more information about the specific error. That's an enhancement, though. -- nosy: +r.david.murray stage: -> needs patch title: Json not handling errors correctl

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread R. David Murray
R. David Murray added the comment: The rset just returns the connection to the "base" state, allowing a new message sending transaction to start from a known state. In any case, since the library has done this in the past, it must continue to do this in the future, or it will break currently w

[issue15379] Charmap decoding of no-BMP characters

2012-09-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you, I've committed the patches. There was a test failure in test_codeccallbacks in 3.2, which I fixed simply by replacing sys.maxunicode with a hardcoded 0x11. -- resolution: -> fixed status: open -> closed

[issue15379] Charmap decoding of no-BMP characters

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 620d23f7ad41 by Antoine Pitrou in branch '3.2': Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings). http://hg.python.org/cpython/rev/620d23f7ad41 New changeset c64dec45d46f by An

[issue15379] Charmap decoding of no-BMP characters

2012-09-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue15835] HP-UX build needs to be tweaked to pick up PATH_MAX

2012-09-23 Thread Stefan Krah
Stefan Krah added the comment: PATH_MAX seems to be a mess on HP-UX: It's only defined in limits.h if _INCLUDE_XOPEN_SOURCE_PRE_500 is defined. But MAXPATHLEN is always defined in sys/param.h, so I suggest to use that (patch attached). Other projects take a similar approach by just defining PA

[issue13963] dev guide has no mention of mechanics of patch review

2012-09-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > If this is true, we could simply add a way to specify the branch (either a > dropdown in the roundup UI or an X.Y in the filename). It would be cool if this could happen even without any user action (e.g. if Rietveld tried default, 3.2, and 2.7 in sequence u

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2012-09-23 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15034] Devguide should document best practices for stdlib exceptions

2012-09-23 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2012-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Maybe just add links to the two essays. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15034] Devguide should document best practices for stdlib exceptions

2012-09-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the Library Manual's chapter 5 on exceptions, currently called Built-in Exceptions, would be a good place for a section on subclassing exceptions. -- ___ Python tracker __

[issue16009] Json not handling errors correctly

2012-09-23 Thread Luka Rahne
Luka Rahne added the comment: For example i foun out, that just extra comma crate such error j = json.loads("""{ "" :[{},]}""") -- ___ Python tracker ___ ___

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread DDarko
DDarko added the comment: I do not understand why at all reset is performed ? If moments later raise is done. If someone despite error SMTPSenderRefused, SMTPRecipientsRefused or SMTPDataError will still want to maintain a connection and use other data with session is likely he will call SMTP

[issue16009] Json not handling errors correctly

2012-09-23 Thread Luka Rahne
New submission from Luka Rahne: Example: import json j = json.loads( """ { "phoneNumber": [ { "type": "home", "number": "212 555-1234" }, } """) print(j) Output>> Traceback (most recent call last): File "", line 13, in File "/usr/lib/python2.7/j

[issue16002] AIX buildbot compile errors

2012-09-23 Thread Stefan Krah
Stefan Krah added the comment: The compile errors are fixed, let's open separate issues for the test failures. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread R. David Murray
R. David Murray added the comment: I believe that Google is technically out of compliance with the SMTP spec here. What they are doing is not unreasonable, since they don't have any reason to want to waste resources on talking to a server they think is spamming them. Making this work in a mor

[issue15955] gzip, bz2, lzma: add method to get decompressed size

2012-09-23 Thread Nadeem Vawda
Nadeem Vawda added the comment: As far as I can tell, there is no way to find this out reliably without decompressing the entire file. With gzip, the file trailer contains the uncompressed size modulo 2^32, but this seems less than useful. It appears that the other two formats do not store the

[issue15270] "Economy of Expression" section outdated

2012-09-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: This whole discussion was inane. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue15270] "Economy of Expression" section outdated

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 100909b4def0 by Raymond Hettinger in branch 'default': Issue #15270. Appease critics by removing a reference to the docs for super(). http://hg.python.org/devguide/rev/100909b4def0 -- nosy: +python-dev _

[issue16006] Spelling mistake in PEP 213

2012-09-23 Thread Ramchandra Apte
Ramchandra Apte added the comment: That's hyper-fast. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue16007] Improved Error message for failing re expressions

2012-09-23 Thread Ramchandra Apte
Ramchandra Apte added the comment: > As this is my first contribution, please let me know if this is the correct > procedure to submit changes. This is the correct procedure. http://docs.python.org/devguide/ (the Python Devlopment Guide) is a guide on how to contribute to Python. Hope you enjo

[issue16007] Improved Error message for failing re expressions

2012-09-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please provide a patch in unified diff format. -- nosy: +benjamin.peterson versions: +Python 3.4 -Python 2.7 ___ Python tracker ___ _

[issue16006] Spelling mistake in PEP 213

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in 94dbf7d100f3, thanks for the report! -- assignee: -> ezio.melotti components: -None nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue16008] [OS bug] DragonFly buildbot locale failures

2012-09-23 Thread Stefan Krah
New submission from Stefan Krah: The locale failures on the DragonFly buildbot are caused by an OS bug: bugs.dragonflybsd.org/issues/2415 I'm opening an issue so that this is recorded and other people hopefully won't waste time debugging the failures. I intend to close the issue as invalid in

[issue16007] Improved Error message for failing re expressions

2012-09-23 Thread Ling Li
New submission from Ling Li: Hi, I would like to make a small improvement to the exception raised when _compile() function fails with exception on line 245. Please see attached amended file. The line of code is amended from: raise error, v # invalid expression to: raise error, r'%

[issue16006] Spelling mistake in PEP 213

2012-09-23 Thread Ramchandra Apte
New submission from Ramchandra Apte: In the first line of the "Justification" paragraph in PEP 213 "cenario" is used. It should be "Scenario". -- components: None messages: 171050 nosy: ramchandra.apte priority: normal severity: normal status: open title: Spelling mistake in PEP 213 typ

[issue8425] a -= b should be fast if a is a small set and b is a large set

2012-09-23 Thread Michele Orrù
Michele Orrù added the comment: Something like this would also need unit tests? $ ./python.exe -m timeit -s "s= set(range(2000)); l = set(range(2000)); s=s-l" 1000 loops, best of 3: 0.0622 usec per loop [48787 refs] $ ./python.exe -m timeit -s "s= set(range(2000)); l = set(range(200

[issue15996] pow() for complex numbers is rough around the edges

2012-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: Reclassifying this as an enhancement; I don't think it's appropriate to rewrite complex_pow for the bugfix releases. -- type: behavior -> enhancement versions: -Python 3.3 ___ Python tracker

[issue16002] AIX buildbot compile errors

2012-09-23 Thread Stefan Krah
Stefan Krah added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: I added some comments on Rietveld. Apart from the bug in _PyLong_AsInt mentioned above, the patch mostly looks good. But there are many changes, some of which will have user-visible effects, and I think it's somewhat risky to make all these changes in bugfix

[issue16003] thread_PyThread_start_new_thread fails with a generic error

2012-09-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm personally ok with using a more informative error than ThreadError. -- nosy: +pitrou ___ Python tracker ___

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2012-09-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: What would be the benefit of adding this to the devguide? I'll say it again, the devguide should be short enough to be practical for someone learning to contribute. It is quite wordy already. -- nosy: +pitrou ___ Pyt

[issue16002] AIX buildbot compile errors

2012-09-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, I understood that ./configure parameters can only be changed > on the build master. Could you add --without-computed-gotos? Done. -- ___ Python tracker

[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: Looks good, in general. _PyLong_AsInt should return -1 on overflow in all cases; at the moment, it looks like it doesn't do that for values that overflow an int but not a long. -- ___ Python tracker

[issue15270] "Economy of Expression" section outdated

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: IMHO the paragraph about super() can be dropped altogether. -- ___ Python tracker ___ ___ Python-bugs-

[issue16002] AIX buildbot compile errors

2012-09-23 Thread Stefan Krah
Stefan Krah added the comment: I tested --without-computed-gotos on the AIX machine and that solves the problem. Antoine, I understood that ./configure parameters can only be changed on the build master. Could you add --without-computed-gotos? -- nosy: +pitrou

[issue15034] Devguide should document best practices for stdlib exceptions

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: I'm not sure this belongs to the devguide. Ideally the best way to do it should be documented in the docs. This doesn't necessary mean it should be in the tutorial, but if the way documented in the tutorial is "wrong", I'd rather tell users "this is the right way

[issue15121] devguide doesn't document all bug tracker components

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: 'None' is not available from the UI, and I suspect it's automatically set for issues reported via email. This might be a bug in Roundup, but I haven't verified it yet. -- ___ Python tracker

[issue11869] Include information about the bug tracker Rietveld code review tool

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: See also #13963. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13963] dev guide has no mention of mechanics of patch review

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: See also #11869. -- assignee: -> ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___

[issue14218] include rendered output in addition to markup

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: Another issue with this is that the devguide and the docs use different themes, so there's no guarantee that the output will look the same. Some output examples (and the table I mentioned earlier) could still be added for a few cases though. -- stage:

[issue12296] Minor clarification in devguide

2012-09-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread DDarko
DDarko added the comment: The problem is that this is not my SMTP server. I want to connect as a client with smtplib. For this, as I said earlier it is mx.google.com send: 'ehlo [127.0.1.1]\r\n' reply: b'250-mx.google.com at your service, [MYIP]\r\n' reply: b'250-SIZE 35882577\r\n' reply: b'25

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2012-09-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11869] Include information about the bug tracker Rietveld code review tool

2012-09-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12907] Update test coverage devguide page

2012-09-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue15949] docs.python.org not getting updated

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c83e309 by Ezio Melotti in branch '3.2': #15949, #15899: use \ufffd instead of ?. http://hg.python.org/cpython/rev/9c83e309 New changeset 1aebae2f68da by Ezio Melotti in branch 'default': #15949, #15899: merge with 3.2. http://hg.python.org

[issue15899] howto/unicode.rst doctest corrections

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c83e309 by Ezio Melotti in branch '3.2': #15949, #15899: use \ufffd instead of ?. http://hg.python.org/cpython/rev/9c83e309 New changeset 1aebae2f68da by Ezio Melotti in branch 'default': #15949, #15899: merge with 3.2. http://hg.python.org

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread Christian Heimes
Christian Heimes added the comment: According to RFC 821 a smtp server must always apply with OK when it receives a RSET command. RESET (RSET) This command specifies that the current mail transaction is to be aborted. Any stored sender, recipients, and mail data must be discarded,

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: > in 3.x, the list of files to touch is longer You mean that the attached patch is enough for 2.7? In that case I guess it might be OK. -- keywords: +patch Added file: http://bugs.python.org/file27264/issue16004.diff _

[issue16005] smtplib.SMTP().sendmail() and rset()

2012-09-23 Thread DDarko
New submission from DDarko: I'm trying to send an email as follows: smtp = smtplib.SMTP(host, port=25) smtp.ehlo() smtp.sendmail(from_mail, to_mail, data) The last line / command calls the raise. I would like to know the reason why SMTP did not accept my email? In theory, enough to capture the

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-23 Thread Nick Coghlan
Nick Coghlan added the comment: The idea is to make the solution consistent, regardless of which branch you have checked out (in 3.x, the list of files to touch is longer and "make touch" already exists) -- ___ Python tracker

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: I'm not so sure it's worth adding it. ISTM that this would be useful only to people that already encountered the problem described in #15964 and now that `make touch` is the solution. All the others will have to google for a solution anyway, and there's no much d

[issue15952] format(value) and value.__format__() behave differently with unicode format

2012-09-23 Thread Ezio Melotti
Ezio Melotti added the comment: ``format(value, format_spec)`` merely calls - ``value.__format__(format_spec)``. + ``value.__format__(format_spec)`` and, if *format_spec* is Unicode, + converts the value to Unicode if it is not already Unicode. This is correct, but should be rephr

[issue9720] zipfile writes incorrect local file header for large files in zip64

2012-09-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: needs patch -> patch review Added file: http://bugs.python.org/file27263/zipfile_zip64_try.patch ___ Python tracker ___ ___

[issue9720] zipfile writes incorrect local file header for large files in zip64

2012-09-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I see two rational solutions of the issue (all written below is applicable only for allowZip64=True): 1) Always write Zip64 extended information extra field. This approach always successful, but the zipfile size will increase by 20 bytes for each file. The

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-23 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- keywords: +needs review stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue15969] faulthandler: drop S from dump_tracebacks_later() function name to have consistent names

2012-09-23 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in b8b5ef366bdc. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue15969] faulthandler: drop S from dump_tracebacks_later() function name to have consistent names

2012-09-23 Thread STINNER Victor
STINNER Victor added the comment: @georg.brandl: You wrote the wrong issue number in the Misc/NEWS file of the 3.3 repository (5969 -> 15969). -- ___ Python tracker ___

[issue15969] faulthandler: drop S from dump_tracebacks_later() function name to have consistent names

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 178f9042af81 by Victor Stinner in branch 'default': Issue #15969: Fix the issue number in Misc/NEWS http://hg.python.org/cpython/rev/178f9042af81 -- nosy: +python-dev ___ Python tracker

[issue5969] setup build with Platform SDK, finding vcvarsall.bat

2012-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset abf23c22231e by Victor Stinner in branch 'default': Issue #5969: faulthandler module: rename dump_tracebacks_later() to http://hg.python.org/cpython/rev/abf23c22231e -- nosy: +python-dev ___ Python tracke

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ Python-bugs-l

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > We should be able to add the "make touch" target to the 2.7 Makefile without > running afoul of the "no new features" rule. I created issue 16004 for this: http://bugs.python.org/issue16004 -- ___ Python tracker

[issue16004] Add `make touch` to 2.7 Makefile

2012-09-23 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to add "make touch" to the 2.7 Makefile as suggested by Nick Coghlan in the following comment to issue 15964: "We should be able to add the "make touch" target to the 2.7 Makefile without running afoul of the "no new features" rule." (from htt

[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2012-09-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > We should be able to add the "make touch" target to the 2.7 Makefile without > running afoul of the "no new features" rule. To keep things simpler, I'm going to create a separate issue for this so that it can be discussed and committed independently of this

  1   2   >