[issue5538] tearDown in unittest should be executed regardless of result in setUp

2009-03-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's one: class ReactorShutdownInteraction(unittest.TestCase): """Test reactor shutdown interaction""" def setUp(self): """Start a UDP port""" self.serve

[issue5538] tearDown in unittest should be executed regardless of result in setUp

2009-03-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > And maybe the addCleanup components could be a stack of callable objects? Yea, that's handy. My example didn't show it, but that's what trial implements. -- ___ Python tracker <h

[issue5538] tearDown in unittest should be executed regardless of result in setUp

2009-03-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: /Any/ addCleanup that is successfully executed should cause the cleanup function to be called. Otherwise you have to define all your cleanup twice, and that's no fun. -- ___ Python tracker

[issue5571] new "TestCase.skip" method causes all tests to skip under trial (Twisted's test runner)

2009-03-27 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Hi Benjamin, Thanks for this fix. :) I noticed the revision in your comment doesn't seem to be the one that contains the fix though. -- nosy: +exarkun ___ Python tracker <http://bugs.python.org/i

[issue5767] xmlrpclib loads invalid documents

2009-04-15 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Prior versions of xmlrpclib.loads would raise an exception when passed malformed documents: exar...@bigdog24:~/_trial_temp$ python2.4 -c 'from xmlrpclib import loads; loads("\x00\n\n \n \n \n \n\n")' Traceback (most recent call la

[issue5767] xmlrpclib loads invalid documents

2009-04-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: This actually appears to be an issue with the sgmlop-based parser, not the expat-based parser. After removing sgmlop, the exception-raising behavior is restored. Perhaps this bug should be closed as invalid, then. Only, I wonder if this is the right bug

[issue5840] "Thread State and the Global Interpreter Lock" section of the docs doesn't cover TLS APIs

2009-04-25 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Python includes several APIs for manipulating TLS: PyAPI_FUNC(int) PyThread_create_key(void); PyAPI_FUNC(void) PyThread_delete_key(int); PyAPI_FUNC(int) PyThread_set_key_value(int, void *); PyAPI_FUNC(void *) PyThread_get_key_value(int

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2009-05-12 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Per issue3308, it is not really possible to build Python extensions with MinGW anymore (as far as I can tell). The distutils documentation is misleading in this regard, as is the continued existence of the build_ext --compiler=mingw32 option. The

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2009-05-13 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Even though I still don't understand the original issue, apparently, > it is an issue only if the localtime() function is used. Extensions > that don't use it might still work fine, according to the report. I have an extension which

[issue5767] xmlrpclib loads invalid documents

2009-05-20 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's a patch which removes sgmlop support from xmlrpclib. -- keywords: +patch Added file: http://bugs.python.org/file14023/xmlrpclib.patch ___ Python tracker <http://bugs.python.org/i

[issue6072] unittest.TestCase._result is very likely to collide (and break) with application-defined TestCase attributes

2009-05-20 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : r72219 introduced an `_result´ attribute to `TestCase´. As `TestCase´ is designed specifically with the intent that applications should subclass it -- and frequently -- I would suggest that the attribute be given a name less likely to collide with a

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2009-05-20 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's a new patch which adds SetParamEntityParsing to the pyexpat library docs and adds another test for external entity reference handling. This is probably all I'll do on this ticket. -- Added file: http://bugs.python.org

[issue6071] no longer possible to hash arrays

2009-05-20 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : It used to be possible to use hashlib with arrays; it no longer seems possible. exar...@charm:~$ python -c ' import sys, hashlib, array print sys.version_info print hashlib.sha1(array.array("b", [1, 2, 3])).hexdigest() '

[issue6072] unittest.TestCase._result is very likely to collide (and break) with application-defined TestCase attributes

2009-05-20 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's a patch which renames `_result´ to `_resultForDoCleanups´. Another possibility would be for `doCleanups´ to take the result object as an argument. This would make it harder for applications to call directly, though (I've never wan

[issue5064] compiler.parse raises SyntaxErrors without line number information

2009-05-21 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It seems a patch would be an enormous undertaking, as the data structure returned by the parser does not include this information, and the parser is written in C. I'll just hack around this somehow. Don't expect a pat

[issue6071] no longer possible to hash arrays

2009-05-22 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I would certainly like to, but unfortunately at present I am unable to. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6071] no longer possible to hash arrays

2009-05-22 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Perhaps Gregory has some idea about how this can most easily be resolved, since I think he did the work on #3745 which introduced this change in behavior. -- nosy: +gregory.p.smith ___ Python tracker <h

[issue6116] frame.f_locals keeps references to things for too long

2009-05-26 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : When a frame's f_locals attribute is accessed, one of two things happens: * If this is the first access, a new dictionary is created and it is populated with the locals from the frame (since they are not stored internally as a dictionary).

[issue6116] frame.f_locals keeps references to things for too long

2009-05-27 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Oh, I forgot dictionaries aren't weakrefable. That's such a pain, I thought the third solution would be a good balance between easy and good. :/ Regarding the first solution, my only question right now is whether this should be a new attribute/

[issue6073] threading.Timer and gtk.main are not compatible

2009-05-27 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: pygtk doesn't release the GIL around its internal calls unless you call threads_init. So I think this is pretty clearly just a misuse of the pygtk library. There's nothing at all Python can do about it. If an extension library doesn't

[issue6128] Consequences of using Py_TPFLAGS_HAVE_GC are incompletely explained

2009-05-27 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Creation of GC'd types is explained at <http://docs.python.org/c-api/gcsupport.html>. The docs claim that PyObject_GC_Track must be called once an object created with PyObject_GC_New is initialized. The docs fail to explain what should be do

[issue6130] There ought to be a way for extension types to associate documentation with their tp_new or tp_init methods

2009-05-27 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : If an extension type supplies a tp_new or tp_init, these will be invoked by the normal instantiation logic. They will also be exposed as `__new__´ and `__init__´ attributes of the type. However, there is no way to supply a docstring for these methods

[issue6188] Error Evaluating float(x) ** float(y)

2009-06-03 Thread Stephen Paul Chappell
New submission from Stephen Paul Chappell : This is what I get while the interactive interpreter (IDLE 3.0.1) on the platform Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit (Intel)] on win32 >>> a = -6.276479035564047 >>> b = -5.797449749

[issue6188] Error Evaluating float(x) ** float(y)

2009-06-03 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Have you checked to see what the result of a ** b is? -- nosy: +exarkun ___ Python tracker <http://bugs.python.org/issue6

[issue3684] traceback.format_exception_only() misplaces the caret for certain SyntaxErrors

2009-06-04 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Any plans for a unit test for this change? -- nosy: +exarkun ___ Python tracker <http://bugs.python.org/issue3684> ___ ___

[issue2376] Set up "supported"-only buildbot waterfall view

2009-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: This was done long ago, it seems. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue2376> ___ _

[issue4182] warnings.warn shows the wrong filename and line number for stacklevel of 0

2009-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Perhaps the C implementation should interpret the stacklevel parameter differently so that it is compatible with the Python implementation. The stacklevel value is, after all, a very important part of the interface of warnings.warn, as it is the only way

[issue4180] warnings.simplefilter("always") does not make warnings always show up

2009-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: So how about it? -- ___ Python tracker <http://bugs.python.org/issue4180> ___ ___ Python-bugs-list mailing list Unsub

[issue4490] xml/sax/expatreader.py raises AttributeError when run

2009-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I found XMLGenerator in xml.sax.saxutils. Attached patch changes expatreader to use that instead. Though I have no idea what the point of this stanza is. I suppose it's to exercise the code, in lieu of some unit tests. It might be better to just d

[issue6289] compile() raises SyntaxError with confusing message for some decoding problems

2009-06-15 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Consider this source file: # coding: ascii ☃ It is not a valid Python program (for several reasons). The first problem encountered is that bytes representing SNOWMAN do not fit into ASCII, so the file cannot be decoded using the declared encoding

[issue6275] let unittest.assertRaises() return the exception object caught

2009-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I just want to second Kristján's position. I've used assertRaises a lot over the years (an implementation in a third-party unit testing library) and it is extremely common that I want the exception object to perform the kind of checks he is

[issue6313] test_with.py has a couple minor mistakes

2009-06-19 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : I found a couple mistakes in test_with.py with Pyflakes. -- components: Tests files: test_with.patch keywords: patch messages: 89530 nosy: exarkun severity: normal status: open title: test_with.py has a couple minor mistakes versions: Python 2.7

[issue6367] Change the instruction pointer in python

2009-06-29 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: You're talking about adding a non-local goto feature to the language. This would be a huge change, and not one that is generally in the direction that any widespread languages (let alone Python itself) are going these days. Please raise this on o

[issue6397] Implementing Solaris "poll" in the "select" module

2009-07-01 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Solaris 10 introduced "The Event Completion Framework". I am not particularly familiar with Solaris, so I couldn't say whether it would be better to target this or the older /dev/poll. Some documentation suggests that "The Event Comp

[issue6403] distutils builds extension modules to root package directory

2009-07-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: +exarkun ___ Python tracker <http://bugs.python.org/issue6403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6409] 2to3 generates malformed diffs

2009-07-03 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : I ran 2to3 over Twisted r27084 like this: time ~/Projects/python/trunk/python /home/exarkun/Projects/python/trunk/Tools/scripts/2to3 -j 4 twisted/ > 2to3.patch Visual inspection revealed some curious defects, and attempting to apply it failed like t

[issue8712] Skip libpthread related test failures on OpenBSD

2010-05-14 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: In addition to skipping the tests, would it also make sense to document these known limitations of Python threading on OpenBSD somewhere that end users might see it? -- ___ Python tracker <h

[issue3051] heapq change breaking compatibility

2010-05-17 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue3051> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8771] Socket freezing under load issue on Mac.

