[issue13427] string comparison with ==

2011-11-18 Thread Alan
Alan added the comment: Using repr highlights the issue which lies in the behaviour of str.strip() which does not strip away null spaces as I would have expected: ' 'utm10\x00' ' == ' 'utm10' ' not equal Changing the code to: currColl=line.split("

[issue28708] Low FD_SETSIZE limit on Windows

2021-04-11 Thread Alan
Alan added the comment: The big innovation with poll() is that it takes an array of descriptors like a normal function. https://www.geometrydash.me/ -- nosy: +alanpreston ___ Python tracker <https://bugs.python.org/issue28

[issue34991] variable type list [] referential integrity data loss

2018-10-15 Thread Alan
New submission from Alan : Dear PythonDev, Thank you for your tremendous work in building a simpler programming language for all. As an avid user of lists, I am upset that my list cannot preserve its referential integrity in the attached pythonissue.txt file. In the following, (EXPECTED

[issue34991] variable type list [] referential integrity data loss

2018-10-16 Thread Alan
Alan added the comment: Thank you for your feedback steven.daprano and eric.smith. My first experience with a computer was 22 years ago and started as a computer science student 13 years ago. I began in the Visual Basic programming community in 2008, so I apologize as I am new to the Python

[issue22990] bdist installation dialog

2014-12-03 Thread Alan
New submission from Alan: The "Select Python Installations" dialog box contains the line "Select the Python locations where should be installed." If is anything other than a very short string, the line is truncated, due to the following factors: - the line doesn

[issue25037] ValueError: invalid literal for int() with base 16: b'[\r\n'

2015-09-08 Thread Alan
New submission from Alan: I've written a piece of code to POST request to a web service. === import json import urllib from urllib import request from urllib import parse def Payload(start_date, end_date, pnode

[issue28159] Deprecate isdst argument in email.utils.localtime

2022-02-08 Thread Alan WiIliams
Alan WiIliams added the comment: Hi, I'd like to work on this issue. Based on the discussion, the main thing to do here is to raise a deprecation warning when isdst is used? -- nosy: +Alan.Williams ___ Python tracker <https://bugs.py

[issue1134] Parsing a simple script eats all of your memory

2007-09-09 Thread Alan McIntyre
Alan McIntyre added the comment: Confirmed that this happens on Mac OS X with a fresh build of py3k from svn. -- nosy: +alanmcintyre __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1201] Error in array concept

2007-09-25 Thread Alan McIntyre
Alan McIntyre added the comment: The last character is n-1, but the section you quote says the *right edge* of the last character (not the last character itself) has index n; this seems correct in the context of the mnemonic scheme. -- nosy: +alanmcintyre

[issue1381] cmath is numerically unsound

2007-11-03 Thread Alan McIntyre
Alan McIntyre added the comment: I have to review a few complex math topics for some of my current course work, so I wouldn't mind taking a look into this. I can't promise I'll have the time required to make all of cmath correct (assuming it's as unsound as claimed), bu

[issue10898] posixmodule.c redefines FSTAT

2011-09-12 Thread Alan Hourihane
Changes by Alan Hourihane : -- resolution: accepted -> remind ___ Python tracker <http://bugs.python.org/issue10898> ___ ___ Python-bugs-list mailing list Un

