[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

2014-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch looks fine to me. Someone please apply. -- stage: patch review -> commit review ___ Python tracker ___ __

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Mark Dickinson
Mark Dickinson added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue21926] Bundle C++ compiler with Python on Windows

2014-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: No, it's not on the roadmap. The recommended compiler is Microsoft Visual C, which we are not legally allowed to redistribute. -- nosy: +loewis resolution: -> not a bug status: open -> closed ___ Python tracker

[issue20135] FAQ need list mutation answers

2014-07-07 Thread Berker Peksag
Berker Peksag added the comment: LGTM. -- nosy: +berker.peksag stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bu

[issue21597] Allow turtledemo code pane to get wider.

2014-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't really know what most beginners will expect. Perhaps an entry in the help will be enough. I would like have a better how to use summary at the top of the file anyway. If I swish the normal cursor across the divide, it jumps from I-bar on text side to

[issue12067] Doc: remove errors about mixed-type comparisons.

2014-07-07 Thread Andy Maier
Andy Maier added the comment: I see. But I don't think it is a sensible default, as the source code states. The Python doc (v2 and v3) is quite consistent in stating that `==` compares the values of two objects, while `is` compares object identity. Having a default implementation on the object

[issue20135] FAQ need list mutation answers

2014-07-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: docs@python -> ezio.melotti nosy: +rhettinger stage: patch review -> commit review ___ Python tracker ___ _

[issue10289] Document magic methods called by built-in functions

2014-07-07 Thread Andy Maier
Andy Maier added the comment: Uploaded a patch for Python 3.4, and for merging into "default". The patch addresses items 1) to 3) from my previous post; item 4) does not need to be addressed IMHO. Andy -- keywords: +patch Added file: http://bugs.python.org/file35879/issue10289-magic-p

[issue21929] Rounding properly

2014-07-07 Thread Jeroen de Jong
New submission from Jeroen de Jong: I ma trying to find a way to round correctly. So far I get unexpected results for some values. -- components: Windows files: Rounding.py messages: 222444 nosy: jeroen1225 priority: normal severity: normal status: open title: Rounding properly type: be

[issue16099] robotparser doesn't support request rate and crawl delay parameters

2014-07-07 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue21929] Rounding properly

2014-07-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mark.dickinson, skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue21881] python cannot parse tcl value

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4514804d0e50 by Serhiy Storchaka in branch '2.7': Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN http://hg.python.org/cpython/rev/4514804d0e50 New changeset 4879f6337ef6 by Serhiy Storchaka in branch '3.4': Issue #21881: B

[issue10289] Document magic methods called by built-in functions

2014-07-07 Thread Andy Maier
Andy Maier added the comment: Uploaded v2 of the 3.4/default patch, which removes the comment line at the top of Doc/library/functions.rst (mentioned by Éric in the original message of this issue). -> Please review the patch. -> Please also double check whether there are any additional built-

[issue14050] Tutorial, list.sort() and items comparability

2014-07-07 Thread Andy Maier
Andy Maier added the comment: Comments on v2 of both patches: 1. The paragraph "Each item needs to ..." describes the requirement in terms of "ordering relationships between items". It would be both simpler and less ambiguous to describe the requirement in terms of "type must be orderable". Se

[issue19593] Use specific asserts in importlib tests

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f426bd85f808 by Serhiy Storchaka in branch '3.4': Issue #19593: Use specific asserts in importlib tests. http://hg.python.org/cpython/rev/f426bd85f808 New changeset cace5cc29df0 by Serhiy Storchaka in branch 'default': Issue #19593: Use specific ass

[issue19593] Use specific asserts in importlib tests

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Ezio for the review. I hope issue18864 will be merged without conflicts. -- dependencies: -Implementation for PEP 451 (importlib.machinery.ModuleSpec) resolution: -> fixed ___ Python tracker

[issue19593] Use specific asserts in importlib tests

2014-07-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: commit review -> resolved status: open -> closed versions: +Python 3.4 ___ Python tracker ___

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Pavel Tyslyatsky
New submission from Pavel Tyslyatsky: This proposal look preaty close to pep-463: http://legacy.python.org/dev/peps/pep-0463/, but in assertion context. Now python test libraries have different aproach for assertions, some try use own implementations, for example, for equality `assertEqual` (`

