index
:
delta/cpython-git.git
2.7
3.10
3.11
3.4
3.5
3.6
3.7
3.7-readme-update
3.8
3.9
Mariatta-patch-1
Mariatta-patch-2
alex-patch-1
ast-new-type-comment-null-check
backport-0613c1e-3.7
backport-10654c1-3.7
backport-109d966-3.9
backport-24bcefc-3.6
backport-24bcefc-3.7
backport-24bcefc-3.8
backport-24bd50b-2.7
backport-24bd50b-3.6
backport-283f9a2-3.6
backport-51c3e28-3.10
backport-51c3e28-3.8
backport-52d1b86-3.6
backport-52f9842-3.9
backport-5a88d50-3.8
backport-5a8d121-3.5
backport-5bdab64-3.7
backport-6ec0dec-3.9
backport-704e2d3-2.7
backport-731ff68-3.6
backport-73d6002-3.7
backport-74ae50e-2.7
backport-74ae50e-3.7
backport-76b5d71-3.9
backport-8acd0e0-3.9
backport-8ed6503-3.8
backport-916610e-3.6
backport-916610e-3.7
backport-95da310-3.8
backport-adf24bd-3.8
backport-adf24bd-3.9
backport-cd16661-2.7
backport-eeab510-2.7
backport-eeab510-3.6
backport-eeab510-3.7
backport-f7955a8-3.10
backport-f7955a8-3.9
backport-ff023ed-3.8
benjamin-eval-loop-edit
benjamin-expat-2.2.6
benjamin-external-zip
benjamin-interp-initialize
benjamin-keyword-restriction
benjamin-musl-z-workaround
benjamin-pickle-overflow
benjamin-prlimit-permission-test
benjamin-pyapi
benjamin-tanh-zero
benjamin-traceback-obo
berkerpeksag-update-codeowners
bind-socket
bpo-37741-importlib-metadata-docs-visible
bpo-39107
bpo-39235-genexp-endloc
bpo-41855-backport-fix
bpo-42057
bpo-43428/importlib-metadata-3.7
bpo-43569/man-as-machine
bpo-43780/importlib_metadata-3.10
bpo-43856/importlib-metadata-new
bpo-43926/importlib-metadata-4
bpo-45419
bpo-45514/deprecate-importlib-resources-legacy
bpo-45765/metadata-distribution-empty-path
bpo-46118/resources-package
bpo-46124/zoneinfo-resources
bpo-46125/importlib-resources-test-traversable
bpo-46126/bad-error-message
bpo-46425/restore-simple-importlib-tests
bpo-46474/entrypoint-regex
bpo-46474/entrypoint-regex-fix
branch-v3.10.0
branch-v3.9.0
bugfix/16396-linux-wintypes-importable
buildbot-custom
cjw296-patch-1
constant-kind
datetime_backport_test
dependabot/github_actions/actions/cache-2.1.7
dependabot/github_actions/actions/cache-v2.1.3
dependabot/github_actions/actions/cache-v2.1.4
dependabot/github_actions/actions/cache-v2.1.5
dependabot/github_actions/actions/upload-artifact-2.3.1
dependabot/github_actions/actions/upload-artifact-v2.2.1
dependabot/github_actions/actions/upload-artifact-v2.2.2
dependabot/github_actions/actions/upload-artifact-v2.2.3
descr-howto-feedback
enum-lost-fixes
enum-private-310
ethanfurman-acks
faster-bytes-iter
feature-version
feature/42129-resources-namespace-packages
feature/putrequest-hooks
fedora-2.7
find_module-deprecation-windows
fix-cf-feature-versiob
fix-cf-feature-version
fix-cf-feature-version-38
fix-cf-feature-version-39
fix-misc-acks
fix-misc-acks-38
fix-misc-acks-sort
fix-namedexpr-comment
fix-req-type
fix-segfaults
fix-time_ns-link
fix-tok-type-comments-flag
fix-traceback-syntax-error
fixup-bpo-34003
importlib_metadata-3.3
main
master
misc-acks-comment
mp-manager-tests
ncoghlan-bpo-33499-whats-new
ncoghlan-clarify-U-mode-deprecation
ncoghlan-fix-versionchanged-note
ncoghlan-whatsnew-38-placeholder-notes
orphaned-comment
pep572
pipelines-badge-3.6
pipelines-readme-3.7
pr_18370
pr_27789
pr_4170
print-statement
readme-update
refactor-lambda-parameters
revert-10245-msix
revert-10341-patch-7
revert-11293-bpo35565
revert-11318-fast-enum
revert-11341-bpo35603
revert-11477-backport-cbb1645-3.6
revert-11482-backport-cbb1645-2.7
revert-13569-undo-ea2b76bdc5f97f49701213d105b8ec2387ea2fa5
revert-13599-codeowner
revert-13893-fix-issue-37193
revert-14522-remove_unused_imports37
revert-15687-backport-87bd207-3.7
revert-15895-named_tuple_concept
revert-16839-backport-5a88d50-3.8
revert-17659-utf8-buffer
revert-17774-issue27973-win-fix
revert-19108-remove-cElementTree
revert-22049-bpo-1635741-signalmodule
revert-22513-update_test_codecs
revert-22997-tempfile-overhead
revert-23107-revert-13893-fix-issue-37193
revert-23398-bpo-1635741-struct
revert-23827-backport-dcc997c-3.9
revert-23828-backport-dcc997c-3.8
revert-23917-enum-prepare_kwds
revert-24821-fix/bigint_freelist
revert-25103-binary-locale
revert-25134-regen_stable_abi
revert-28650-revert-28615-test-datetime-discover
revert-28660-revert-gh28645
revert-29124-bpo-44019
revert-30472-issue-46301
revert-6121-is_integer
revert-7960-backport-2cc9d21-3.7
revert-9703-master
soft-keywords
suspcious
sync-39-whatsnew
travis-3.5
travis-3.6
travis-macOS
type-comments
unixdeepfreeze
v3.8.4
whatsnew-617
windeepfreeze
zhangyangyu-patch-1
zooba-patch-1
github.com: python/cpython.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Modules
/
_collectionsmodule.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Issue #25523: Further a-to-an corrections new in 3.5
Martin Panter
2015-11-02
1
-1
/
+1
*
Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6
Raymond Hettinger
2015-10-06
1
-1
/
+5
*
Issue #25135: Avoid possible reentrancy issues in deque_clear.
Raymond Hettinger
2015-09-26
1
-3
/
+59
*
Prevent reentrant badness by deferring the decrefs as long as possible.
Raymond Hettinger
2015-09-05
1
-6
/
+10
*
Issue #24913: Fix overrun error in deque.index().
Raymond Hettinger
2015-08-26
1
-0
/
+2
*
merge
Raymond Hettinger
2015-07-20
1
-1
/
+1
|
\
|
*
Issue #19663: Improve error message for defaultdict.
Raymond Hettinger
2015-07-20
1
-1
/
+1
|
*
Defer deleted item decref until after the deque is restored to a consistent s...
Raymond Hettinger
2015-05-02
1
-6
/
+6
*
|
Issue #16991: Add a C implementation of collections.OrderedDict.
Eric Snow
2015-05-29
1
-0
/
+3
*
|
fix refleak in deque_concat
Benjamin Peterson
2015-04-04
1
-2
/
+8
*
|
Issue 23793: Add deque support for __add__(), __mul__(), and __imul__().
Raymond Hettinger
2015-03-31
1
-10
/
+123
*
|
Fix typo
Raymond Hettinger
2015-03-24
1
-1
/
+1
*
|
Minor code and comment cleanups.
Raymond Hettinger
2015-03-24
1
-21
/
+18
*
|
Improve and fix-up comments.
Raymond Hettinger
2015-03-24
1
-25
/
+46
*
|
Issue 23744: Minor speed-up for deque.__bool__().
Raymond Hettinger
2015-03-23
1
-1
/
+24
*
|
Minor nit. Make the rotate() success/fail tests consistent.
Raymond Hettinger
2015-03-21
1
-3
/
+3
*
|
For safety, wait to decref deleted values until the deque state has been rest...
Raymond Hettinger
2015-03-21
1
-4
/
+4
*
|
Fix minor formatting nits and remove unnecessary comment.
Raymond Hettinger
2015-03-21
1
-4
/
+3
*
|
Issue 23704: Add index(), copy(), and insert() to deques. Register deques a...
Raymond Hettinger
2015-03-21
1
-0
/
+91
*
|
Issue 23705: Improve the performance of __contains__ checks for deques.
Raymond Hettinger
2015-03-20
1
-1
/
+33
*
|
Minor neatening-up. Make assignments in same order a struct fields. Line-up...
Raymond Hettinger
2015-03-02
1
-12
/
+12
*
|
Switch the state variable to unsigned for defined wrap-around behavior.
Raymond Hettinger
2015-03-02
1
-3
/
+3
*
|
Minor beautification. Move struct definitions to the top. Fix-up a comment.
Raymond Hettinger
2015-03-02
1
-15
/
+15
*
|
Minor code beautification. Replace macro with in-lineable functions.
Raymond Hettinger
2015-03-02
1
-20
/
+35
*
|
Beautify and better document the use of the size_t cast for bounds checking.
Raymond Hettinger
2015-03-02
1
-6
/
+12
*
|
Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic.
Raymond Hettinger
2015-03-01
1
-2
/
+2
*
|
Need a (size_t) cast instead of (unsigned) to be big enough for a Py_ssize_t.
Raymond Hettinger
2015-02-28
1
-6
/
+12
*
|
Use unsigned division and modulo for item assignment as well.
Raymond Hettinger
2015-02-28
1
-4
/
+5
*
|
Convert one more division to unsigned arithmetic to speed-up deque_item().
Raymond Hettinger
2015-02-28
1
-1
/
+3
*
|
Line missed in last checkin
Raymond Hettinger
2015-02-27
1
-1
/
+0
*
|
Since the index is always non-negative, use faster unsigned division and modulo.
Raymond Hettinger
2015-02-27
1
-3
/
+5
*
|
Bump the blocksize up from 62 to 64 to speed up the modulo calculation.
Raymond Hettinger
2015-02-26
1
-6
/
+3
*
|
Update copyright.
Raymond Hettinger
2015-02-10
1
-1
/
+1
*
|
Optimization guides suggest copying memory in an ascending direction when pos...
Raymond Hettinger
2015-02-01
1
-3
/
+3
*
|
Add comment and make minor code clean-up to improve clarity.
Raymond Hettinger
2014-05-18
1
-3
/
+13
*
|
Issue #21101: Eliminate double hashing in the C code for collections.Counter().
Raymond Hettinger
2014-05-03
1
-3
/
+14
*
|
Add implementation notes
Raymond Hettinger
2014-04-23
1
-1
/
+32
|
/
*
merge 3.3 (#20250)
Benjamin Peterson
2014-01-13
1
-1
/
+3
|
\
|
*
correct defaultdict signature in docstring (closes #20250)
Benjamin Peterson
2014-01-13
1
-1
/
+3
*
|
Issue #19512: _count_elements() of _collections reuses PyId_get identifier
Victor Stinner
2013-11-06
1
-1
/
+1
*
|
merge
Raymond Hettinger
2013-10-04
1
-14
/
+15
|
\
\
|
|
/
|
*
Issue #18594: Make the C code more closely match the pure python code.
Raymond Hettinger
2013-10-04
1
-14
/
+15
*
|
merge
Raymond Hettinger
2013-10-01
1
-18
/
+23
|
\
\
|
|
/
|
*
Issue #18594: Fix the fallback path in collections.Counter().
Raymond Hettinger
2013-10-01
1
-18
/
+23
*
|
merge
Raymond Hettinger
2013-10-01
1
-1
/
+15
|
\
\
|
|
/
|
*
Issue #18594: Fix the fast path for collections.Counter().
Raymond Hettinger
2013-10-01
1
-1
/
+15
|
*
Backport deque.rotate() improvements.
Raymond Hettinger
2013-02-09
1
-19
/
+73
*
|
Restore the data block size to 62.
Raymond Hettinger
2013-07-28
1
-3
/
+6
*
|
Assertions key off NDEBUG
Raymond Hettinger
2013-07-26
1
-1
/
+1
*
|
Minor code simplification by eliminating an unnecessary temporary variable.
Raymond Hettinger
2013-07-21
1
-12
/
+6
[next]