[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

2011-09-13 Thread Alan McIntyre
Alan McIntyre added the comment: I also can't see any file operations that might occur between the two .tell() calls, and a full test pass (including test_zipfile64) on the py3k development branch doesn't turn up any problems on Linux (2.6.38, x86_64) for me, so I agree the se

[issue1739648] zipfile.testzip() using progressive file reads

2011-09-13 Thread Alan McIntyre
Alan McIntyre added the comment: I re-checked testzip-patch3.diff since some time has passed since I last commented on it, and it still seems to work ok (the small test_zipfile.py block failed to apply, but that's easy enough to do manually). Passes full test run, test_zipfile64.py

[issue1757072] Zipfile robustness

2011-09-13 Thread Alan McIntyre
Alan McIntyre added the comment: So far I haven't had the opportunity to sit down and write up a "lenient zipfile handling" patch; my apologies to those that could really use one. If somebody does propose a patch, I'll be glad to test and review it. I suppose I would l

[issue13346] re.split() should behave like string.split() for maxsplit=0 and maxsplit=-1

2011-11-04 Thread Alan Grow
New submission from Alan Grow : If you split a string in a maximum of zero places, you should get the original string back. "".split(s,0) behaves this way. But re.split(r,s,0) performs an unlimited number of splits in this case. To get an unlimited number of splits, "&qu

[issue13427] string comparison with ==

2011-11-18 Thread Alan Beccati
New submission from Alan Beccati : Hello, did I discover a python string comparison bug or is this behaviour expected and I am doing something wrong? This is the code I run: for line in lines[4:]: currColl=line.split(":")[1].strip() print "'",currC

[issue10898] posixmodule.c redefines FSTAT

2011-07-01 Thread Alan Hourihane
Alan Hourihane added the comment: Hi Antoine, Unfortunately the #undef is too early and later #includes redefine it. We should move the #undef closer to the code that actually uses them. -- resolution: fixed -> accepted status: closed ->

[issue10898] posixmodule.c redefines FSTAT

2011-07-01 Thread Alan Hourihane
Alan Hourihane added the comment: No, that patch still doesn't work. -- resolution: fixed -> accepted ___ Python tracker <http://bugs.python.org

[issue10898] posixmodule.c redefines FSTAT

2011-07-01 Thread Alan Hourihane
Alan Hourihane added the comment: I've had to split the three #undef's up to just before they're used. -- ___ Python tracker <http://bugs.pyt

[issue10898] posixmodule.c redefines FSTAT

2011-07-03 Thread Alan Hourihane
Alan Hourihane added the comment: Well, I'd probably prefer something akin to my first patch then. There's no need to #undef things at all if we just prefix the usage with PYTHON_ -- ___ Python tracker <http://bugs.python.o

[issue9528] Add pure Python implementation of time module to CPython

2011-08-09 Thread Alan Justino
Changes by Alan Justino : -- nosy: +alanjds versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue9528> ___ ___ Python-bugs-list mailing list Unsub

[issue9528] Add pure Python implementation of time module to CPython

2011-08-10 Thread Alan Justino
Alan Justino added the comment: @haypo: Because it affects version 2.7 too. @Victor: Even since we will not backport any modules to Python 2.7, is not worth to sign that this affects it too? Even wontfix or rejected, it affects, does not? Have I made something wrong? Sorry to be so newbie

[issue9528] Add pure Python implementation of time module to CPython

2011-08-10 Thread Alan Justino
Alan Justino added the comment: (noticed a typo at the start of my last msg: @Victor should be @brett.cannon) -- ___ Python tracker <http://bugs.python.org/issue9

[issue1739648] zipfile.testzip() using progressive file reads

2010-08-14 Thread Alan McIntyre
Alan McIntyre added the comment: Here's an updated patch against the py3k trunk (testzip-patch3.diff) that passes all tests (including test_zipfile64) on Linux on a 64-bit machine. I can backport this to 2.x, but I'll wait until somebody indicates a need for it before I spend any

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-08-14 Thread Alan McIntyre
Alan McIntyre added the comment: Apparenty _EndRecData64 needed the same kind of check that _EndRecData has when trying to seek to the end-of-archive record. So I added that, and everything seems to work correctly now. All tests pass on my 64-bit Linux box (including test_zipfile64). The

[issue4844] ZipFile doesn't range check in _EndRecData()

2010-08-21 Thread Alan McIntyre
Alan McIntyre added the comment: I wrote a test for this and tried out the patch on the Python3 trunk, and it seems to work ok. I've attached an updated patch that includes the test. It probably wouldn't hurt to go look for other places where a struct is being unpacked withou

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

2010-09-05 Thread Alan McIntyre
Alan McIntyre added the comment: Thanks for the patch, Craig; I should have some time later today or tomorrow to do a review. Did you have a patch for the test suite(s) as well? If not, I can just make sure your test case is covered in test_zipfile64

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

2010-09-06 Thread Alan McIntyre
Alan McIntyre added the comment: Here's an updated patch for the py3k trunk with tests. This pretty much doubles the runtime of test_zipfile64.py. The patch also removes some unnecessary code from the existing test_zipfile64 tests. Note: It looks like writestr will also suffer f

[issue1757072] Zipfile robustness

2010-09-08 Thread Alan McIntyre
Alan McIntyre added the comment: Maybe ZipFile should have an option to handle archives in a non-strict mode, in which it would raise warnings or just completely ignore a small set of minor violations of the spec. That way people that want behavior that's in compliance with the spec

[issue4844] ZipFile doesn't range check in _EndRecData()

2010-09-19 Thread Alan McIntyre
Alan McIntyre added the comment: I had to look up the abbreviation (Easier to Ask Forgiveness than Permission), but that does sound like a good idea. Thanks for mentioning it. :-) -- ___ Python tracker <http://bugs.python.org/issue4

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-10-02 Thread Alan McIntyre
Changes by Alan McIntyre : Removed file: http://bugs.python.org/file9144/empty-zipfile.diff ___ Python tracker <http://bugs.python.org/issue1710703> ___ ___ Python-bug

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-10-02 Thread Alan McIntyre
Alan McIntyre added the comment: My apologies if Georg was waiting on me to say, "Yes." :-) I've attached an updated patch that has the NEWS/doc changes Antoine mentioned. I also just checked that the tests still pass on Linux against the current trunk, and that the d

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-10-02 Thread Alan McIntyre
Changes by Alan McIntyre : Removed file: http://bugs.python.org/file18534/zipfile_empty2.diff ___ Python tracker <http://bugs.python.org/issue1710703> ___ ___ Python-bug

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2011-05-09 Thread Alan Kennedy
Changes by Alan Kennedy : -- nosy: +amak ___ Python tracker <http://bugs.python.org/issue3566> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10898] posixmodule.c redefines FSTAT