[issue21707] modulefinder uses wrong CodeType signature in .replace_paths_in_code()

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 59921d2f023c by Berker Peksag in branch '3.4': Issue #21707: Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code(). http://hg.python.org/cpython/rev/59921d2f023c New changeset 4b6798e74dcf by Berker Peksag in branch 'default'

[issue21929] Rounding properly

2014-07-07 Thread Mark Dickinson
Mark Dickinson added the comment: This is working as designed, though admittedly the cause of the unexpected results is non-obvious. In Python 2, there's no way to implement `round` for a general type: instead, the `round` function converts its *input* to a Python (binary) float, and then ro

[issue21707] modulefinder uses wrong CodeType signature in .replace_paths_in_code()

2014-07-07 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue21929] Rounding properly

2014-07-07 Thread Mark Dickinson
Mark Dickinson added the comment: There may be an opportunity for a documentation improvement here: it would be helpful if the Python 2.7 documentation for the "round" function explained that its input is converted to float. -- assignee: -> docs@python components: +Documentation -Wind

[issue21707] modulefinder uses wrong CodeType signature in .replace_paths_in_code()

2014-07-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: Two observations: 1. This issue is only about identifiers. So processing of string literals is technically out of scope. 2. I'd suggest to replace .translate with regular expressions: py> re.sub('[^(){}\[\]]','','foo(b[a]{r}≠)') '([]{})' I'm sure people inter

[issue21881] python cannot parse tcl value

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01ec8bb7187f by Serhiy Storchaka in branch '2.7': Issue #21881: Just omit tests for platform-specific NaN representation in test_tcl. http://hg.python.org/cpython/rev/01ec8bb7187f New changeset 5ac811cbec87 by Serhiy Storchaka in branch '3.4': Issu

[issue21881] python cannot parse tcl value

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On some platforms NaN representation has a minus before "nan" (see http://buildbot.python.org/all/builders/x86%20OpenIndiana%202.7/builds/2384/steps/test/logs/stdio). So it is easier just omit tests for these platform-specific values. Regardless of the fact

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-07 Thread Tal Einat
Tal Einat added the comment: @Martin: > 1. This issue is only about identifiers. So processing of > string literals is technically out of scope. I added a test with a non-ASCII string literal only for good measure, while I was already adding a test with a non-ASCII identifier. The patch doesn'

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2014-07-07 Thread Jeffrey Armstrong
New submission from Jeffrey Armstrong: The function fcicreate in PC/_msi.c can return nonsense if the list of files passed to msilib.FCICreate does not contains tuples as expected. To replicate, import msilib msilib.FCICreate("test.cab", ["entry.txt"]) The above code will return a ValueError

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Brett Cannon
Brett Cannon added the comment: The best way to get language changes made is to first propose them on the python-ideas mailing list (https://docs.python.org/devguide/faq.html#suggesting-changes). -- nosy: +brett.cannon ___ Python tracker

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: Agreed, but there are a few problems with the proposals: 1) it requires the addition of a new keyword (raises), and that will break any program that uses it as an identifier; 2) the use case is arguably limited; 3) assertRaises is consistent with the other assert*

[issue9861] subprocess module changed exposed attributes

2014-07-07 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: The statement in comment http://bugs.python.org/issue9861#msg133051 seems to be wrong as changes between versions 2.5 and 2.6 are not security only fixes. Changing visibility of module's public attributes should at least be documented thus closing this bug wit

[issue21932] os.read() must use Py_ssize_t for the size parameter

2014-07-07 Thread STINNER Victor
New submission from STINNER Victor: os.read() currently uses the int type for the size parameter, whereas the C function uses a C size_t parameter: ssize_t read(int fd, void *buf, size_t count); The Python function must use the Py_ssize_t type, but truncate to INT_MAX on Windows, as do

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Pavel Tyslyatsky
Pavel Tyslyatsky added the comment: Thanks for reply, I really missed many cases. I will try look deeper. -- ___ Python tracker ___ __

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Hi, test_make_entry seems to be failing (for eg: http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.4/builds/306/steps/test/logs/stdio and http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/911/steps/test/logs/stdio)

[issue21932] os.read() must use Py_ssize_t for the size parameter

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch LGTM. Here is a test for it. -- Added file: http://bugs.python.org/file35884/test_posix_read_py_ssize_t.patch ___ Python tracker ___ ___