2010-05-20 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Have you looked at the number of TIME_WAIT sockets you have on the system when your benchmark gets to the 16000 request mark? This looks exactly like a regular TCP limitation to me. You'll find the limit on any platform, not just OS X. --

[issue5639] Support TLS SNI extension in ssl module

2010-05-22 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Here's another possible approach: ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) ctx.set_tlsext_host_name("foo.bar") skt = ctx.wrap_socket(socket.socket()) skt.connect("bar.baz") This makes it obvious what the SNI hostname is an

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2010-05-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Backported to release26-maint in r81488. -- nosy: +exarkun ___ Python tracker <http://bugs.python.org/issue1628

[issue5639] Support TLS SNI extension in ssl module

2010-05-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Sorry I don't like this as much. I believe following the RFC for TLS SNI > should be implicit and not something the programmer need to put effort into > achieving. I acknowledge this approach does go against some explicit > beha

[issue5639] Support TLS SNI extension in ssl module

2010-05-23 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Nope, I checked before making the suggestion. There's an SSL_CTX_ version of > this API (in addition to the SSL_ version). Sorry, I just checked again, and it seems you're right. Perhaps I saw SSL_CTX_set_tlsext_servername_callback

[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

2010-05-28 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > If the user issues the 'save' command a commit is done. When they quit the > application, I'd like to be able to prompt them with a 'save or discard' if > and only if they have made changes since the last save. Is

[issue8857] socket.getaddrinfo needs tests

2010-05-31 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: About the doc patch: I like the word "Resolves" more than "Translate". "Resolves" implies possible network activity to me. "Translate" sounds like it's just a change in representation. Of course, things li

[issue8942] __path__ attribute of modules loaded by zipimporter is untested

2010-06-08 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Packages loaded from zip files have a __path__ sort of like any other package. The zipimport tests don't verify that this attribute has the correct value, though. -- components: Tests messages: 107327 nosy: exarkun priority: normal sev

[issue8972] subprocess.list2cmdline doesn't quote the & character

2010-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Thanks for reporting this issue. Can you attach a patch which adds a unit test covering this behavior and fixing the quoting rules? It would be very helpful in resolving this ticket. If implementing the whole thing is too much work, if you could just

[issue8972] subprocess.list2cmdline doesn't quote the & character

2010-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Thanks. I'm not sure this is a correct change. And in fact, I would say that the current quoting of | is also incorrect. & and | (and ^ and perhaps several others) have special meaning to cmd.exe. list2cmdline is documented as applying th

[issue8972] subprocess.list2cmdline doesn't quote the & character

2010-06-12 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- components: +Library (Lib) stage: unit test needed -> ___ Python tracker <http://bugs.python.org/issue8972> ___ ___ Python-

[issue8972] subprocess.list2cmdline doesn't quote the & character

2010-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: http://www.autohotkey.net/~deleyd/parameters/parameters.htm#WINCRULES is a helpful reference, by the way. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8972] subprocess.list2cmdline doesn't quote the & character

2010-06-13 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > That remark is not relevant, because the actual problem is different. Maybe you can expand the test case to demonstrate the actual problem? The tests in the latest patch are for list2cmdline directly. But you can't observe the problem

[issue9028] test_support.run_unittest cmdline options and arguments

2010-06-18 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: These sound more like features for the unittest runner (one of which is implemented already). Also, please don't propagate "::" as a namespace separator in Python. That's what "." is f

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-18 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I reverted r60115 from trunk (2.7) in r82075 and from py3k in r82076. -- nosy: +exarkun resolution: fixed -> invalid ___ Python tracker <http://bugs.python.org/iss

[issue8972] subprocess.list2cmdline doesn't quote the & character

2010-06-18 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I've reverted the issue1300 revision from 2.6, 2.7, 3.1, and 3.2. I hope 7839 is resolved soon. -- ___ Python tracker <http://bugs.python.org/i

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2010-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It's not terribly productive to block a fix for this specific issue in the WSGI specification on the big pile of contentious unrelated issues. It would make sense to issue a new WSGI specification with a correction for only this issue. The rest o

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: See the commit message for r82075 and the discussion on issue8972 and issue7839. -- ___ Python tracker <http://bugs.python.org/issue1

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It will return the former. To clarify, it's true that there appears to be a problem with Popen(['echo', 'foo|bar'], shell=True). That is being tracked in issue7839. What's invalid is the report that list2cmdline() should

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It might be nice to see the version that avoids the dup() and has the duplicate code instead (interesting trade-off ;). Just for the sake of comparison against the forget() proposal. -- ___ Python tracker

[issue9053] distutils compiles extensions so that Python.h cannot be found

2010-06-21 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : With a checkout of the py3k branch, building an extension module using distutils fails: error: Python.h: No such file or directory This is clearly because the wrong -I option is being supplied: gcc -pthread -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Thanks for bringing this up. I think you have more work to do to successfully make the case that L.insert(0, x) is "difficult" enough to merit the addition of a new list method. There are already at least two in-place insert-at-front list

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > The argument that "there are already two ways to do it, so why add a third?", > is not bad, but if applied to appending, it would ban the append() method... > except that it's already there. Not quite. First let's

[issue9127] subprocess.Popen.communicate() and SIGCHLD handlers

2010-06-30 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: You should include all relevant issue materials here, in the Python issue tracker. This ticket will be useless as soon as pastie.org decides to forget about your paste. -- nosy: +exarkun ___ Python tracker

[issue4928] Problem with tempfile.NamedTemporaryFile

2010-07-07 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I can't think of any way that you might be able to implement the behavior being requested here. Instead, if you don't want to leave files lying around, use TemporaryFile instead of NamedTemporaryFile. Perhaps the documentation for NamedTemp

[issue5286] urrlib2 digest authentication problems

2010-07-10 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Some unit tests which demonstrate the present non-working behavior and the correctness of the fix would help a lot. -- nosy: +exarkun ___ Python tracker <http://bugs.python.org/issue5

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2010-07-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Calling linecache.checkcache for every inspect.getsource call sounds like a fairly bad idea to me. linecache.checkcache does a stat() of every single cached file. -- nosy: +exarkun ___ Python tracker <h

[issue1218234] inspect.getsource doesn't update when a module is reloaded

2010-07-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > linecache.checkcache does a stat() of every single cached file. Ah, sorry. I didn't read carefully enough. I see that the patch passes in the filename and checkcache restricts the work it does in that case. Something else to consider, th

[issue9276] pickle should support methods

2010-07-16 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : pickle doesn't support methods: >>> class x: ... def y(self): ... pass ... >>> import pickle >>> pickle.dumps(x.y) Traceback (most recent call last): File "", line 1, in File "

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

2010-07-20 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Yes. -- ___ Python tracker <http://bugs.python.org/issue2124> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9276] pickle should support methods

2010-08-02 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > This is a security feature and should not be broken ! Can you explain this? I don't think I agree, since an attacker can always serialize whatever they feel like. It's the person doing the deserialization that has

[issue9276] pickle should support methods

2010-08-02 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > By adding default support for unpickling code objects, you can trick the unpickling code into executing serialized code: This doesn't sound correct to me. You can *already* trick unpickling code into executing serialized code. You don

[issue9276] pickle should support methods

2010-08-02 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: For example: exar...@boson:~$ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class x(object): ..

[issue9276] pickle should support methods

2010-08-02 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > I also like Antoine's idea of pickling the function/method name instead of > the whole code object. I like it too. That's why I suggested it in the first comment on the ticket (read the linked code). I guess Alexander likes

[issue9276] pickle should support methods

2010-08-02 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > Note, however that since unbound methods have been removed in 3.x, it is not > trivial to find a fully qualified name of a method anymore. This is a rather sad loss of functionality. -- ___ Python t

[issue5305] imaplib should support international mailbox names

2014-10-09 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > the twisted imap API is problematic for imaplib because twisted seems to > expect its arguments to already be Python unicode. Could you elaborate on this? As far as I can tell, it works fine: >>> import twisted.mail.imap4 >&g

[issue1103213] Adding the missing socket.recvall() method

2015-01-19 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue1103213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20741] Documentation archives should be available also in tar.xz format

