[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-15 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

AFAIK, bytes(int) is a remnant from times when bytes was mutable. Then bytes 
was split to non-mutable bytes and mutable bytearray and this constructor was 
forgotten. I'm +0 for deprecation.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20895
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20491] textwrap: Non-breaking space not honored

2014-03-15 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What about other spaces: '\N{OGHAM SPACE MARK}', '\N{EN QUAD}', '\N{EM QUAD}', 
'\N{EN SPACE}', '\N{EM SPACE}', '\N{THREE-PER-EM SPACE}', '\N{FOUR-PER-EM 
SPACE}', '\N{SIX-PER-EM SPACE}', '\N{FIGURE SPACE}', '\N{PUNCTUATION SPACE}', 
'\N{THIN SPACE}', '\N{HAIR SPACE}', '\N{LINE SEPARATOR}', '\N{PARAGRAPH 
SEPARATOR}', '\N{NARROW NO-BREAK SPACE}', '\N{MEDIUM MATHEMATICAL SPACE}', 
'\N{IDEOGRAPHIC SPACE}'? In Python 2 textwrap supported only 8-bit spaces, but 
Python 3 should support full Unicode. And from this side of view the proposed 
patch is a regression.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20491
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20491] textwrap: Non-breaking space not honored

2014-03-15 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
components: +Unicode
nosy: +benjamin.peterson, ezio.melotti, haypo, lemburg

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20491
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20491] textwrap: Non-breaking space not honored

2014-03-15 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20491
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20920] Turtle module transparency.

2014-03-15 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Tk supports alpha only for photo images and as an attribute of top-level 
window. It doesn't support alpha component in colors.

   The desired color is specified with an object whose string  value
   must have one of the following forms:

   colorname   Any  of the valid textual names for a color defined
   in the server's color database file, such as red or
   PeachPuff.
  
   #RGB
   
   #RRGGBB

   #RRRGGGBBB

   #   A numeric specification of the red, green, and blue
   intensities to use to display the color.   Each  R,
   G, or B represents a single hexadecimal digit.  The
   four forms  permit  colors  to  be  specified  with
   4-bit,  8-bit, 12-bit or 16-bit values.  When fewer
   than 16 bits are provided for each color, they rep-
   resent  the  most  significant  bits  of the color,
   while the lower unfilled bits  will  be  repeatedly
   replicated  from  the  available  higher bits.  For
   example, #3a7 is the same as #.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20920
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17188] Document 'from None' in raise statement doc.

2014-03-15 Thread Nitika Agarwal

Changes by Nitika Agarwal nitikaagarwa...@gmail.com:


Removed file: http://bugs.python.org/file34431/issue17188.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17188] Document 'from None' in raise statement doc.

2014-03-15 Thread Nitika Agarwal

Changes by Nitika Agarwal nitikaagarwa...@gmail.com:


Added file: http://bugs.python.org/file34432/issue17188.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20921] DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead st = os.stat(path)

2014-03-15 Thread Pramod Jadhav

Pramod Jadhav added the comment:

Traceback (most recent call last):
  File console, line 1, in module
  File C:\Python33\lib\site-packages\django\db\models\query.py, line 74, in 
__repr__
return repr(data)
  File C:\Python33\lib\site-packages\django\db\models\base.py, line 423, in 
__repr__
u = six.text_type(self)
  File C:\work\datafootprint\loksabha\models.py, line 62, in __str__
self.term,
AttributeError: 'Loksabha' object has no attribute 'term'

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20921
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-15 Thread Jovik

Jovik added the comment:

I'm quite aware of the os.sep issues between the systems, but I checked both 
out of curiosity. Here are latest results:

All of the following commands raises the same exception:
 proc = subprocess.Popen(plink, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace)
 proc = subprocess.Popen(plink, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace\\)
 proc = subprocess.Popen(.\plink, stdout=subprocess.PIPE, 
 cwd=c:\python33\workspace)
 proc = subprocess.Popen(.\\plink, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace)
 proc = subprocess.Popen(plink, stdout=subprocess.PIPE, 
 cwd=c:/python33/workspace)

Traceback (most recent call last):
  File C:\Python33\lib\subprocess.py, line 1104, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File stdin, line 1, in module
  File C:\Python33\lib\subprocess.py, line 819, in __init__
restore_signals, start_new_session)
  File C:\Python33\lib\subprocess.py, line 1110, in _execute_child
raise WindowsError(*e.args)
FileNotFoundError: [WinError 2] The system cannot find the file specified

But, when I set shell=True, then everything works just fine:
 proc = subprocess.Popen(plink, stdout=subprocess.PIPE, 
 cwd=c:\python33\workspace, shell=True)
 proc = subprocess.Popen(.\plink, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace, shell=True)
 proc = subprocess.Popen(.\\plink, stdout=subprocess.PIPE, 
 cwd=c:\\python33\\workspace, shell=True)
 proc = subprocess.Popen(plink, stdout=subprocess.PIPE, 
 cwd=c:/python33/workspace, shell=True)
I can get plink's output afterwards with proc.communicate()

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20934] test_multiprocessing is broken by design

2014-03-15 Thread Andreas Schwab

New submission from Andreas Schwab:

This comment say it all:

CHECK_TIMINGS = False # making true makes tests take a lot longer
  # and can sometimes cause some non-serious
  # failures because some calls block a bit
  # longer than expected

If the failures happen due to different timeouts then the test is broken by 
design.

--
components: Tests
messages: 213646
nosy: schwab
priority: normal
severity: normal
status: open
title: test_multiprocessing is broken by design
type: behavior
versions: Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20934
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20934] test_multiprocessing is broken by design

2014-03-15 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +sbt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20934
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20849] add exist_ok to shutil.copytree

2014-03-15 Thread Alexander Mohr

Alexander Mohr added the comment:

Ya. The original request I think is ok because by allowing that flag it
will replace files and dirs.
On Mar 14, 2014 7:15 PM, R. David Murray rep...@bugs.python.org wrote:


 R. David Murray added the comment:

 I don't know what the method already allows for existing files means.
  Since the target directory can't exist, there can be no existing files.

 In unix, this kind of capability is provided by a combination of shell
 globbing and 'cp -r', and by default it does replace existing files.  So it
 would be reasonable for exists_ok to mean exactly that: replace anything
 that currently exists, if it does.

 I think that would be a reasonable API, but the implementation isn't as
 simple as just passing through the exists_ok flag to makedirs.

 I do not think that *just* making it OK for the destination directory to
 exist would be a good API.

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue20849
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20849
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12901] Nest class/methods directives in documentation

2014-03-15 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
resolution:  - works for me
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12901
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20928] xml.etree.ElementInclude does not include nested xincludes

2014-03-15 Thread Stefan Behnel

Stefan Behnel added the comment:

Agreed that this should be done. The XInclude spec suggests that the processing 
is transitive. Also, lxml does it that way, in both the libxml2 based 
implementation and the ElementInclude compatibility module.

https://github.com/lxml/lxml/blob/master/src/lxml/ElementInclude.py

(note that this was adapted for lxml, so it's not a drop-in replacement for ET 
anymore)

Changing target version to Py3.5 as this is essentially a new (and somewhat 
backwards incompatible) feature.

--
versions: +Python 3.5 -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20928
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20934] test_multiprocessing is broken by design

2014-03-15 Thread Antoine Pitrou

Antoine Pitrou added the comment:

When relying on the timeout feature of various system APIs (e.g. waiting on a 
semaphore), there isn't much of an alternative to actually waiting a certain 
amount of time, and measuring the resulting delay. Other tests in the stdlib do 
this, which is indeed fragile, but better than not testing at all.

See Victor's recent issue20910, Make sleep configurable in tests.

--
nosy: +haypo, pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20934
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-15 Thread Eric V. Smith

Eric V. Smith added the comment:

In the first example, you switch from ./app to app.exe when using 
shell=True.

What happens to any of your examples if you add .exe without shell=True?

Popen eventually calls CreateProcess on Windows. From: 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx, 
describing the lpApplicationName  parameter: This parameter must include the 
file name extension; no default extension is assumed.

Running the shell though, you don't need the extension.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-15 Thread Eric V. Smith

Eric V. Smith added the comment:

Assuming this is the problem, we should at least document this. It does make 
cross-platform coding difficult.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20212] distutils: fix build_ext check to find whether we're building Python or not

2014-03-15 Thread Roumen Petrov

Roumen Petrov added the comment:

actually proposed fix is my patch from 17219 with long history before.

--
nosy: +rpetrov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20212
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20212] distutils: fix build_ext check to find whether we're building Python or not

2014-03-15 Thread Roumen Petrov

Roumen Petrov added the comment:

P.S. two patches posted to Issue17219 are for master branch as second one 
should apply cleanly to current.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20212
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20898] Missing 507 response description

2014-03-15 Thread Daniel Andrade Groppe

Daniel Andrade Groppe added the comment:

Added missing constants and response status codes:
Constants:
ALREADY_REPORTED, PERMANENT_REDIRECT, LOOP_DETECTED

Response status codes:
102, 207, 208, 226, 308, 422, 423, 424, 426, 507, 508

--
components: +Extension Modules -Library (Lib)
keywords: +patch
nosy: +Daniel.Andrade.Groppe
type: behavior - enhancement
Added file: http://bugs.python.org/file34433/issue20898.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20898
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-15 Thread Kathleen Weaver

Changes by Kathleen Weaver kathl...@kweaver.org:


--
nosy: +kathweaver

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18931] new selectors module should support devpoll on Solaris

2014-03-15 Thread Yury Selivanov

Changes by Yury Selivanov yselivanov...@gmail.com:


--
nosy: +yselivanov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17846] Building Python on Windows - Supplementary info

2014-03-15 Thread Kathleen Weaver

Kathleen Weaver added the comment:

I've gone through and followed the online directions.  They do allow the person 
following the directions to build Python.  

My question:  I assume that isn't sufficient to really build a patch.

The readme has directions that includes the information that is below.  I 
haven't gone through those directions yet.

My question: Do we want those directions both places?  I personally think they 
should be online, and have the readme refer to the online directions, but what 
is the thought of the community?  I think it is redundant to do it in both 
places.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17846
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16716] Deprecate OSError aliases in the doc

2014-03-15 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16716
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-15 Thread Ethan Furman

Ethan Furman added the comment:

Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.

-- bytes(5)
'5'

-- bytearray(5)
bytearray(b'\x00\x00\x00\x00\x00')
--

Creating a buffer of null bytes makes sense for bytearray, which is mutable; it 
does not make sense, and IMHO only causes confusion, to have bytes return an 
/immutable/ sequence of zero bytes.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20895
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20910] Make sleep configurable in tests

2014-03-15 Thread Andreas Schwab

Andreas Schwab added the comment:

test_io.CSignalsTest.check_interrupted_write can fail in an emulated 
environment when the alarm races with the write call.

--
nosy: +schwab

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20910
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20933] bad test case in test_osx_proxy_bypass (test.test_urllib2.HandlerTests)

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6a78bbd0fda4 by R David Murray in branch '3.3':
#20933: At least one place maps 'test' to 'localhost'...fix test.
http://hg.python.org/cpython/rev/6a78bbd0fda4

New changeset 586de8d96817 by R David Murray in branch 'default':
Merge: #20933: At least one place maps 'test' to 'localhost'...fix test.
http://hg.python.org/cpython/rev/586de8d96817

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20933
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20910] Make sleep configurable in tests

2014-03-15 Thread Andreas Schwab

Andreas Schwab added the comment:

Also, sometimes tests fail in non-verbose mode, but succeed in verbose mode.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20910
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20933] bad test case in test_osx_proxy_bypass (test.test_urllib2.HandlerTests)