[issue21933] Allow the user to change font sizes with the text pane of turtledemo

2014-07-07 Thread Lita Cho
New submission from Lita Cho: Currently, the turtledemo doesn't allow you to change font sizes of the demo code, and the default font size is really small. I can work on creating a patch to fix this. Best option be to have control-mousewheel change size, as is standard in browsers, as well as

[issue21934] OpenBSD has no /dev/full device

2014-07-07 Thread Daniel Dickman
New submission from Daniel Dickman: There is no /dev/full device on OpenBSD. If you run the 2.7 regress tests as root on OpenBSD, a /dev/full regular file will be created and the "test_write_full" test will fail. (because the subsequent write will succeed in writing to the /dev/full regular fi

[issue21934] OpenBSD has no /dev/full device

2014-07-07 Thread Daniel Dickman
Changes by Daniel Dickman : -- keywords: +patch Added file: http://bugs.python.org/file35885/python.dev.full.diff ___ Python tracker ___ _

[issue21934] OpenBSD has no /dev/full device

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: I would prefer a decorator checking if a device exists, something like: @requires_character_device('/dev/full') It would always skip on Windows. Implement it in test_support.py. -- nosy: +haypo ___ Python tracker <

[issue21907] Update Windows build batch scripts

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: With a vote and a half in favor, I'll go ahead with this probably later today. There is one change needed to the `clean` script; the `hg purge` call should ignore Lib/test/data to avoid downloading the codecmaps test files every time. I may backport to 3.4 and

[issue21680] asyncio: document event loops

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: Oh, it looks like the proactor event loop doesn't support datagram protocol. -- ___ Python tracker ___ _

[issue21518] Expose RegUnloadKey in winreg

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: I'd like to see the windows_helper.py part of the patch split into its own issue, and someone more qualified than I to review it (though I'll learn what I can and give it a shot if nobody else can). The new issue should also try to use the new windows_helper ut

[issue21518] Expose RegUnloadKey in winreg

2014-07-07 Thread Claudiu Popa
Claudiu Popa added the comment: Sure, that sounds good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue20420] BufferedIncrementalEncoder violates IncrementalEncoder interface

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: IncrementalNewlineDecoder requires that decoder state is integer (C implementation requires at most 63-bit unsigned integer). TextIOWrapper requires that decoder state is at most 64-bit unsigned integer (only 63-bit if universal newlines is enabled). --

[issue12808] Coverage of codecs.py

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue20420. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailin

[issue21781] make _ssl module 64-bit clean

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: This appears to have broken 64-bit Windows: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/4745 -- nosy: +zach.ware resolution: fixed -> status: closed -> open ___ Python tracker

[issue21866] zipfile.ZipFile.close() doesn't respect allowZip64

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: An offset is checked in write() and writestr() methods and an exception is raised if an offset is >= 2 GiB and ZIP64 extension is not allowed. I don't see a possibility for a bug. -- status: open -> pending ___ Py

[issue10289] Document magic methods called by built-in functions

2014-07-07 Thread Andy Maier
Andy Maier added the comment: Comments on the patch py34_v2: 1. On complex(): It delegates to object.__complex__(); that should also be described. 2. On hex(): The use of "__index__()" is text and should be changed to a hyperlink. Andy -- ___ Pyt

[issue9267] Update pickle opcode documentation in pickletools for 3.x

2014-07-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> docs@python nosy: +docs@python -serhiy.storchaka versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker ___ __

[issue9571] argparse: Allow the use of -- to break out of nargs and into subparser

2014-07-07 Thread paul j3
paul j3 added the comment: This patch modifies that '--' handling from 13922, removing '--' from PARSER and REMAINDER if it is the first string: if action.nargs not in [PARSER, REMAINDER]: try: arg_strings.remove('--') except ValueError:

[issue13922] argparse handling multiple "--" in args improperly

2014-07-07 Thread paul j3
paul j3 added the comment: http://bugs.python.org/issue9571 proposes a refinement to this patch - drop the '--' from PARSER and REMAINDER nargs if it is the 1st string. -- ___ Python tracker __

[issue10289] Document magic methods called by built-in functions