2015-06-19 Thread Paul Anton Letnes
Paul Anton Letnes added the comment: The format (xz vs bzip2) might not matter much, but I'd say consistency does. I'd make the formats identical just for the sake of standardization. Where is this decided? In some (post)build script? -- nosy

[issue10708] Misc/porting should be folded into the development FAQ or the devguide

2015-06-23 Thread Paul Anton Letnes
Paul Anton Letnes added the comment: I created a patch to the devguide with some rewording as necessary. As I am not an expert on porting Python, it would be great if someone could point out any mistakes I made. The new FAQ is at the very bottom of the file, as I didn't find any

[issue10708] Misc/porting should be folded into the development FAQ or the devguide

2015-08-03 Thread Paul Anton Letnes
Paul Anton Letnes added the comment: I believe someone should also commit the following command: hg rm Misc/porting in the main python repository, since the contents of this file are now found in the devguide. -- ___ Python tracker <h

[issue24820] IDLE themes for light on dark

2015-09-30 Thread Marc Paul Rubin
Marc Paul Rubin added the comment: Greetings from an idle-dev 'lurker.' Has anyone tested the new dark theme with a Set Breakpoint command? The dark theme is great for me except for this quirk: breakpoints are invisible on my test box. Under the Classic light scheme breakpoints a

