Francisco Couzo added the comment:
I just made the pull request, I totally forgot I mentioned I was going to work
on this, sorry!
--
___
Python tracker
<https://bugs.python.org/issue21
Change by Francisco Couzo :
--
pull_requests: +12602
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue21879>
___
___
Python-
Francisco Couzo added the comment:
I'm preparing the PR myself
--
___
Python tracker
<https://bugs.python.org/issue21879>
___
___
Python-bugs-list mailin
Francisco Couzo added the comment:
I think removing None as a valid predicate to filterfalse would make the API
simpler, but I don't know if it's worth the API change, please do close the
issue if you think it's not worth it.
--
___
Python tracker
New submission from Francisco Couzo:
As per Terry's recommendation
https://mail.python.org/pipermail/python-dev/2016-November/146791.html
Currently some functions in itertools (dropwhile and takewhile), don't accept
None as a predicate, but filterfalse and groupby do.
I'd like your input
New submission from Francisco Couzo:
Most functions in the math library raise an OverflowError when the arguments
are finite but the result is not.
>>> math.exp(sys.float_info.max)
Traceback (most recent call last):
File "", line 1, in
OverflowError: math range erro
Changes by Francisco Couzo <francisco...@gmail.com>:
Added file: http://bugs.python.org/file45144/random_sample2.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Changes by Francisco Couzo <francisco...@gmail.com>:
--
components: Tests
files: test_random.patch
keywords: patch
nosy: franciscouzo
priority: normal
severity: normal
status: open
title: Remove redundant definition of factorial on test_random
Added file: http://bugs.pyth
New submission from Francisco Couzo:
Improved a bit the error message when k < 0, and also added a comment about it
on the documentation and an additional test case.
--
assignee: docs@python
components: Documentation, Library (Lib), Tests
files: random_sample.patch
keywords: pa
Changes by Francisco Couzo <francisco...@gmail.com>:
Removed file: http://bugs.python.org/file44707/autogenerated_whitespace.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Francisco Couzo added the comment:
I'm closing this issue since I've created new issues for each case, please
refer to #28184, #28185, and #28186.
--
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<http://bug
Changes by Francisco Couzo <francisco...@gmail.com>:
Added file: http://bugs.python.org/file44709/autogenerated_whitespace2.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
New submission from Francisco Couzo:
Fix some auto generated whitespace issues (tabs and trailing whitespace)
--
files: autogenerated_whitespace.patch
keywords: patch
messages: 276774
nosy: franciscouzo
priority: normal
severity: normal
status: open
title: Autogenerated tabs / trailing
Changes by Francisco Couzo <francisco...@gmail.com>:
Added file: http://bugs.python.org/file44706/trailing_whitespace2.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Changes by Francisco Couzo <francisco...@gmail.com>:
Added file: http://bugs.python.org/file44704/tabs_h.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Changes by Francisco Couzo <francisco...@gmail.com>:
Removed file: http://bugs.python.org/file44703/tabs_h.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Changes by Francisco Couzo <francisco...@gmail.com>:
--
versions: +Python 3.7
Added file: http://bugs.python.org/file44703/tabs_h.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
New submission from Francisco Couzo:
Files I didn't change: Python/dup2.c, Python/strdup.c (Since they are external
dependencies)
--
files: tabs_c.patch
keywords: patch
messages: 276762
nosy: franciscouzo, josh.r, mark.dickinson, martin.panter, r.david.murray,
terry.reedy
priority
New submission from Francisco Couzo:
As per Terry's recommendations (#28145), I'm going to open a new issue for each
case.
--
files: trailing_whitespace.patch
keywords: patch
messages: 276761
nosy: franciscouzo, josh.r, mark.dickinson, martin.panter, r.david.murray,
terry.reedy
New submission from Francisco Couzo:
Steps to reproduce:
make distclean
LDFLAGS="-lasan -lubsan" CFLAGS="-fsanitize=address -fsanitize=undefined"
./configure
ASAN_OPTIONS="detect_leaks=0" make
UBSAN_OPTIONS=print_stacktrace=1
ASAN_OPTIONS="allocator_may_ret
Francisco Couzo added the comment:
I can confirm this bug is also present in 3.7
--
nosy: +franciscouzo
versions: +Python 3.7
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
New submission from Francisco Couzo:
I changed most of the tabs in the source code to spaces, and removed trailing
whitespace.
I also made some scripts that generate code use spaces and not generate
trailing whitespace. (makesetup and makeunicodedata.py)
I fixed a typo in Modules/makesetup
Changes by Francisco Couzo <francisco...@gmail.com>:
Added file: http://bugs.python.org/file44652/scripts_google_v4.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
New submission from Francisco Couzo:
Fixed the warnings that appear when compiling 2.7 with -Wmisleading-indentation
(Included in -Wall since GCC 6).
Kinda related, though I don't think there would be too much interest in fixing
it (all the tabs in Python's C source):
$ find . -name '*.c
Changes by Francisco Couzo <francisco...@gmail.com>:
--
nosy: +franciscouzo
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21879>
___
Changes by Francisco Couzo <francisco...@gmail.com>:
--
keywords: +patch
Added file: http://bugs.python.org/file44490/format.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
New submission from Francisco Couzo:
I added some tests for the math module.
--
components: Tests
files: test_math.patch
keywords: patch
messages: 269632
nosy: franciscouzo
priority: normal
severity: normal
status: open
title: Math tests
versions: Python 3.6
Added file: http
Francisco Couzo added the comment:
Here's the patch with the modifications from the review.
--
Added file: http://bugs.python.org/file42657/scripts_google_v2.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Francisco Couzo added the comment:
I was also going to refactor the other demo scripts, but first I wanted to make
sure there was at least some kind of interest in it.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Changes by Francisco Couzo <francisco...@gmail.com>:
--
files: scripts_google.patch
keywords: patch
nosy: franciscouzo
priority: normal
severity: normal
status: open
title: Refactor Tools/scripts/google.py
type: enhancement
versions: Python 3.6
Added file: http://bugs.pyth
30 matches
Mail list logo