2014-07-07 Thread Andy Maier
Andy Maier added the comment: I reviewed the description of the built-in functions in Python 2.7, and found these issues: 1. The following built-in functions do not mention their underyling __special__ functions: - cmp() - delattr(), getattr(), hasattr(), setattr() - complex(), int(), long(),

[issue2771] Test issue

2014-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: test -- resolution: later -> not a bug Added file: http://bugs.python.org/file35887/issue18958-2.diff ___ Python tracker ___ __

[issue15133] tkinter.BooleanVar.get() behavior and docstring disagree

2014-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, what do you think is the proper disposition of this issue *now*? -- nosy: +serhiy.storchaka versions: -Python 3.2, Python 3.3 ___ Python tracker __

[issue21888] plistlib.FMT_BINARY behavior doesn't send required dict parameter

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. -- stage: test needed -> patch review Added file: http://bugs.python.org/file35888/plistlib_explicit_fmt.path ___ Python tracker

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy: we are having a problem with tkinter sometimes reporting boolean vars as '0' and '1' versus 0 and 1. As I remember, you pushed a patch about this in the last year, probably before 3.4 came out, but after last August. Am I correct? If so, do you rememb

[issue10289] Document magic methods called by built-in functions

2014-07-07 Thread Mark Dickinson
Mark Dickinson added the comment: Should the Python 2.7 delegation of `round` to `__float__` for its input also be described as part of this issue? >>> class A(object): ... def __float__(self): return 1729.1 ... >>> round(A()) 1729.0 -- nosy: +mark.dickinson _

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >The interesting question is why the Debian 3.4 system is different? That is what caused me to notice the issue. I ran the IDLE test suite on my pc(debian 7) and it failed, while most buildbots were "green". >Why is it acting like 2.7? Serhiy, do you have

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Removed file: http://bugs.python.org/file35883/issue18592-fix.diff ___ Python tracker ___ ___ Python-bugs-list

[issue10289] Document magic methods called by built-in functions

2014-07-07 Thread Mark Lawrence
Mark Lawrence added the comment: Could #15436 "__sizeof__ is not documented" also be covered by this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: What micro tk version? as in >>> t = tk.Tk() >>> t.tk.call('info', 'patchlevel') '8.5.15' -- ___ Python tracker ___ ___

[issue21866] zipfile.ZipFile.close() doesn't respect allowZip64

2014-07-07 Thread Benjamin Gilbert
Benjamin Gilbert added the comment: Here are the cases where close() will generate a ZIP64 archive and an exception will never be raised: 1. There are more than 65535 files in the archive. 2. The start of the central directory is at > 2 GB. 3. The central directory size is > 2 GB. #1 could b

[issue21597] Allow turtledemo code pane to get wider.

2014-07-07 Thread Lita Cho
Changes by Lita Cho : Added file: http://bugs.python.org/file35890/turtledemo_pane_scroll_SOLID.patch ___ Python tracker ___ ___ Python-bugs-l

[issue21597] Allow turtledemo code pane to get wider.

2014-07-07 Thread Lita Cho
Lita Cho added the comment: Hi Terry, So the shadow can easily be removed. I just went with the default sashrelief style. I am going to attach two patches with different sashrelief styles, both of which don't have the shadow. -- Added file: http://bugs.python.org/file35889/turtledemo_

[issue21597] Allow turtledemo code pane to get wider.

2014-07-07 Thread Lita Cho
Lita Cho added the comment: I personally like the FLAT look because it matches with the rest of the GUI. -- ___ Python tracker ___ ___

[issue20328] mailbox: add method to delete mailbox

2014-07-07 Thread Jonathan Dowland
Jonathan Dowland added the comment: Hi, sorry for the long silence on this issue. I've had a few things going on. Anyway, I didn't want to forget all about this; I've been working on it in two phases. Phase 1 adds delete methods; Phase 2 handles non-existent mailboxes. Please find attached my

[issue20328] mailbox: add method to delete mailbox

2014-07-07 Thread Jonathan Dowland
Jonathan Dowland added the comment: another test -- Added file: http://bugs.python.org/file35893/0003-test-for-deletion-of-sub-folders.patch ___ Python tracker ___ _

[issue20328] mailbox: add method to delete mailbox

2014-07-07 Thread Jonathan Dowland
Jonathan Dowland added the comment: patch adding tests -- Added file: http://bugs.python.org/file35892/0002-add-tests-for-deleting-Maildir-and-singleFileMailbox.patch ___ Python tracker ___