[issue26158] File truncate() not defaulting to current position as documented

2016-01-19 Thread Stephen Paul Chappell
Changes by Stephen Paul Chappell : -- nosy: +Zero ___ Python tracker <http://bugs.python.org/issue26158> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24185] Add Function for Sending File to Trash (or Recycling Bin)

2016-05-09 Thread Stephen Paul Chappell
Changes by Stephen Paul Chappell : -- nosy: +Zero ___ Python tracker <http://bugs.python.org/issue24185> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15945] memoryview + bytes fails

2015-03-24 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue15945> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue20669> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20718] OpenBSD/AIX: tests passing a file descriptor with sendmsg/recvmsg failures

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue20718> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6377] distutils compiler switch ignored

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue6377> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18629] future division breaks timedelta division by integer

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue18629> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6555] distutils config file should have the same name on both platforms and all scopes

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue6555> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21327] socket.type value changes after using settimeout()

2015-04-15 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue21327> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5305] imaplib should support international mailbox names

2015-04-21 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker <http://bugs.python.org/issue5305> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2015-04-22 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It's only been six years, no need to rush. -- nosy: +Jean-Paul Calderone ___ Python tracker <http://bugs.python.org/i

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2015-04-22 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -Jean-Paul Calderone, exarkun ___ Python tracker <http://bugs.python.org/issue6731> ___ ___ Python-bugs-list mailin