2011-01-12 Thread Alan Hourihane
New submission from Alan Hourihane : Python 2.7.1 redefines FSTAT, but the problem is my libc already defines FSTAT in sys/ioctl.h. I've worked around this by prefixing the FSTAT define with PYTHON. It should probably be done with STAT too. --- Modules/posixmodule.c.old 2011-01-12

[issue10898] posixmodule.c redefines FSTAT

2011-01-18 Thread Alan Hourihane
Alan Hourihane added the comment: On Tue, 2011-01-18 at 19:59 +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > How about adding "#undef FSTAT" instead? Would it work for you? Sure. Alan. -- ___ Py

[issue11023] pep 227 missing text

2011-01-27 Thread Alan Isaac
New submission from Alan Isaac : In PEP 227 missing text is marked with XXX. Most of this is just calls for examples and elaboration. However under the Implementation section XXX marks a substantive question about the documentation. Fixing this may be low priority, but a tracker search

[issue11023] pep 227 missing text

2011-01-30 Thread Alan Isaac
Alan Isaac added the comment: Bear with my confusion about your response. Are you saying that CPython documentation bugs cannot be submitted here, or that this does not constitute a CPython documentation bug? I assume the latter. But then, can you tell me where to find the correct CPython

[issue2550] SO_REUSEADDR doesn't have the same semantics on Windows as on Unix

2008-05-13 Thread Alan Kennedy
Changes by Alan Kennedy <[EMAIL PROTECTED]>: -- nosy: +amak __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2550> __ ___ Python-bugs-list mailin

[issue1622] zipfile hangs on certain zip files

2008-05-23 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: Sure, I'll look at it later today or over the weekend. I should probably break out the parts that apply to other issues and update those patches as well. __ Tracker <[EMAIL PROTECTED]> <ht

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: I don't see a patch attached, but the duplicated code does need removing. If you can attach a patch I'll try it out. As much as I dislike the "string" names (magicXXX seemed much more descriptive), I suppose they

[issue3317] duplicate lines in zipfile.py

2008-07-08 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: The patch seems to work just fine for me, all tests pass (including test_zipfile64) on an Intel Mac. I'd vote to go ahead and revert the magicXXX variables back to their original names--I'm sure Twisted isn't the only p

[issue3317] duplicate lines in zipfile.py

2008-07-12 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: Thanks for fixing this, Amaury. I ran the test_zipfile64 and test_zipfile tests on Linux and OS X, and they pass. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: Your patch seems like a better way to detect whether a file is written as Zip64, and it seems to be able to properly handle extracting a >2GB file from a >2GB archive, so I'd vote to include it. I tested it with r66233,