[issue21707] modulefinder uses wrong CodeType signature in .replace_paths_in_code()

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8deaac44ed4 by Berker Peksag in branch '3.4': Issue #21707: Fix tests on Windows. http://hg.python.org/cpython/rev/f8deaac44ed4 New changeset e66c387da81b by Berker Peksag in branch 'default': Issue #21707: Merge with 3.4. http://hg.python.org/cpyt

[issue21907] Update Windows build batch scripts

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3022e2606df by Zachary Ware in branch 'default': Issue #21907: Improved the batch scripts provided for building Python. http://hg.python.org/cpython/rev/c3022e2606df -- nosy: +python-dev ___ Python track

[issue21907] Update Windows build batch scripts

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed3fa77804f8 by Zachary Ware in branch 'default': Issue #21907: Update the instructions for building on Windows http://hg.python.org/devguide/rev/ed3fa77804f8 -- ___ Python tracker

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: This should be fixed by #21907 for 3.5, at least; other versions can either have #21907 backported (in whole or in part), or continue to live with it (like they have for the past 4 years). -- assignee: -> zach.ware resolution: -> fixed stage: -> resol

[issue9822] windows batch files are dependent on cmd current directory

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: Fixed by #21907. -- assignee: -> zach.ware resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> Update Windows build batch scripts versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue10583] Encoding issue with chm help in 2.7.1

2014-07-07 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see this in 3.4.1. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16040] nntplib: unlimited readline() from connection

2014-07-07 Thread Francis MB
Francis MB added the comment: Just a small detail on the patches, they seem to have a typo (lenght vs. length) on the line: >> reading arbitrary lenght lines. RFC 3977 limits NNTP line length to -- nosy: +francismb ___ Python tracker

[issue17846] Building Python on Windows - Supplementary info

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb3f1afcd082 by Zachary Ware in branch '3.4': Issue #17846: Clarify note about Solution Folders. http://hg.python.org/cpython/rev/bb3f1afcd082 New changeset 39f9cd7ad19a by Zachary Ware in branch 'default': Issue #17846: Merge with 3.4 http://hg.pyt

[issue17846] Building Python on Windows - Supplementary info

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 369891476cf8 by Zachary Ware in branch 'default': Issue #17846: Add a note about solution folders with VS Express. http://hg.python.org/devguide/rev/369891476cf8 -- ___ Python tracker

[issue17846] Building Python on Windows - Supplementary info

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: Issue #21907 changed how things are done somewhat, and has made PCbuild/build.bat the new obvious place to go for building Python from the command line; the devguide has been updated to reflect that (although I may have missed a place to update). What else stil

[issue21781] make _ssl module 64-bit clean

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34a0d98c51ea by Victor Stinner in branch '3.4': Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires http://hg.python.org/cpython/rev/34a0d98c51ea New changeset 1dca2e7ad5ad by Victor Stinner in branch 'default': (Merge 3.4)

[issue21781] make _ssl module 64-bit clean

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: > This appears to have broken 64-bit Windows Correct, I missed a call to Py_BuildValue() which uses the s# format. It's now fixed. Thanks for the report! I keep the issue open until the buildbot turns green again. -- _

[issue21922] PyLong: use GMP

2014-07-07 Thread Hristo Venev
Hristo Venev added the comment: After optimization, tests on small ints (< 2**30) Currently only addition, subtraction, negation and ~ are a bit slower (< 5%). Most other operations are the same. Bitwise operators, //, %, ** and pow are faster. Converting to and from strings is a bit faster.

[issue21922] PyLong: use GMP

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: IMO you must discuss the GMP license on the python-dev mailing list since we wrote that if the GMP patch is accepted, it will not be optional and so affect all platforms. -- ___ Python tracker