[issue43323] UnicodeEncodeError: surrogates not allowed when parsing invalid charset

2022-01-12 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: I'm running into exactly this issue when using 'offlineimap' which is written in Python. -- nosy: +glaubitz ___ Python tracker <https://bugs.pyt

[issue43323] UnicodeEncodeError: surrogates not allowed when parsing invalid charset

2022-03-27 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: Hi Serhiy! > The simple fix is to add UnicodeEncodeError to "except LookupError". But > there may be other places where we can get a similar error. They should be > fixed too. I would be very interested to test this as t

[issue43323] UnicodeEncodeError: surrogates not allowed when parsing invalid charset

2022-03-27 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: Awesome, thanks! I'll give it a try later today or tomorrow. -- ___ Python tracker <https://bugs.python.org/is

[issue43323] UnicodeEncodeError: surrogates not allowed when parsing invalid charset

2022-03-28 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: > Awesome, thanks! I'll give it a try later today or tomorrow. I have applied the patch and the problem seems to have been fixed. \o/ -- ___ Python tracker <https://bugs.python.org

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-03-19 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: I think there is one productive result of this discussion which is this patch by Jessica Clark which gets rid of architecture-specific alignment code: > https://github.com/python/cpython/pull/24624 Unfortunately, it has not seen any posit

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: I'm a Debian Developer and maintainer for multiple Debian Ports architectures. Please don't remove support for Alpha, HPPA, m68k, ia64, PowerPC, SuperH, SPARC as we're still maintaining these in Debian. Here are the latest bu

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: And, FWIW, I generally don't quite understand what the problem with old triplet definitions in configure.ac are. I assume they don't hurt anyone, do they? You never know what usecases your users have and as long as a code snippe

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: That's an argument I have personally never heard before and I have been dealing with a lot of architecture support in many packages. FWIW, lots of upstream projects have targets which are officially supported and others which are there bu

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: > I opened this ticket after a user told me that they grepped the source code > of Python, found the string "s390", and concluded that s390 is still > supported by us. Because one user was surprised by a few lines in configure

<    27   28   29   30   31   32   33   >