[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2015-07-05 Thread Adam Bartoš
Adam Bartoš added the comment: I've also run into this issue (see https://mail.python.org/pipermail/python-list/2015-July/693496.html and the following thread). I'm adding some small examples showing the behavior. import asyncio async def wait(): await asyncio.sleep(5) loop

[issue17908] Unittest runner needs an option to call gc.collect() after each test

2015-04-27 Thread Adam
Adam added the comment: Is this enhancement still open? I've run into this problem previously, and would be more than happy to implement this feature. -- nosy: +azsorkin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17908

[issue23402] dynload_shlib does not close ldl handles when the interpreter is shut down

2015-02-06 Thread Adam
New submission from Adam: I think dynload_shlib (and maybe some of the other non-ldl dynamic library loaders?) should close the libraries when the interpreter is shut down. Currently the handles are not ever closed and in ldl's case sometimes leaked. The reason I desire this behavior is I

[issue23141] Command line long filename not passed correctly

2014-12-31 Thread Adam Mead
New submission from Adam Mead: Under windows the following code does not pass the LFN to the script. Nor does any other method I've tried (getopts argparse) test.py import sys print ('Number of arguments:', len(sys.argv), 'arguments.') print ('Argument List:', str(sys.argv)) for x in range(0

[issue23141] Command line long filename not passed correctly

2014-12-31 Thread Adam Mead
Adam Mead added the comment: Hi, I think I've found the problem. After reading you message and seeing your output I went to my laptop which didn't have python installed (using portable on it) and clean installed. Using a clean install with 3.4.2 on a Win8 machine it worked fine. I suspect

[issue23124] Incorrect Integer saving

2014-12-27 Thread Adam Carruthers
New submission from Adam Carruthers: 255 is 255 - True (255).bit_length() - 8 256 is 256 - True (256).bit_length() - 9 257 is 257 - False (257).bit_length() - 9 ^ Will show True if you do it exactly like this because of a quirk. a = 257 b = 257 a is b - False I

[issue23124] Incorrect Integer saving

2014-12-27 Thread Adam Carruthers
Changes by Adam Carruthers adamjcarruther...@gmail.com: -- nosy: -Adam.Carruthers ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23124

[issue22099] Two Save As Windows

2014-07-28 Thread Adam Kimbrough
New submission from Adam Kimbrough: I am on a Mac running Mavericks 10.9.4. Whenever I press shift+command+s to save a file as a specific name, it opens two windows. But, if I Save As through the button in the menu bar, it only opens one window. -- components: IDLE messages: 224204

[issue15858] tarfile missing entries due to omitted uid/gid fields

2014-07-25 Thread Adam Tauno Williams
Adam Tauno Williams added the comment: test fails for me with provided bad.tar [as described in comment] but test passed after applying patch to tarfile. -- nosy: +whitemice ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15858

[issue12319] [http.client] HTTPConnection.putrequest not support chunked Transfer-Encodings to send data

2014-07-25 Thread Adam Tauno Williams
Changes by Adam Tauno Williams awill...@whitemice.org: -- nosy: +whitemice ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12319 ___ ___ Python-bugs

[issue21657] pip.get_installed_distributions() Does not

2014-06-04 Thread Adam Matan
New submission from Adam Matan: Abstract: Calling pip.get_installed_distributions() from a directory with a setup.py file returns a list which does not include the package(s) listed in the setup.py file. Steps to reproduce: 1. Create a virtual environment and activate it. 2. Download any

[issue21657] pip.get_installed_distributions() Does not return packages in the current working directory

2014-06-04 Thread Adam Matan
Changes by Adam Matan a...@matan.name: -- title: pip.get_installed_distributions() Does not - pip.get_installed_distributions() Does not return packages in the current working directory ___ Python tracker rep...@bugs.python.org http

[issue6839] zipfile can't extract file

2014-05-05 Thread Adam Polkosnik
Adam Polkosnik added the comment: Both. Other programs, and in python scripts when raise() is removed in zipfile.py. Unless your results are different. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-05-02 Thread Adam Polkosnik
Adam Polkosnik added the comment: Extraction works fine, the issue was that raise() was creating an exception, and stoping the whole extraction process. When replaced with a warning, everything works fine. -- ___ Python tracker rep

[issue6839] zipfile can't extract file

2014-05-02 Thread Adam Polkosnik
Adam Polkosnik added the comment: Ethan, I'd refer you to msg92309... And When testing with WinZip it looks like this: No errors detected in compressed data of C:\Downloads\test.zip. Testing ... Testing test\OK Testing test\test2.txt OK Testing test1.txt

[issue6839] zipfile can't extract file

2014-05-01 Thread Adam Polkosnik
Adam Polkosnik added the comment: Jim, The problems documented here are related to two cases (both apparently arriving from world of windows): 1. two relative paths with inverted slash in one of them (test\test2.txt vs test/test2.txt) 2. relative path vs absolute path (windows\temp\test.txt

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file33666/zipfile_stupid3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file35104/zipfile_276_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file35103/zipfile_340_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: Attached is a patch with warnings against 2.7.6 -- Added file: http://bugs.python.org/file35113/zipfile_276_filename_mismatch_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: Attached is a patch with warnings against 3.4.0 -- Added file: http://bugs.python.org/file35114/zipfile_340_filename_mismatch_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file35113/zipfile_276_filename_mismatch_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: Attached is a patch with warnings against 2.7.6 (this one should be good to go) -- Added file: http://bugs.python.org/file35115/zipfile_276_filename_mismatch_v2.patch ___ Python tracker rep...@bugs.python.org http

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: 3.4.0 pathc with stacklevel=2 -- Added file: http://bugs.python.org/file35117/zipfile_340_filename_mismatch_v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file35114/zipfile_340_filename_mismatch_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: I just looked through 2.7.6 version of zipfile, and the the error handling there is either through using raise() or print(). So, inline with the guidance provided for 2.7.6, perhapswe should stick with print() instead of warning.warn(). I'll post that a bit

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: Jim, I've got some test cases where the zlib_forward_slash.patch doesn't cut it. That was the reason for trying a broader approach with filename_mismatch patches. -- Added file: http://bugs.python.org/file35120/zipfile_276_filename_mismatch_v3

[issue6839] zipfile can't extract file

2014-04-30 Thread Adam Polkosnik
Adam Polkosnik added the comment: Is there anything else that you need me to provide? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: Gentlemen, Is there's any way this fix can be included in any version? Currently, the fact that the exception is thrown makes extracting some zip files impossible with this library, and rolling your own is a bit painful. (either using a wrapper around 7zip

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: For the version headers, I've added the versions featuring the broken behavior. That's all. I'm not saying that this is I'm extracting malware from the Central Quarantine files, and the vendor's implementation is broken and is causing this issue for me

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: Also, this behavior is present on all platforms and all versions of Python (zipfile Library), so maybe the headers should be adjusted there too. I'm not saying that this is necessarily a big freaking hole, but by using this, one can prevent files from being

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: If I got a file scanner in my mail gateway implemented with this, one can easily avoid getting the contents of zip-files scanned. Is that enough of a security impact? -- ___ Python tracker rep...@bugs.python.org

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: I've also tested with WinZip, and Windows Explorer, on windows. Both extract the contents of test.zip without a warning (just like 7zip on Windows did). This behavior counts as Denial Of Service if the zipfile Library is used to extract files, besides lots

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: Terry, I apologize about the second change of headers, somehow I must have used the submission form to post the comment from a tab that had the old content, and the headers didn't refresh there. I assure you that it was not my intention to change them again

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: In any event, I think that zipfile_stupid3.patch would be the best trivial fix to this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: Patch against 2.7.6 attached. -- Added file: http://bugs.python.org/file35101/zipfile_276_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: Patch against zipfile 3.4.0 attached. -- Added file: http://bugs.python.org/file35102/zipfile_340_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file35102/zipfile_340_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file35101/zipfile_276_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: update -- Added file: http://bugs.python.org/file35103/zipfile_340_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-04-29 Thread Adam Polkosnik
Adam Polkosnik added the comment: Once again patch against 2.7.6 -- Added file: http://bugs.python.org/file35104/zipfile_276_filename_mismatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue21186] RawConfigParser __name__ option handling inconsistent

2014-04-09 Thread Adam Groszer
New submission from Adam Groszer: In RawConfigParser the __name__ option handling is inconsistent: RawConfigParser.options() and items() works hard to hide it, but has_options() does not -- components: Library (Lib) messages: 215809 nosy: Adam.Groszer priority: normal severity: normal

[issue21186] RawConfigParser __name__ option handling inconsistent

2014-04-09 Thread Adam Groszer
Adam Groszer added the comment: e.g. myconfig.has_options(existing section, __name__) is always True, whereas myconfig.options(existing section) never has a __name__ entry -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2014-03-17 Thread Adam Goodman
Adam Goodman added the comment: What Martin said is correct, IMO. The actual problem I'd like to correct is: If I - for example - create an HTTPSConnection with cert validation enabled, and set to use the default OS trust mechanism, then the validation process should trigger Windows' root CA

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2014-03-13 Thread Adam Goodman
New submission from Adam Goodman: Starting with Vista, Microsoft began shipping only a very minimal set of root CA certificates with Windows. Microsoft does trust many other authorities, but for these, Windows relies on the Update Root Certificates feature: http://technet.microsoft.com/en-us

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2014-03-13 Thread Adam Goodman
Changes by Adam Goodman akg...@duosecurity.com: Added file: http://bugs.python.org/file34405/win_ca_test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20916

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2014-03-13 Thread Adam Goodman
Adam Goodman added the comment: I just tried installing the root certificate update from KB931125 on a clean VM. Now I have 369 trusted root CAs, according to certmgr.msc. (I imagine it would be unreasonable to expect all windows python users to do this, though...) The https request

[issue6839] zipfile can't extract file

2014-02-18 Thread Adam Polkosnik
Adam Polkosnik added the comment: It might not be a regular security issue, but it is not extracting some files that it should. There's a possible scenario, where it can be a security issue. -- ___ Python tracker rep...@bugs.python.org http

[issue19023] ctypes docs: Unimplemented and undocumented features

2014-01-25 Thread Adam Knight
Adam Knight added the comment: Can someone add this in? What needs to be done to make it happen? Kind of need this for a project I'm working on... -- nosy: +ahknight ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19023

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file32160/zipfile.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Adam Polkosnik added the comment: I'm in a similar situation, my test file raises this: File name in directory windows\TEMP\\test123.txt and header C:\windows\TEMP\\test123.txt differ. It turns out that I can't find any cross platform procedures for processing the paths between the different

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Adam Polkosnik added the comment: This one has the parentheses for print, so that it works in python 3.x. Also, the default fallback behavior in this case is to use the filename from the zips' directory (the first path in the warning). -- Added file: http://bugs.python.org/file33663

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Adam Polkosnik added the comment: Can we get this simple fix implemented in time for the next 2.7.x release?! Thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Adam Polkosnik added the comment: Excellent, please see my third attempt. -- Added file: http://bugs.python.org/file33666/zipfile_stupid3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file33662/zipfile_stupid.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue6839] zipfile can't extract file

2014-01-23 Thread Adam Polkosnik
Changes by Adam Polkosnik apolkos...@gmail.com: Removed file: http://bugs.python.org/file33663/zipfile_stupid2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-01-09 Thread Adam Tomjack
Adam Tomjack added the comment: The proposed patches don't fix the problem. They may well allow DDL in transactions, but that's not the real problem. A database library must *NEVER* implicitly commit or rollback. That's completely insane. import this ... Explicit is better

[issue6839] zipfile can't extract file

2013-10-31 Thread Adam Polkosnik
Adam Polkosnik added the comment: Just tested my patch on mac, and it appears that it didn't work on OSX (and likely on other unix platforms too). Conclusion... os.path.basename() will not do anything to windows paths when running on unix. I'm thinking that instead of bailing at 'File name

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-10-19 Thread Ron Adam
Ron Adam added the comment: Adding you Nick, I don't have commit rights. This probably doesn't need much.. maybe a one line comment in news is all. (And maybe not even that.) -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http

[issue6839] zipfile can't extract file

2013-10-17 Thread Adam Polkosnik
Adam Polkosnik added the comment: I've got bitten by a different variation of this bug. In my case the issue can be summarized by: zipfile.BadZipfile: File name in directory Windows\TEMP\test.tmp and header C:\Windows\TEMP\test.tmp differ. Attached is a patch for Python27/lib/zipfile.py. I

[issue19161] collections Counter handles nan strangely

2013-10-04 Thread Adam Davison
New submission from Adam Davison: If you pass an array containing nan to collections.Counter, rather than counting the number of 'nan's it outputs 'nan': 1 n times into the dictionary. I appreciate using this on an array of floats is a bit of an unusual case but I don't think

[issue19161] collections Counter handles nan strangely

2013-10-04 Thread Adam Davison
Adam Davison added the comment: Thanks for the quick response. I'm really using a pandas Series, which is effectively a numpy array behind the scenes as far as I understand, the example I pasted was just to illustrate the behaviour. So the nans are being produced elsewhere, I don't really

[issue18756] os.urandom() fails under high load

2013-09-20 Thread Adam Bielański
Changes by Adam Bielański abg...@gmail.com: -- nosy: +Adam.Bielański ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18756 ___ ___ Python-bugs-list

[issue18740] str is number methods don't recognize '.'

2013-08-14 Thread Ron Adam
New submission from Ron Adam: Shouldn't at least isdecimal return True? '123.0'.isdecimal() False '123.0'.isalnum() False '123.0'.isnumeric() False '123.0'.isdigit() False -- components: Interpreter Core messages: 195186 nosy: ron_adam priority: normal severity: normal status: open

[issue18740] str is number methods don't recognize '.'

2013-08-14 Thread Ron Adam
Ron Adam added the comment: I get the same resluts if I make the string by str(123.0). I was thinking it should test True for the isdecimal case for that. It seems I missunderstood their purpose/use. This seems like it would be a very common misunderstanding. It appears, (Because it isn't

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-15 Thread Ron Adam
Changes by Ron Adam ron3...@gmail.com: Removed file: http://bugs.python.org/file30922/pdoc_symbols.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-15 Thread Ron Adam
Ron Adam added the comment: Patch update: removed from pydoc symbols table. -- Added file: http://bugs.python.org/file30931/pdoc_symbols.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-15 Thread Ron Adam
Ron Adam added the comment: I agree the specific content for each symbol are separate issues. Those are probably best addressed individually or a few at a time when they are closely related. -- ___ Python tracker rep...@bugs.python.org http

[issue18436] Add mapping of symbol to function to operator module

2013-07-14 Thread Ron Adam
Ron Adam added the comment: Regarding opertor.get_op: Look at help(symbols) output for consistancy. There may be items in one that can be included in the other. The operator.get_op addition would be useful for improving help on the symbol information for help/pydoc. Currently it seems

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Ron Adam added the comment: Thanks for catching that. I had used unquote_plus instead of unquote. That is needed for multi-field form data, pydoc doens't need it. Removed the back tick from the pydoc symbols list. The topic link for that symbol was already removed. I also attempted

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Ron Adam added the comment: Updated the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387 ___ ___ Python-bugs-list mailing list

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-14 Thread Ron Adam
Changes by Ron Adam ron3...@gmail.com: Removed file: http://bugs.python.org/file30843/pdoc_symbols.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-07 Thread Ron Adam
Changes by Ron Adam ron3...@gmail.com: Removed file: http://bugs.python.org/file30831/pdoc_symbols.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-07 Thread Ron Adam
Ron Adam added the comment: New slightly improved patch. Combined the topic index's, topics, keywords, and the new symbols case, into a single html_topicsindex(title) function. -- Added file: http://bugs.python.org/file30843/pdoc_symbols.diff

[issue12681] unittest expectedFailure could take a message argument like skip does

2013-07-06 Thread Adam Collard
Adam Collard added the comment: I've got a patch for this, but I'm a bit worried about the impact on the documented API. I've tried to do the best I could to minimize it through use of keyword-arguments but I'm a bit unsure about the change (and the docs too!) I hope this is useful to someone

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2013-07-06 Thread Adam Collard
Adam Collard added the comment: Use raise from None to avoid additional exception context -- Added file: http://bugs.python.org/file30800/argparse-raise-from-None ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9495

[issue12645] test.support. import_fresh_module - incorrect doc

2013-07-06 Thread Adam Collard
Adam Collard added the comment: The typo is no longer present, but the docs were still wrong. -- nosy: +adam-collard Added file: http://bugs.python.org/file30803/issue-12645-test-docs ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-06 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17349 ___ ___ Python-bugs

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-06 Thread Adam Collard
Adam Collard added the comment: Since this bug depends on a __future__ import I was advised to put the test in a separate file. -- Added file: http://bugs.python.org/file30815/issue-17349-wsgiref ___ Python tracker rep...@bugs.python.org http

[issue15370] test_runpy should include namespace package tests

2013-07-06 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15370 ___ ___ Python-bugs

[issue18387] Add 'symbols' link to html menu bar.

2013-07-06 Thread Ron Adam
New submission from Ron Adam: This patch adds a 'symbols' link after the 'topics' and 'keywords' links in the html browser menu bar. help('symbols') worked, but there was no way to get to it in the html browser. This also adds unquote_plus() to the url handler to unquote the html input form

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-06 Thread Ron Adam
Changes by Ron Adam ron3...@gmail.com: -- title: Add 'symbols' link to html menu bar. - Add 'symbols' link to pydoc's html menu bar. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18387

[issue18347] ElementTree corrupts cAse of closing tags when html method is specified

2013-07-02 Thread Adam Urban
New submission from Adam Urban: import xml.etree.ElementTree as ET tree = ET.parse(myinput.xml) tree.write(myoutput.xml, encoding=utf-16le, xml_declaration=False, default_namespace=None, method=html) If the source XML has a tag like this: someTagsomeData/someTag ElementTree will output

[issue18105] ElementTree writes invalid files when UTF-16 encoding is specified

2013-05-31 Thread Adam Urban
New submission from Adam Urban: import xml.etree.ElementTree as ET tree = ET.parse(myinput.xml) tree.write(myoutput.xml, encoding=utf-16) ...Output is a garbled mess, often a mix of UTF-8 and UTF-16 bytes... UTF-8 output works fine, but when UTF-16, UTF-16LE, or UTF-16BE are specified

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2013-05-02 Thread Adam Brenecki
Changes by Adam Brenecki a...@brenecki.id.au: -- nosy: +adambrenecki ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17849 ___ ___ Python-bugs-list

[issue1727418] xmlrpclib waits indefinately

2013-04-13 Thread Adam Duston
Adam Duston added the comment: We used the xmlrpc++0.7 library to set up a test server, consistent with what Arno reported in the original ticket. We weren’t able to reproduce the problem with 2.7.2 or 3.4. Furthermore, xmlrpclib.Server (or xmlrpc.client.Server in Python 3) connects with HTTP

[issue1727418] xmlrpclib waits indefinately

2013-04-13 Thread Adam Duston
Changes by Adam Duston adus...@gmail.com: -- versions: +Python 2.6 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1727418

[issue1154351] add get_current_dir_name() to os module

2013-03-20 Thread Marc Adam Anderson
Marc Adam Anderson added the comment: This enhancement has been implemented. The code is based on hoffman's code. Tests for this enhancement, as well as tests for os.getcwd() have also been added. The docs have been updated and tested locally. -- keywords: +patch nosy: +marcadam Added

[issue5993] python produces zombie in webbrowser.open

2013-03-19 Thread Marc Adam Anderson
Marc Adam Anderson added the comment: Unable to reproduce this bug on Mac OS X 10.8.3 (12D78) using Python 3.4.0a0 and the following browsers: - Google Chrome 25.0.1364.172 - Firefox 13.0.1 - Safari 6.0.3 (8536.28.10) -- nosy: +marcadam ___ Python

[issue8862] curses.wrapper does not restore terminal if curses.getkey() gets KeyboardInterrupt

2013-03-19 Thread Marc Adam Anderson
Marc Adam Anderson added the comment: Tested patch using Python 3.4.0a0 on Mac OS X 10.8.3 (12D78). Patch appears to fix the bug. -- nosy: +marcadam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8862

[issue10716] Modernize pydoc to use better HTML and separate CSS

2013-03-01 Thread Ron Adam
Ron Adam added the comment: I'm going to go over this issue again with fresh eyes after having been away for some time. Recent experience with another project has helped answer some of the questions I had earlier. Particulary, how not to over specifying class names and id's. This should

[issue12681] unittest expectedFailure could take a message argument like skip does

2013-01-31 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12681 ___ ___ Python-bugs

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2013-01-31 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9495 ___ ___ Python-bugs-list

[issue17078] string.Template.safe_substitute hard-wires braces as {}

2013-01-29 Thread Adam Kellas
New submission from Adam Kellas: If you use safe_substitute and try to use a variable reference style other than ${foo}, you will find that it assumes ${foo} style. In particular, when evaluating $[foo] (square braces) and 'foo' is not defined, safe_substitute will put the string back

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2013-01-22 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100942 ___ ___ Python-bugs

[issue7563] yield in except clause causes exception context to be lost

2013-01-18 Thread Adam Bielański
Changes by Adam Bielański abg...@gmail.com: -- nosy: +Adam.Bielański ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7563 ___ ___ Python-bugs-list

[issue16063] HMAC trans_5C is a string, causing a TypeError

2012-10-03 Thread Adam Glenn
Adam Glenn added the comment: I did some more testing and verified that this is a problem caused by the fact that trans_5C is a string and not unicode. It also happens when trans_36 is sent to key.translate(). Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type help

[issue16063] HMAC trans_5C is a string, causing a TypeError

2012-09-27 Thread Adam Glenn
New submission from Adam Glenn: When passing 2 unicode objects to hmac.new() I'm getting TypeError: character mapping must return integer, None or unicode I've tried this using hashlib.sha1 and hashlib.md5 and the behavior is the same. What I think is happening is that the trans_5C join

[issue15785] curses.get_wch() returns keypad codes incorrectly

2012-08-27 Thread Adam Simpkins
Adam Simpkins added the comment: + Get a wide character as (is_key_code, key). *is_key_code* is True for + function keys, keypad keys and so, in this case, *key* is a multibyte string + containing the key name. Otherwise, *key* is a single character + corresponding to the key

[issue15785] curses.get_wch() returns keypad codes incorrectly

2012-08-26 Thread Adam Simpkins
New submission from Adam Simpkins: The curses.get_wch() function does not check if wget_wch() returned OK or KEY_CODE_YES. In either case, it simply returns the character code. This makes get_wch() unusable when keypad is enabled, because the caller cannot distinguish function key or arrow

<    1   2   3   4   5   6   7   >