2014-03-15 Thread R. David Murray

R. David Murray added the comment:

Fix looks good to me, thanks.  I changed the name to be a bit more descriptive, 
and wrapped the line to less than 80 characters.

--
nosy: +r.david.murray
stage:  - committed/rejected
status: open - closed
type:  - behavior
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20933
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule

2014-03-15 Thread Jeffrey Walton

New submission from Jeffrey Walton:

From Python head in mercurial.

When building Python under Clang's sanitizers, we provide a couple of flags to 
instrument binaries with the sanitizers. For example:

export CC=/usr/local/bin/clang
export CXX=/usr/local/bin/clang++
export CFLAGS=-g3 -fsanitize=undefined -fsanitize=address
export CXXFLAGS=-g3 -fsanitize=undefined -fsanitize=address -fno-sanitize=vptr
./configure
make

However, `make` will fail due to some missing sanitizer libraries. The 
libraries are added at the link stage by Clang, but the invocation must include 
the -fsanitize=... flags.

The recipe for $(BUILDPYTHON) in the Makefile does not include necessary CFLAGS:

# Build the interpreter
$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/python.o 
$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)

The result is a failed link when building with the sanitizers.

It would be great if the sanizter flags (-fsanitize=undefined 
-fsanitize=address -fno-sanitize=vptr) were cherry picked from the FLAGS by the 
build system and added to the recipe as required:

$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
$(LINKCC) -fsanitize=undefined -fsanitize=address -fno-sanitize=vptr 
$(PY_LDFLAGS) $(LINKFORSHARED) ...

Please consider picking up the sanitizer flags and adding them to the build 
rule.

--
components: Build
hgrepos: 220
messages: 213661
nosy: Jeffrey.Walton
priority: normal
severity: normal
status: open
title: Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule

2014-03-15 Thread Jeffrey Walton

Jeffrey Walton added the comment:

And:

Modules/_testembed: Modules/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
$(LINKCC) -g3 -fsanitize=address $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ 
Modules/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20930] Debian 7.3: This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG

2014-03-15 Thread Benjamin Peterson

Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:


--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20930
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule

2014-03-15 Thread Jeffrey Walton

Jeffrey Walton added the comment:

And:

Modules/_freeze_importlib: Modules/_freeze_importlib.o 
$(LIBRARY_OBJS_OMIT_FROZEN)
$(LINKCC) -g3 -fsanitize=address $(PY_LDFLAGS) -o $@ 
Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) 
$(SYSLIBS) $(LDLAST)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20921] DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead st = os.stat(path)

2014-03-15 Thread R. David Murray

R. David Murray added the comment:

Please post on the python-list mailing list asking for help on either 
understanding your problem or formulating it into a bug report that we can act 
on.  In the meantime I'm going to close the issue as invalid, but you can 
reopen it if you can explain what the problem is.

--
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20921
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread R. David Murray

R. David Murray added the comment:

How about Interpreter Improvements?  The marshall format change isn't exactly 
a behavior change, but other implementations will need to be able to cope with 
it.  Or should that be moved to Library changes?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20936] test_strftime: enormous allocation, fails under Clang sanitizer

2014-03-15 Thread Jeffrey Walton

New submission from Jeffrey Walton:

From Python head in mercurial:

$ hg id
7ce22d0899e4+ tip

[118/389/1] test_strftime
==11587==WARNING: AddressSanitizer failed to allocate 0x7fff bytes
==11587==AddressSanitizer's allocator is terminating the process instead of 
returning 0
==11587==If you don't like this behavior set allocator_may_return_null=1
==11587==AddressSanitizer CHECK failed: 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:149
 ((0)) != (0) (0x0, 0x0)
#0 0x4d79df in __asan::AsanCheckFailed(char const*, int, char const*, 
unsigned long long, unsigned long long) 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/asan/asan_rtl.cc:66
#1 0x4dd241 in __sanitizer::CheckFailed(char const*, int, char const*, 
unsigned long long, unsigned long long) 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:69
#2 0x4dbf80 in __sanitizer::AllocatorReturnNull() 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:149
#3 0x4d1a76 in malloc 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:75
#4 0x7c8140 in _buffered_init 
/home/jwalton/Desktop/cpython-checkout/./Modules/_io/bufferedio.c:772
#5 0x7c6888 in bufferedreader_init 
/home/jwalton/Desktop/cpython-checkout/./Modules/_io/bufferedio.c:1424
#6 0x5b06e8 in wrap_init 
/home/jwalton/Desktop/cpython-checkout/Objects/typeobject.c:5293
#7 0x4fd729 in PyObject_Call 
/home/jwalton/Desktop/cpython-checkout/Objects/abstract.c:2067
#8 0x6642d6 in ext_do_call 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4551
#9 0x6642d6 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2869
#10 0x670b7a in fast_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4324
#11 0x65fbc8 in call_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4252
#12 0x65fbc8 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2829
#13 0x655a7b in PyEval_EvalCodeEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:3578
#14 0x670cb5 in fast_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4334
#15 0x65fbc8 in call_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4252
#16 0x65fbc8 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2829
#17 0x670b7a in fast_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4324
#18 0x65fbc8 in call_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4252
#19 0x65fbc8 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2829
#20 0x655a7b in PyEval_EvalCodeEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:3578
#21 0x84c177 in function_call 
/home/jwalton/Desktop/cpython-checkout/Objects/funcobject.c:632
#22 0x4fd729 in PyObject_Call 
/home/jwalton/Desktop/cpython-checkout/Objects/abstract.c:2067
#23 0x6642d6 in ext_do_call 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4551
#24 0x6642d6 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2869
#25 0x655a7b in PyEval_EvalCodeEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:3578
#26 0x84c177 in function_call 
/home/jwalton/Desktop/cpython-checkout/Objects/funcobject.c:632
#27 0x4fd729 in PyObject_Call 
/home/jwalton/Desktop/cpython-checkout/Objects/abstract.c:2067
#28 0x830dcc in method_call 
/home/jwalton/Desktop/cpython-checkout/Objects/classobject.c:347
#29 0x4fd729 in PyObject_Call 
/home/jwalton/Desktop/cpython-checkout/Objects/abstract.c:2067
#30 0x5ae10f in slot_tp_call 
/home/jwalton/Desktop/cpython-checkout/Objects/typeobject.c:5809
#31 0x4fd729 in PyObject_Call 
/home/jwalton/Desktop/cpython-checkout/Objects/abstract.c:2067
#32 0x6653a0 in do_call 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4456
#33 0x6653a0 in call_function 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4254
#34 0x6653a0 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2829
#35 0x655a7b in PyEval_EvalCodeEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:3578
#36 0x84c177 in function_call 
/home/jwalton/Desktop/cpython-checkout/Objects/funcobject.c:632
#37 0x4fd729 in PyObject_Call 
/home/jwalton/Desktop/cpython-checkout/Objects/abstract.c:2067
#38 0x6642d6 in ext_do_call 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:4551
#39 0x6642d6 in PyEval_EvalFrameEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:2869
#40 0x655a7b in PyEval_EvalCodeEx 
/home/jwalton/Desktop/cpython-checkout/Python/ceval.c:3578
#41 0x84c177 in function_call 
/home/jwalton/Desktop/cpython-checkout/Objects/funcobject.c:632
#42 0x4fd729 in PyObject_Call 