[issue3535] zipfile has problem reading zip files over 2GB

2008-09-05 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: No, I don't have commit access at the moment. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3980] win32file.GetCommState incorrect handling of DCB

2008-09-26 Thread Alan Gardner
New submission from Alan Gardner <[EMAIL PROTECTED]>: I believe I have found a bug in win32file.GetCommState and win32file.SetCommState. I have seen it in Python 2.4 and Python 2.5, running an older version of pywin32, as well as the current (212) version. It exists in Win2k and WinXP.

[issue8283] series of lamdas in loop sets the paramater on all calls to that of the last call

2010-04-01 Thread alan hoover
New submission from alan hoover : Background: building a screen using Tkinter based on information from a database to let user take action on the database rows. I don't know how many rows there will be, so I'm storing the widgets in arrays for each column. Code: for row in

[issue467924] Improve the ZipFile Interface

2007-11-30 Thread Alan McIntyre
Alan McIntyre added the comment: There was another issue that also asked for an extract feature, and if I recall correctly I said I'd try to work on it (I think I have some code somewhere for it but I'll have to look). Tonight or tomorrow I will see if I can find that other issue a

[issue1760357] ZipFile.write fails with bad modification time

2007-12-23 Thread Alan McIntyre
Alan McIntyre added the comment: At the moment I don't have a Windows machine available, but on my Mac, time.localtime doesn't seem to mind interpreting negative input values. So I doubt that forcing timestamps to be non-negative is the way to fix this. I poked around a bit in the c

[issue1739648] zipfile.testzip() using progressive file reads

2008-01-04 Thread Alan McIntyre
Alan McIntyre added the comment: This sort of change definitely needs to be made to avoid reading huge files into memory for testzip(). I've attached a modified patch as zipfile_testzip_amcintyre.diff; it didn't seem appropriate to have a module-level variable for the size of the test

[issue683910] zipfile should have a tarfile-like API