[issue17652] Add skip_on_windows decorator to test.support

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: """It might be interesting to see a patch that converts current "@skipIf(sys.platform == 'win32' or os.name == 'nt')" instances to "@skip_on_windows" to see just what kind of difference it makes, but I'm honestly more interested in seeing how many different wa

[issue21907] Update Windows build batch scripts

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0a5be139717 by Zachary Ware in branch 'default': Issue #21907: Exit with the correct return code http://hg.python.org/cpython/rev/f0a5be139717 -- ___ Python tracker _

[issue10583] Encoding issue with chm help in 2.7.1

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: I do in 2.7.8, though. This appears to have been a Sphinx issue (likely caused by HTML Help's lack of Unicode support), introduced sometime between Sphinx versions 0.6.5 and 0.6.7, and fixed sometime between versions 1.1.3 and 1.2.2. -- nosy: +zach.ware

[issue21781] make _ssl module 64-bit clean

2014-07-07 Thread Zachary Ware
Zachary Ware added the comment: Looks good now, thanks for the quick fix, Victor! -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.4 ___ Python tracker

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I pushed a patch which fixed Text.debug(). This is not related to this issue. grid_info() values are depend on Tcl/Tk version. When < 8.6 strings are always returned (except the 'in' key which is special case), when >= 8.6 values can be integers or even tupl

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-07 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-07 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: @terry would a change like this be accepted in 2.7 and 3.4? -- ___ Python tracker ___ ___ Pyth

[issue20858] Enhancements/fixes to pure-python datetime module

2014-07-07 Thread Brian Kearns
Brian Kearns added the comment: Updated patch, now it also caches the result of __hash__ like the C accelerator. -- Added file: http://bugs.python.org/file35894/datetime-py35.patch ___ Python tracker __

[issue21935] Implement AUTH command in smtpd.

2014-07-07 Thread Milan Oberkirch
New submission from Milan Oberkirch: I implemented message processing for LOGIN and PLAIN authentication in smtpd. I also patched test_smtplib to make use of this functionality. The goal for the API is to provide decryption and message processing in the smtpd library and call a externally prov

[issue21925] ResouceWarning sometimes doesn't display

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: The problem is tricky. The modules are deleted in a random order at exit. The problem is that showing the warning requires to import the linecache module. But during Python finalization, we may or may not be able to import modules. Py_Finalize() calls PyImpor

[issue21925] ResouceWarning sometimes doesn't display

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 047da19efdab by Victor Stinner in branch '3.4': Issue #21925: PyImport_Cleanup(): Remove unused parameter in http://hg.python.org/cpython/rev/047da19efdab New changeset b255ecb175c4 by Victor Stinner in branch 'default': (Merge 3.4) Issue #21925: Py

[issue21925] ResouceWarning sometimes doesn't display

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: I don't know if it's the best trick, but here is a patch to unload the __main__ module first in PyImport_Cleanup(). -- keywords: +patch Added file: http://bugs.python.org/file35896/unload_main_first.patch ___ Python

[issue15133] tkinter.BooleanVar.get() behavior and docstring disagree

2014-07-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have no strong opinion. Definitely getboolean() (and other getXXX) is not consistent. The question is what should getboolean (and BooleanVar.get) always return, bool or int? Note that since 8.6 Tcl doesn't use special boolean type internally and use intege

[issue21936] test_future_exception_never_retrieved() of test_asyncio fails on AMD64 Debian root 3.x

2014-07-07 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/915/steps/test/logs/stdio == FAIL: test_future_exception_never_retrieved (test.test_asyncio.test_futures.FutureTests

[issue21936] test_future_exception_never_retrieved() of test_asyncio fails on AMD64 Debian root 3.x

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: Oh, this failure is probably a side effect of new logs emited by test_asyncio because of #21163. The issue #21163 has a pending patch which is waiting for a review ;-) -- ___ Python tracker

[issue21936] test_future_exception_never_retrieved() of test_asyncio fails on AMD64 Debian root 3.x

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: > The issue #21163 has a pending patch which is waiting for a review ;-) Oops, wrong: I already commited the part of the patch which was correct, but wait() and gather() have no updated patch yet. -- ___ Python trac

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-07 Thread Eric V. Smith
Eric V. Smith added the comment: I don't think we can change the exception type in a bugfix release, if ever. I don't see much point in changing the exception type: it's just churn. I'm +1 for a better error message. I'm -0 on changing the error message in a bugfix release. -- __

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8c9dd2626aa by Victor Stinner in branch '3.4': Issue #12523: asynchat.async_chat.push() now raises a TypeError if it doesn't http://hg.python.org/cpython/rev/f8c9dd2626aa New changeset 4b29d338cc41 by Victor Stinner in branch 'default': (Merge 3.4)

  1   2   >