[issue20937] test_socket: buffer overflow in sock_recvmsg_guts

2014-03-15 Thread Jeffrey Walton

New submission from Jeffrey Walton:

From Python head in mercurial:

$ hg id
7ce22d0899e4+ tip

Exporting set allocator_may_return_null=1 for Clang might tickle this issue. 
Without the export, this test did not fail.

=
==21071==ERROR: AddressSanitizer: heap-buffer-overflow on address 
0x603b99f4 at pc 0x4aafea bp 0x7fffd2318c70 sp 0x7fffd2318c20
WRITE of size 24 at 0x603b99f4 thread T0
#0 0x4aafe9 in write_msghdr 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:1395
#1 0x4aafe9 in __interceptor_recvmsg 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:1405
#2 0x2ad35b764146 in sock_recvmsg_guts cpython/./Modules/socketmodule.c:2968
#3 0x2ad35b75f83c in sock_recvmsg cpython/./Modules/socketmodule.c:3098
#4 0x6642ba in ext_do_call cpython/./Python/ceval.c:4548
#5 0x6642ba in PyEval_EvalFrameEx cpython/./Python/ceval.c:2869
#6 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#7 0x670cb5 in fast_function cpython/./Python/ceval.c:4334
#8 0x65fbc8 in call_function cpython/./Python/ceval.c:4252
#9 0x65fbc8 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2829
#10 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#11 0x670cb5 in fast_function cpython/./Python/ceval.c:4334
#12 0x65fbc8 in call_function cpython/./Python/ceval.c:4252
#13 0x65fbc8 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2829
#14 0x670b7a in fast_function cpython/./Python/ceval.c:4324
#15 0x65fbc8 in call_function cpython/./Python/ceval.c:4252
#16 0x65fbc8 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2829
#17 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#18 0x84c177 in function_call cpython/./Objects/funcobject.c:632
#19 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#20 0x6642d6 in ext_do_call cpython/./Python/ceval.c:4551
#21 0x6642d6 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2869
#22 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#23 0x84c177 in function_call cpython/./Objects/funcobject.c:632
#24 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#25 0x830dcc in method_call cpython/./Objects/classobject.c:347
#26 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#27 0x5ae10f in slot_tp_call cpython/./Objects/typeobject.c:5809
#28 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#29 0x6653a0 in do_call cpython/./Python/ceval.c:4456
#30 0x6653a0 in call_function cpython/./Python/ceval.c:4254
#31 0x6653a0 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2829
#32 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#33 0x84c177 in function_call cpython/./Objects/funcobject.c:632
#34 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#35 0x6642d6 in ext_do_call cpython/./Python/ceval.c:4551
#36 0x6642d6 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2869
#37 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#38 0x84c177 in function_call cpython/./Objects/funcobject.c:632
#39 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#40 0x830dcc in method_call cpython/./Objects/classobject.c:347
#41 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#42 0x5ae10f in slot_tp_call cpython/./Objects/typeobject.c:5809
#43 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#44 0x6653a0 in do_call cpython/./Python/ceval.c:4456
#45 0x6653a0 in call_function cpython/./Python/ceval.c:4254
#46 0x6653a0 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2829
#47 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#48 0x84c177 in function_call cpython/./Objects/funcobject.c:632
#49 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#50 0x6642d6 in ext_do_call cpython/./Python/ceval.c:4551
#51 0x6642d6 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2869
#52 0x655a7b in PyEval_EvalCodeEx cpython/./Python/ceval.c:3578
#53 0x84c177 in function_call cpython/./Objects/funcobject.c:632
#54 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#55 0x830dcc in method_call cpython/./Objects/classobject.c:347
#56 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#57 0x5ae10f in slot_tp_call cpython/./Objects/typeobject.c:5809
#58 0x4fd729 in PyObject_Call cpython/./Objects/abstract.c:2067
#59 0x6653a0 in do_call cpython/./Python/ceval.c:4456
#60 0x6653a0 in call_function cpython/./Python/ceval.c:4254
#61 0x6653a0 in PyEval_EvalFrameEx cpython/./Python/ceval.c:2829
#62 0x670b7a in fast_function cpython/./Python/ceval.c:4324
#63 0x65fbc8 in call_function cpython/./Python/ceval.c:4252
#64 0x65fbc8 in PyEval_EvalFrameEx 

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2014-03-15 Thread py.user

py.user added the comment:

In proposed patches fix

Skiptest - :exc:`SkipTest`
AssertionError - :exc:`AssertionError`

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18566
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Ned Deily