2008-01-04 Thread Alan McIntyre
Alan McIntyre added the comment: I just posted a patch on issue 467924 (http://bugs.python.org/issue467924) that adds extract and extractall methods. Recommend closing this issue unless the patch over there is insufficient for some reason. -- nosy: +alanmcintyre

[issue467924] Improve the ZipFile Interface

2008-01-04 Thread Alan McIntyre
Alan McIntyre added the comment: I attached a patch with the following changes (as zipfile_extract.diff): (1) Add a note to the docs (under writestr) about how the compression is selected if a ZipInfo is passed as the zinfo_or_arcname parameter. If anybody thinks it's a good idea to

[issue467924] Improve the ZipFile Interface

2008-01-04 Thread Alan McIntyre
Alan McIntyre added the comment: Are the method renames/additions suggested in the original issue worth doing? When I first started using this module, I found the documentation easy and thorough enough to understand how to use it, so I would vote for just leaving the ZipFile interface the way

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-05 Thread Alan McIntyre
Alan McIntyre added the comment: The reported warning was being produced when writing the "end of central directory record", in ZipFile.close(). Based on a little experiment with 70k test text files, the default archiver in OS X appears to just use the number of files mod 64k in

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: Here's a patch that just uses the "mod 64k" approach. If I get time to look at some other implementations, and find a better way to handle it, I'll submit an update. Otherwise, maybe on bug day people can try it out with a variety of archiv

[issue1622] zipfile hangs on certain zip files

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: Based on the ZIP spec (I'm using the one here: http://www.pkware.com/documents/casestudies/APPNOTE.TXT), I'm inclined to agree. There's a general note that says "All fields unless otherwise noted are unsigned and stored in Intel low-byte:high

[issue1011893] Problems importing packages in ZIP file

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: I just tried out this test with the trunk and 2.5.2 from svn (on OS X, not sure if that might make a difference), and didn't get the reported error. Since the issue has apparently been fixed at some point, is there any reason not to close this

[issue774221] 2.3c1: zipfile.py confused by garbage at the very end of zip

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: Since there's no reply about where ZIP files with appended 'garbage' might come from, should this be closed? I agree with amk; it doesn't seem wise to ignore incorrectly formatted files without a good reason. On a related note, it seems that

[issue1746] ZIP files with archive comments longer than 4k not recognized as valid by zipfile module

2008-01-06 Thread Alan McIntyre
New submission from Alan McIntyre: The current behavior of zipfile._EndRecData is to look in the last 4k of data in a file if it appears it might have an archive comment; this results in flagging proper ZIP files with comments longer than ~4074 bytes as "not a ZIP file." I plan on

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: Oh thanks, I meant to ask whether or not the run time was too long, but forgot. Only running when -ulargefile is enabled seems fine to me. I can tweak the patch for that if you'd like; moving it to test_zipfile64 should do that,

[issue1011893] Problems importing packages in ZIP file

2008-01-07 Thread Alan McIntyre
Alan McIntyre added the comment: I just tried it on 2.5 and 2.6, since I didn't have the earlier versions available. If I find some time I'll see if I can try it on 2.3 & 2.4; maybe that will shed some light on whether it's been fixed or if is something specific to Windows

[issue1622] zipfile hangs on certain zip files

2008-01-07 Thread Alan McIntyre
Alan McIntyre added the comment: Well I can't promise it will be swift, since my winter vacation ended today, but I'll keep on top of it as best I can. :) __ Tracker <[EMAIL PROTECTED]> <http://bugs.p

[issue1622] zipfile hangs on certain zip files

2008-01-08 Thread Alan McIntyre
Alan McIntyre added the comment: Here's the first draft of a patch (zipfile-unsigned-fixes.diff) that does a few things: - Interpret fields as unsigned unless required (CRC, etc.) - Corrects reading of ZIP files with large archive comments - Replaces hard-coded structure sizes with module-

[issue1622] zipfile hangs on certain zip files

2008-01-10 Thread Alan McIntyre
Alan McIntyre added the comment: Thanks for the reminder, Eric; I'll include that and post the updated patch. As a side note, on OS X, running regrtest with -uall or -ulargefile still skips test_zipfile4 for some reason. I'll have a look at that before submitting the next version of

[issue1622] zipfile hangs on certain zip files

2008-01-11 Thread Alan McIntyre
Alan McIntyre added the comment: Currently the extra field data is only parsed when it contains Zip64 extended information. It could probably be broken up into a list of (id, data) pairs at a minimum for all data types, since the spec says that's the structure that "should" be u

[issue1746] ZIP files with archive comments longer than 4k not recognized as valid by zipfile module

2008-01-12 Thread Alan McIntyre
Alan McIntyre added the comment: A fix for this is included in the patch for issue 1622. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1746> __ ___ Python-bugs-

[issue1622] zipfile hangs on certain zip files

2008-01-12 Thread Alan McIntyre
Alan McIntyre added the comment: Here's an updated patch (zipfile-unsigned-fixes2.diff) that contains Eric's fixes. I also changed the structure for the Zip64 extension data to be unsigned. I think this should cover all the deficiencies caused by the improper use of unsigned values.

[issue1622] zipfile hangs on certain zip files

2008-01-12 Thread Alan McIntyre
Alan McIntyre added the comment: I just noticed that my changes for issue 1526 are included in this patch. Eric, if you have time could you have a look at that issue and see if you think I addressed it properly? If not I can back them out into a separate patch for that issue

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-12 Thread Alan McIntyre
Alan McIntyre added the comment: I just noticed that my changes for this issue are included in the patch for issue 1622; if that gets committed then this issue should be closed. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1710703] zipfile.ZipFile behavior inconsistent.

2008-01-12 Thread Alan McIntyre
Alan McIntyre added the comment: Here's a quick patch that covers the issues mentioned in my post from 2007-05-09. Added file: http://bugs.python.org/file9144/empty-zipfile.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.or

[issue1698917] ZipFile.printdir fix (2.6)

2008-01-14 Thread Alan McIntyre
Alan McIntyre added the comment: I think you applied the wrong patch; the referenced revision doesn't include the tests from zipfile-printdir-2.diff. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.or

[issue1757072] Zipfile robustness