Ned Deily added the comment:

I think New Features works better.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17188] Document 'from None' in raise statement doc.

2014-03-15 Thread Nitika Agarwal

Changes by Nitika Agarwal nitikaagarwa...@gmail.com:


Removed file: http://bugs.python.org/file34432/issue17188.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17188] Document 'from None' in raise statement doc.

2014-03-15 Thread Nitika Agarwal

Changes by Nitika Agarwal nitikaagarwa...@gmail.com:


Added file: http://bugs.python.org/file34434/issue17188.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16665] doc for builtin hex() is poor

2014-03-15 Thread Jessica McKellar

Jessica McKellar added the comment:

Thanks for the patch, Michael!

There's a small doc build issue with your patch: the note on int shows up 
inside the code block for the examples.

In response to rhettinger's feedback I've attached a slightly more compact 
patch that hits the highlights. I checked that the docs build cleanly with the 
patch and that the output looks visually as expected.

I think both patches are an improvement over the current docs.

= review

--
nosy: +jesstess
stage: needs patch - patch review
Added file: http://bugs.python.org/file34435/issue16665_2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20938] Broken link to editors page in General FAQ

2014-03-15 Thread Ben W.

New submission from Ben W.:

The link to http://www.python.org/editors/ at the bottom of the answer to Is 
Python a good language for beginning programmers? in the General Python FAQ is 
broken.

--
assignee: docs@python
components: Documentation
messages: 213671
nosy: docs@python, lopsided98
priority: normal
severity: normal
status: open
title: Broken link to editors page in General FAQ
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule

2014-03-15 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
nosy: +brett.cannon

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20938] Broken link to editors page in General FAQ

2014-03-15 Thread Ned Deily

Ned Deily added the comment:

Thanks for the report.  This is an issue with the new python.org website.  I've 
opened an issue on the website tracker on your behalf:  
https://github.com/python/pythondotorg/issues/304

--
nosy: +ned.deily
resolution:  - 3rd party
stage:  - committed/rejected
type: enhancement - 
versions:  -Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Support building Python with Clang sanitizer rules

2014-03-15 Thread Ned Deily

Ned Deily added the comment:

(Cherry pick has a special meaning for the release process.)

--
nosy: +ned.deily
title: Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule - 
Support building Python with Clang sanitizer rules

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17110] sys.argv docs should explaining how to handle encoding issues

2014-03-15 Thread Sreepriya Chalakkal

Sreepriya Chalakkal added the comment:

I tried running with Python 3.4 the following code

import sys

print(sys.argv[1])
print(b'bytes')

And I ran as follows trying to run with a different encoding. 
$ python ~/a.py `echo priya|iconv -t latin1`
priya
bytes

There was no unicode encode error generated! Is it because the problem is fixed?

--
nosy: +sreepriya

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17110
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20937] test_socket: buffer overflow in sock_recvmsg_guts

2014-03-15 Thread Jeffrey Walton

Jeffrey Walton added the comment:

This does not look quite right from Modules/sockewtmodule.c.

/* Fill in an iovec for each item, and save the Py_buffer
   structs to release afterwards. */
if (nitems  0  ((iovs = PyMem_New(struct iovec, nitems)) == NULL ||
   (bufs = PyMem_New(Py_buffer, nitems)) == NULL)) {
PyErr_NoMemory();
goto finally;
}

for (; nbufs  nitems; nbufs++) {
if (!PyArg_Parse(PySequence_Fast_GET_ITEM(fast, nbufs),
 w*;recvmsg_into() argument 1 must be an iterable 
 of single-segment read-write buffers,
 bufs[nbufs]))
goto finally;
iovs[nbufs].iov_base = bufs[nbufs].buf;
iovs[nbufs].iov_len = bufs[nbufs].len;
}

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20937
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20900] distutils register command should print text, not bytes repr

2014-03-15 Thread ingrid

ingrid added the comment:

Here is a patch. I made the register show-response format consistent with the 
upload show-response format and added tests for both. Please let me know if you 
have any feedback.

--
keywords: +patch
Added file: http://bugs.python.org/file34436/issue20900.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20900
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-15 Thread Ned Deily

New submission from Ned Deily:

It looks like another change to the new python.org website is breaking another 
test:

==
FAIL: test_geturl (test.test_urllibnet.urlopenNetworkTests)
--
Traceback (most recent call last):
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/test/test_urllibnet.py,
 line 86, in test_geturl
self.assertEqual(gotten_url, URL)
AssertionError: 'https://www.python.org/' != 'http://www.python.org/'
- https://www.python.org/
? -
+ http://www.python.org/

--
components: Tests
messages: 213677
nosy: ned.deily
priority: high
severity: normal
stage: needs patch
status: open
title: test_geturl of test_urllibnet fails with 'https://www.python.org/' != 
'http://www.python.org/'
versions: Python 2.7, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20923] ConfigParser should nested [] in section names.

2014-03-15 Thread Miloš Komarčević

Miloš Komarčević added the comment:

Thanks for the exhaustive explanation.

I did however come across a proprietary application that stores it's 
configuration in an INI like file that exhibits this corner case behaviour with 
section names, hence the suggestion for enhancement.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20923
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20938] Broken link to editors page in General FAQ

2014-03-15 Thread Benjamin Peterson

Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:


--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9b02f23bc129 by Ned Deily in branch '2.7':
Issue #20939: Fix test_geturl failure in test_urllibnet due to
http://hg.python.org/cpython/rev/9b02f23bc129

New changeset 030efedd70ca by Ned Deily in branch '3.3':
Issue #20939: Fix test_geturl failure in test_urllibnet due to
http://hg.python.org/cpython/rev/030efedd70ca

New changeset 9358a41b245b by Ned Deily in branch 'default':
Issue #20939: merge from 3.3
http://hg.python.org/cpython/rev/9358a41b245b

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-15 Thread Ned Deily

Ned Deily added the comment:

The above changes temporarily fix the problem as long as the build include ssl 
support.  We should probably change all of the tests to use some other domain 
that does not redirect to https: www.example.com has been suggested.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20938] Broken link to editors page in General FAQ

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 772404a89b88 by Benjamin Peterson in branch '2.7':
send people to the right editors page (#20938)
http://hg.python.org/cpython/rev/772404a89b88

New changeset 014c2a62c168 by Benjamin Peterson in branch '3.3':
send people to the right editors page (#20938)
http://hg.python.org/cpython/rev/014c2a62c168

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16665] doc for builtin hex() is poor

2014-03-15 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Approved.  You can go ahead and apply this.

--
assignee: rhettinger - jesstess

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20940] Test 239: buffer overflow in sock_recvmsg_guts

2014-03-15 Thread Jeffrey Walton

New submission from Jeffrey Walton:

Test 240 also suffers from a buffer overflow on sock_recvmsg_guts.

Test 240 is the test that follows 239, and 239 is [239/389/2] test_unittest. 
(I don't believe the message for 239 has flushed).

=
==29767==ERROR: AddressSanitizer: heap-buffer-overflow on address 
0x603c0ce4 at pc 0x4aafea bp 0x7fff4c426010 sp 0x7fff4c425fc0
WRITE of size 24 at 0x603c0ce4 thread T0
#0 0x4aafe9 in write_msghdr 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:1395
#1 0x4aafe9 in __interceptor_recvmsg 
/home/jwalton/Desktop/clang-3.4/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:1405
#2 0x2b955a764166 in sock_recvmsg_guts ./Modules/socketmodule.c:2968
#3 0x2b955a75f856 in sock_recvmsg ./Modules/socketmodule.c:3098
#4 0x6642ea in ext_do_call ./Python/ceval.c:4548
#5 0x6642ea in PyEval_EvalFrameEx ./Python/ceval.c:2869
#6 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#7 0x670ce5 in fast_function ./Python/ceval.c:4334
#8 0x65fbf8 in call_function ./Python/ceval.c:4252
#9 0x65fbf8 in PyEval_EvalFrameEx ./Python/ceval.c:2829
#10 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#11 0x670ce5 in fast_function ./Python/ceval.c:4334
#12 0x65fbf8 in call_function ./Python/ceval.c:4252
#13 0x65fbf8 in PyEval_EvalFrameEx ./Python/ceval.c:2829
#14 0x670baa in fast_function ./Python/ceval.c:4324
#15 0x65fbf8 in call_function ./Python/ceval.c:4252
#16 0x65fbf8 in PyEval_EvalFrameEx ./Python/ceval.c:2829
#17 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#18 0x84c1a7 in function_call ./Objects/funcobject.c:632
#19 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#20 0x664306 in ext_do_call ./Python/ceval.c:4551
#21 0x664306 in PyEval_EvalFrameEx ./Python/ceval.c:2869
#22 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#23 0x84c1a7 in function_call ./Objects/funcobject.c:632
#24 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#25 0x830dfc in method_call ./Objects/classobject.c:347
#26 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#27 0x5ae13f in slot_tp_call ./Objects/typeobject.c:5809
#28 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#29 0x6653d0 in do_call ./Python/ceval.c:4456
#30 0x6653d0 in call_function ./Python/ceval.c:4254
#31 0x6653d0 in PyEval_EvalFrameEx ./Python/ceval.c:2829
#32 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#33 0x84c1a7 in function_call ./Objects/funcobject.c:632
#34 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#35 0x664306 in ext_do_call ./Python/ceval.c:4551
#36 0x664306 in PyEval_EvalFrameEx ./Python/ceval.c:2869
#37 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#38 0x84c1a7 in function_call ./Objects/funcobject.c:632
#39 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#40 0x830dfc in method_call ./Objects/classobject.c:347
#41 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#42 0x5ae13f in slot_tp_call ./Objects/typeobject.c:5809
#43 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#44 0x6653d0 in do_call ./Python/ceval.c:4456
#45 0x6653d0 in call_function ./Python/ceval.c:4254
#46 0x6653d0 in PyEval_EvalFrameEx ./Python/ceval.c:2829
#47 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#48 0x84c1a7 in function_call ./Objects/funcobject.c:632
#49 0x4fd729 in PyObject_Call ./Objects/abstract.c:2067
#50 0x664306 in ext_do_call ./Python/ceval.c:4551
#51 0x664306 in PyEval_EvalFrameEx ./Python/ceval.c:2869
#52 0x655aab in PyEval_EvalCodeEx ./Python/ceval.c:3578
#53 0x84c1a7 in function_call ./Objects/funcobject.c:632

[Missing remainder of trace]

--
components: Tests
hgrepos: 222
messages: 213683
nosy: Jeffrey.Walton
priority: normal
severity: normal
status: open
title: Test 239: buffer overflow in sock_recvmsg_guts
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20940
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20902] Which operand is preferred by set operations? Missing information in the documentation

2014-03-15 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Thanks Terry.  

And yes, your reading of the set.update() docs is correct, Update the set, 
adding elements from all others means that it updates the set by adding the 
elements from the other sets.

FWIW, getting into details about which value wins goes against the core 
concept of the data structure.  Sets (in a mathematical sense) are about 
treating elements of an equivalence class as being identical.  We intentionally 
treat {1, 1.1} as being of length one and equal to {1.1, 1} eventhough the 
integer 1 and the float 1.0 are actually distinguishable in ways not tested by 
equality.

This isn't just a concept with sets.  The dict.update() method works similarly 
as does other container operations that depend on a notion of equivalence that 
is independent of other distinctive traits (object identity, attached values, 
type, etc).

--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20902
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16665] doc for builtin hex() is poor

2014-03-15 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions:  -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20941] pytime.c:184 and pytime.c:218: runtime error, outside the range of representable values of type 'long'

2014-03-15 Thread Jeffrey Walton

New submission from Jeffrey Walton:

pytime.c:184: runtime error: value -1e+200 is outside the range of 
representable values of type 'long'

   and

pytime.c:218: runtime error: value -1e+200 is outside the range of 
representable values of type 'long'

It appears the cast on 'intpart' is generating the finding. 'intpart' is a 
double.

*sec = (time_t)intpart;
err = intpart - (double)*sec;
if (err = -1.0 || err = 1.0) {
error_time_t_overflow();
return -1;
}

Shouldn't a range test based on TIME_T_MAX with an epsilon occur first?

--
components: Tests
hgrepos: 223
messages: 213686
nosy: Jeffrey.Walton
priority: normal
severity: normal
status: open
title: pytime.c:184 and pytime.c:218: runtime error, outside the range of 
representable values of type 'long'
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20941
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20923] ConfigParser should nested [] in section names.

2014-03-15 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I see. Perhaps it uses a proprietary .ini reader ;-).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20923
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20920] Turtle module transparency.

2014-03-15 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Closing due to 3rd party limitation, much as I wish it were not so.

--
resolution:  - 3rd party
stage: test needed - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20920
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20937] test_socket: buffer overflow in sock_recvmsg_guts

2014-03-15 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +giampaolo.rodola, neologix, pitrou
versions: +Python 3.3, Python 3.4 -Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20937
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20900] distutils register command should print text, not bytes repr

2014-03-15 Thread Éric Araujo

Éric Araujo added the comment:

Thank you, the patch looks excellent.  I’ll apply it in a day or two.

--
assignee:  - eric.araujo
stage: needs patch - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20900
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Support building Python with Clang sanitizer rules

2014-03-15 Thread Benjamin Peterson

Benjamin Peterson added the comment:

Just use LDFLAGS.

--
nosy: +benjamin.peterson

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Support building Python with Clang sanitizer rules

2014-03-15 Thread Jeffrey Walton

Jeffrey Walton added the comment:

On Sat, Mar 15, 2014 at 6:34 PM, Benjamin Peterson
rep...@bugs.python.org wrote:

 Benjamin Peterson added the comment:

 Just use LDFLAGS.
Yeah, I tried that and broke the sanitizer:
https://groups.google.com/d/msg/address-sanitizer/cu2WoD1Bwx8/zUoY9GH7oHkJ.

The other fallback is to stuff it into CC and CXX. But that breaks
some autotool projects. (Python is OK, though).

Jeff

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Support building Python with Clang sanitizer rules

2014-03-15 Thread Benjamin Peterson

Benjamin Peterson added the comment:

CFLAGS=-g3 -fsanitize=address LDFLAGS=-fsanitize=address ./configure 
--with-system-expat  make -j4

works for me.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20265] Bring Windows docs up to date

2014-03-15 Thread Kathleen Weaver

Kathleen Weaver added the comment:

I've gone through everything and cleaned things up per zach.ware review.

--
Added file: http://bugs.python.org/file34437/kweaver.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20265
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20935] Support building Python with Clang sanitizer rules

2014-03-15 Thread Jeffrey Walton

Jeffrey Walton added the comment:

On Sat, Mar 15, 2014 at 7:11 PM, Benjamin Peterson
rep...@bugs.python.org wrote:

 Benjamin Peterson added the comment:

 CFLAGS=-g3 -fsanitize=address LDFLAGS=-fsanitize=address ./configure 
 --with-system-expat  make -j4

 works for me.
Oh,my bad. I thought you meant add the libraries like
libclang_rt.asan_osx.a to the flags.

Jeff

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19690] test_logging test_race failed with PermissionError

2014-03-15 Thread Ned Deily

Ned Deily added the comment:

I've just seen another instance of this failure, this time using a 3.4.0 
release test OS X installer build (non-debug, built on and running on OS X 
10.5).  The added diagnostics show up:

[186/389/1] test_logging
Deleted at 1394930826.466016, opened at 1394930826.456779
test test_logging failed -- Traceback (most recent call last):
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/test/test_logging.py,
 line 618, in test_race
h.handle(r)
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/logging/__init__.py,
 line 837, in handle
self.emit(record)
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/logging/handlers.py,
 line 468, in emit
self.stream = self._open()
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/logging/__init__.py,
 line 1007, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 1] Operation not permitted: 
'/tmp/test_logging-3-92xfhrsa.log'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/test/test_logging.py,
 line 626, in test_race
h.close()
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/logging/__init__.py,
 line 992, in close
self.flush()
  File 
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/logging/__init__.py,
 line 939, in flush
self.stream.flush()
ValueError: I/O operation on closed file.

--
resolution: works for me - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19690
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16665] doc for builtin hex() is poor

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 464c22bf9fe1 by Antoine Pitrou in branch '3.3':
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.
http://hg.python.org/cpython/rev/464c22bf9fe1

New changeset d14beaf03f55 by Antoine Pitrou in branch '2.7':
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.
http://hg.python.org/cpython/rev/d14beaf03f55

New changeset c267f4eb8173 by Antoine Pitrou in branch 'default':
Close #16665: improve documentation for hex().  Patch by Jessica McKellar.
http://hg.python.org/cpython/rev/c267f4eb8173

--
nosy: +python-dev
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16665] doc for builtin hex() is poor

2014-03-15 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Jessica doesn't have commit rights, so I committed this myself.
Also added an example of the funny hex(long) behaviour in Python 2.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20926] Devguide: Enhance Quick Start portion of instructions for Windows

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a775fe9e7f86 by Antoine Pitrou in branch 'default':
Issue #20926: Enhance Quick Start portion of instructions for Windows.  Patch 
by Kathleen Weaver.
http://hg.python.org/devguide/rev/a775fe9e7f86

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20926
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20926] Devguide: Enhance Quick Start portion of instructions for Windows

2014-03-15 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Ok, I've committed the patch. Thank you!

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20926
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17110] sys.argv docs should explaining how to handle encoding issues

2014-03-15 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 There was no unicode encode error generated! Is it because the problem 
 is fixed?

No, it's not fixed.
First, it seems you are testing with Python 2 (otherwise you would get 
b'bytes', not bytes). Python 2 won't have a problem here, since it treats 
everything as bytestrings.
Second, to evidence the issue you must pass a non-ASCII string. For example:

$ ./python a.py `echo éléphant|iconv -t latin1`
Traceback (most recent call last):
  File a.py, line 4, in module
print(sys.argv[1])
UnicodeEncodeError: 'utf-8' codec can't encode character '\udce9' in position 
0: surrogates not allowed

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17110
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Nick Coghlan

Nick Coghlan added the comment:

Rereading that section (it has currently been adjusted to say New Features), 
I suggest:

- consistently using sentence case for those list headings
- tweaking that particular heading to say Other new features: (to contrast 
with the New syntax features: heading just above)
- losing the scare quotes from 'pip should always be available' (being a 
distro package install away counts as available in my book)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

RDM's checkin ( 21ecc3d52806 ) renamed the subheading of Summary -- Release 
Highlights from New Expected Features for Python Implementations to New 
features.  But there's still a major heading with that title.  Surely we want 
to rename that one too?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

I propose to check this in.

--
keywords: +patch
Added file: 
http://bugs.python.org/file34438/larry.remove.other.instance.of.clumsy.wording.1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Ned Deily

Ned Deily added the comment:

LGTM

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3488a9fbe09e by Larry Hastings in branch 'default':
Issue #20931: Fix other confusingly-worded heading.
http://hg.python.org/cpython/rev/3488a9fbe09e

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20931] Confusing section title New Expected Features for Python Implementations in 3.4 What's New doc

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7e78e602ec73 by R David Murray in branch 'default':
whatsnew: Fix Features section title, use title/sentence case consistently.
http://hg.python.org/cpython/rev/7e78e602ec73

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20909] 3.4 cherry pick: d22ef969cb82 f5be4ea5b43e 25dc02a2acae new distribution installation guides

2014-03-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 74144b0e7858 by Nick Coghlan in branch 'default':
Bring PEP 453 What's New entry up to date
http://hg.python.org/cpython/rev/74144b0e7858

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20909
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20909] 3.4 cherry pick: d22ef969cb82 f5be4ea5b43e 25dc02a2acae new distribution installation guides

2014-03-15 Thread Nick Coghlan

Nick Coghlan added the comment:

Reviewing the changes for issue 20931, I noticed that I hadn't been keeping the 
PEP 453 What's New entry up to date with the changes during the beta/release 
candidate cycle.

There's probably still too much technical detail in the updated version that 
makes the situation sound more confusing that it really is, but it at least 
qualifies as not wrong now.

--
nosy: +ned.deily, r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20909
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18478] Class bodies: when does a name become local?

2014-03-15 Thread Nitika Agarwal

Nitika Agarwal added the comment:

Hey.
I am working on this patch.

--
nosy: +nitika

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18478
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4744] asynchat documentation needs to be more precise

2014-03-15 Thread Nitika Agarwal

Nitika Agarwal added the comment:

Hi,
I would like to propose a patch for this issue.

--
nosy: +nitika

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4744
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16927] Separate built-in types from functions and group similar functions in functions.rst

2014-03-15 Thread Nitika Agarwal

Nitika Agarwal added the comment:

Hello everyone,
I am working on this issue to create a patch

--
nosy: +nitika

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16927
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18854] is_multipart and walk should document their treatment of 'message' parts.

2014-03-15 Thread Nitika Agarwal

Nitika Agarwal added the comment:

Hello everyone,
I am working on this issue to create a patch.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18854
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20909] 3.4 cherry pick: d22ef969cb82 f5be4ea5b43e 25dc02a2acae new distribution installation guides

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

ok.  actually pulling all the docs from default into 3.4.

--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20909
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18257] Two copies of python-config

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

Can I mark this closed?  I'm tagging 3.4.0 final soon.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18257
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16245] Update html.entities.html5 dictionary and parseentities.py

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

Was this done?  I'm tagging 3.4.0 final soon.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16245
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20379] help(instance_of_builtin_class.method) does not display self

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

Fixed in b2ee3fe195e2.

--
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20379
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16123] IDLE - deprecate running without a subprocess

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

If the 3.4 changes are done, can we either close this or remove 3.4 from the 
versions?

--
nosy: +larry

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16123
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-15 Thread Larry Hastings

Larry Hastings added the comment:

So is this fixed?  Can we close the issue?  I'm tagging 3.4.0 final soon.

--
nosy: +larry

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20884
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-15 Thread Nick Coghlan

Nick Coghlan added the comment:

Status update:

- Brett added the porting note to What's New for 3.4.0 final.

- the fact importlib.__init__ can't currently be frozen due to the incidental 
use of __file__ is now just a bug to be fixed in 0.4.1, and fixing that will be 
the trigger for closing this issue.

- I'll file a separate bug about _frozen_importlib.__file__ being set 
erroneously.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20884
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20942] _frozen_importlib should not have a __file__ attribute

2014-03-15 Thread Nick Coghlan

New submission from Nick Coghlan:

As part of the PEP 451 changes, frozen imports were updated to avoid setting 
the __file__ attribute, as that attribute makes no sense for frozen modules.

However, _frozen_importlib isn't loaded through the normal mechanisms (they 
don't exist yet!), so it is still getting a __file__ attribute set. (This was 
discovered while investigating issue 20884)

This is a fairly harmless state of affairs, so I suggest we leave it alone in 
the 3.4 maintenance releases, and just tidy it up in 3.5. However, I'm also 
open to fixing it in 3.4.1.

--
components: Interpreter Core
messages: 213719
nosy: brett.cannon, eric.snow, ncoghlan
priority: normal
severity: normal
stage: test needed
status: open
title: _frozen_importlib should not have a __file__ attribute
type: behavior
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20942
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com