2008-02-02 Thread Alan McIntyre
Alan McIntyre added the comment: It would seem that such a zip file is not consistent with the spec (http://www.pkware.com/documents/casestudies/APPNOTE.TXT). My first reaction is that we shouldn't accept behavior outside the spec unless it's something that's done by m

[issue2004] tarfile extractall() allows local attacker to overwrite files while extracting

2008-02-02 Thread Alan McIntyre
Alan McIntyre added the comment: I noticed that in the trunk, ZipFile._extract_member, at line 865, still uses 777 (the default of os.makedirs) to create directories. I attached a patch for it. A quick grep shows that tarfile still uses the default permissions for os.makedirs and mkdir

[issue2138] Factorial

2008-02-18 Thread Alan McIntyre
Alan McIntyre added the comment: It seems like most of the methods on integers are for two-argument operations (add, mul, div, etc.), while a lot of single-argument operations are in the math module. If this gets added would it fit better as a function in the math module? I have to say a

[issue2138] Factorial

2008-02-18 Thread Alan McIntyre
Alan McIntyre added the comment: >Except that hypot is not a one-liner, if you want to get edge cases right. Ah, true; thanks for pointing that out. Should there be some upper limit on the argument math.factorial would take? At the moment I can't think of any reason for picking a giv

[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it

2008-03-17 Thread Alan Brooks
New submission from Alan Brooks <[EMAIL PROTECTED]>: Patch attached that escapes the executable name so this test doesn't fail. -- components: Tests files: test_subprocess-r61479.patch keywords: patch messages: 63883 nosy: lanny severity: normal status: open title: test_subpr

[issue1503] test_xmlrpc is still flakey

2008-03-26 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: It's my fault the xmlrpc tests try to use non-blocking sockets. That got added because sometimes failing tests would just sit there with the server blocking until the entire test process got killed for running too long. There are

[issue2452] inaccuracy in httplib timeout documentation

2008-03-30 Thread Alan Kennedy
Changes by Alan Kennedy <[EMAIL PROTECTED]>: -- nosy: +amak __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2452> __ ___ Python-bugs-list mailing

[issue1622] zipfile hangs on certain zip files

2008-04-16 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: Is there anything else that needs to be addressed before this can be committed? At the moment I don't know of anything, just wanted to make sure somebody wasn't waiting on me. As a reminder, issues #1526 and #1746 should b

[issue3432] Mac, 2.6 framework install error

2008-12-29 Thread Alan Brooks
Alan Brooks added the comment: I also get this exact same problem. Mac OS 10.5.6 on an Intel MacBook trying to install the release version of 2.6.1. I found it was failing to build _Res, but worked around by *not* using --enable-universalsdk. -- nosy: +lanny

[issue38780] SysLogHandler crash atexit

2020-01-08 Thread Alan Robertson
Alan Robertson added the comment: There are a variety of different reasons this can fail, not just on MacOS. You could give it a bad IP address of a server, etc. [That was my particular case]. The constructor should create an attribute 'socket' and initialize it to None early on.

[issue39841] "as" variable in except block deletes local variables with same name

2020-03-03 Thread Alan Robertson
New submission from Alan Robertson : When an exception "as" variable occurs, it deletes local variables with the same name. This is certainly surprising, and doesn't appear to be a documented behavior (but maybe I don't know where to look). The word "bug" come

[issue39841] "as" variable in except block deletes local variables with same name

2020-03-03 Thread Alan Robertson
Alan Robertson added the comment: Thanks for your kind explanation. I may even vaguely remember seeing this sometime in the past. Thanks much for your time! -- ___ Python tracker <https://bugs.python.org/issue39

[issue38780] SysLogHandler crash atexit

2021-01-06 Thread Alan Robertson
Alan Robertson added the comment: On Wed, Jan 6, 2021, at 10:30 AM, Vinay Sajip wrote: > > Vinay Sajip added the comment: > > TBH as I said in the now-closed PR, using a NullSocket seems overkill. > As mentioned in msg359594, it seems to make more sense to assign a > s

[issue38780] SysLogHandler crash atexit

2021-01-06 Thread Alan Robertson
Alan Robertson added the comment: As far as I know, this only happens during shutdown. During shutdown it has already removed the attribute as part of the teardown process. In this case adding the attribute at the begining will do no good. On Wed, Jan 6, 2021, at 10:30 AM, Vinay Sajip wrote

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-16 Thread Alan Moore
New submission from Alan Moore : Using IDLE 3.9.1 on Arch Linux. In IDLE I've selected the "classic unix" key set. It worked for a while, then stopped registering key combinations for more than one key (e.g. Ctrl-x Ctrl-s). Have tried creating a custom key set and manua

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-16 Thread Alan Moore
Alan Moore added the comment: OK, it seems that closing all my firefox windows restored correct behavior to IDLE. I can only guess that somehow firefox was eating the Ctrl-x. Not sure if this is a firefox issue, a window manager issue, or an IDLE issue. If you think it's not the l

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-17 Thread Alan Moore
Alan Moore added the comment: An interesting note this morning, and again I don't know if this is actually an IDLE bug; I had left IDLE running overnight and opened a new code window this morning. Somehow IDLE "forgot" that Ctrl-N means "next line" and not "

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-17 Thread Alan Moore
Alan Moore added the comment: Ok, sorry to keep poking at this issue, but I think I was too hasty in blaming firefox. As I previously mentioned, IDLE "forgot" that Ctrl-N meant "next line" and reverted it to "new window". I fixed that behavior by chang

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-17 Thread Alan Moore
Alan Moore added the comment: Spent some time today with IDLE and PDB, and I've ruled out any other program on my system as the culprit: - I can create a tkinter GUI that will respond to a binding like and it works fine. - In pdb, I can bind <> to a callback and it is getting

[issue40815] Multiprocessing docs don't describe thread-safety

2020-05-29 Thread Alan Briolat
Change by Alan Briolat : -- nosy: +alan.briolat ___ Python tracker <https://bugs.python.org/issue40815> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41339] make queue.Queue objects iterable

2020-07-19 Thread Alan Iwi
New submission from Alan Iwi : It is possible to make `queue.Queue` and `queue.SimpleQueue` objects iterable by adding simple `__iter__` and `__next__` methods. This is to suggest adding these methods to the existing `Queue` and `SimpleQueue` so that they are iterable by default. ``` class

[issue35749] Rewrite asyncio signal handler

2020-10-21 Thread Alan Jenkins
Alan Jenkins added the comment: Here's a simple test case that fails on the main branch. https://github.com/sourcejedi/cpython/commit/50184ea3b354fd775866d036ccee058ec6734927 > the patch assumes that python signal handler will be called *before* reading > from self-pipe. >

[issue42110] race condition in ThreadChildWatcher (default) and MultiLoopChildWatcher

2020-10-21 Thread Alan Jenkins
New submission from Alan Jenkins : ## Test program ## import asyncio import time import os import signal import sys # This bug happens with the default, ThreadedChildWatcher # It also happens with MultiLoopChildWatcher, # but not the other three watcher types. #asyncio.set_child_watcher

[issue42110] race condition in ThreadChildWatcher (default) and MultiLoopChildWatcher

2020-10-22 Thread Alan Jenkins
Alan Jenkins added the comment: There's one way to fix this in MultiLoopChildWatcher (but not ThreadedChildWatcher). Make sure the waitpid() runs on the same thread that created the subprocess. Prototype: https://github.com/sourcejedi/cpython/c

[issue42110] race condition in ThreadChildWatcher (default) and MultiLoopChildWatcher

2020-10-22 Thread Alan Jenkins
Alan Jenkins added the comment: Put the other way, if you wanted to fix this bug in ThreadedChildWatcher, and go as far as allowing cancelling Process.wait(), followed by kill() / send_signal(), then I think you need - * siginterrupt(SIGCHLD, 1) * not to mind about any random C code that

[issue42173] Drop Solaris support

2020-10-29 Thread Alan Coopersmith
Change by Alan Coopersmith : -- nosy: +alanc ___ Python tracker <https://bugs.python.org/issue42173> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23324] Nonblocking serial io using Arduino and Ubuntu 14.10 (Python 3.4.2) performance slowdown

2019-06-06 Thread Alan Yorinks
Alan Yorinks added the comment: Hi Carol,     Thanks for the update. I retested on Python 3.7 and the problem seems to have been resolved some where along the way. BTW, I am using MicroPython on an ESP8266 remotely controlled from a Python program on a PC. You can read about it here: https

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-25 Thread Alan Huang
Change by Alan Huang : -- pull_requests: +11509, 11510 ___ Python tracker <https://bugs.python.org/issue35045> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-25 Thread Alan Huang
Change by Alan Huang : -- pull_requests: +11509 ___ Python tracker <https://bugs.python.org/issue35045> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   >